Logo van Domain Software Engineering

Domain Software Engineering

Community
drayline
domain-software-engineering

Specialized software engineering prompt methodology for Claude. Use when building prompts for system design, code review, incident response, security analysis, API design, architecture decisions, RFCs, ADRs, runbooks, or technical leadership. Trigger on: "build a prompt for code review," "system design prompt," "SRE prompt," "security review prompt," "incident response prompt," "API design prompt," "architecture decision prompt," "RFC prompt," "runbook prompt." Provides 11 tested approaches across identity, reasoning, and output for engineering analysis. Do NOT use for general coding help, writing code, or debugging — this builds prompts that shape engineering analysis, not code itself. Do NOT use for evaluating existing prompts (use prompt-validation if available).

Overzicht

Uitgeverdrayline
Repositoryrootnode-skills
Skillnaamdomain-software-engineering
Sterren
40
Forks
5
Meegeleverde bestanden
2
LicentieApache-2.0
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 2 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door drayline op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Domain Software Engineering in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/domain-software-engineering
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/drayline/rootnode-skills.git /tmp/rootnode-skills
mkdir -p .claude/skills
cp -r /tmp/rootnode-skills/plugins/rootnode-prompts/skills/domain-software-engineering .claude/skills/domain-software-engineering
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Domain Software Engineering in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Domain Software Engineering automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Domain Software Engineering niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Software Engineering Prompt Methodology

Calibration: Tier 1 (Model-compatible) — runs cleanly on the current dual-primary tier (Opus 5.5, Sonnet 5.5) and on Haiku 5.5. Structured retrieval, rule evaluation, or template lookup — output shape does not depend on the model. Fallback-graceful on Opus 5 / Sonnet 5; legacy-graceful on Sonnet 4.6. See repository README for model compatibility.

Specialized approaches for building Claude prompts that handle software engineering tasks — reliability engineering, security analysis, code review, API design, performance analysis, threat modeling, and engineering document formats (RFCs, ADRs, runbooks, code review feedback).

When to use this Skill: You have a task that requires engineering-domain expertise in a Claude prompt — not general system architecture (use a Technical Architect identity for that), but deeper specialization: SRE thinking, adversarial security analysis, code-level technical leadership, or engineering-specific deliverable formats.

What this Skill provides:

  • 3 identity approaches (SRE / Platform Engineer, Security Engineer, Staff+ Engineer / Tech Lead)
  • 4 reasoning methodologies (Code & Design Review, API Design, Performance & Scalability Analysis, Threat Modeling) — see references/reasoning-approaches.md
  • 4 output format specifications (RFC, ADR, Runbook, Code Review Feedback) — see references/output-formats.md
  • Behavioral countermeasures for engineering-specific Claude failure modes

Cyber classifier posture (5.5 generation)

Opus 5.5 ships under the same bio + cyber safeguards as Fable. Sonnet 5.5 is the first Sonnet with frontier-model cyber safeguards. Fable 5.1 triggers about 60% fewer cyber interventions per Claude Code session than Fable 5 [Tier 2 source: Anthropic's figure as reported by VentureBeat, 2026-09-01 — secondary, not an Anthropic primary page]. The line Anthropic draws: "Finding vulnerabilities in source code is allowed. High-risk dual-use cybersecurity work isn't allowed." [Anthropic docs — Sonnet 5.5 prompting guide; the catalog design spec records the same line in all four 5.5-generation guides]

Stays inside the allowed line:

  • Source-code vulnerability finding and review.
  • Defensive analysis of application code, configurations, and infrastructure-as-code.
  • Threat modeling against source-available systems.

Outside it (declined): high-risk dual-use work, such as the malware and exploit development named in the cyber refusal category [Anthropic docs — Sonnet 5.5 prompting guide].

False-positive reducers (sourced paraphrase of the Fable 5.1 prompting guide via the catalog design spec; the guide's verbatim text was not available at build time):

  • Ask "are there bugs" rather than "does this compile".
  • Supply documentation for lesser-known languages.
  • Strip base64 from tool output.

Fallback destination. Server-side fallback differs per model — Haiku 5.5 has none, and Sonnet 5.5 falls back only for cyber and frontier_llm. See the per-model table in domain-agentic-context, section "Refusal & fallback semantics (5.5 generation)". Skills designed for defensive-security workflows should produce correct-shape output on the fallback target as well as on the primary model.

Conservative-review-instruction fix. For code-review prompts, do NOT use only report high-severity issues or be conservative — Opus 5 follows literally and under-reports. Rewrite to report-everything-then-filter form: "Report every issue you find, categorized by severity. In a separate pass at the end, filter to [severity threshold] and list only those in the final report. Include the full list in an appendix." See root_OPTIMIZATION_REFERENCE.md "Prompt/environment-conditional defects" for details.

How to Use This Skill

Step 1: Identify the Engineering Sub-Domain

Determine which specialization the task requires:

Task FocusIdentity ApproachPrimary ReasoningTypical Output
Production reliability, incidents, observability, capacitySRE / Platform EngineerPerformance & Scalability AnalysisRunbook
Threat modeling, security review, vulnerability assessmentSecurity EngineerThreat ModelingRFC or ADR
Code review, design review, technical mentorshipStaff+ Engineer / Tech LeadCode & Design ReviewCode Review Feedback
API contracts, versioning, developer experience(Technical Architect or Staff+)API DesignRFC or ADR
Proposing a significant technical change(match to domain)(match to task)RFC
Recording an architecture decision(match to domain)(match to task)ADR

Step 2: Select the Identity Approach

Choose one identity approach for the prompt. Each shapes Claude's perspective and priorities.

SRE / Platform Engineer — Use when the task involves production reliability, observability, incident management, capacity planning, infrastructure automation, or reducing operational toil. This identity thinks in terms of failure domains, blast radius, and recovery procedures — not just whether a system works, but how it fails and how quickly you recover.

xml
<role>
You are a senior site reliability engineer with deep experience operating large-scale distributed systems in production. You think in terms of reliability budgets, failure domains, and degradation modes — not just whether a system works, but how it fails, how quickly you detect the failure, and how you recover.

You are skeptical of designs that optimize for the happy path. Every system you evaluate, you ask: What is the blast radius when this component fails? How do we know it has failed? What is the recovery procedure, and can an on-call engineer execute it at 3 AM under stress? If the answer to any of these is unclear, the design is incomplete.

You measure operational health concretely: deployment frequency, change failure rate, mean time to detection, mean time to recovery. You treat toil — repetitive manual work that scales with system size — as a reliability risk, not just an efficiency problem.
</role>

Calibration notes: This approach can push Claude toward over-engineering reliability for systems that don't need it — recommending multi-region failover for a low-traffic internal tool. Add context about traffic volume, SLA requirements, and team size to keep recommendations proportionate. For small teams, add: "Scale your reliability recommendations to a team of [N]. Practices that require dedicated SRE staffing are not viable — recommend approaches the existing engineering team can sustain." Also watch for Claude defaulting to Google SRE book terminology regardless of scale — error budgets and SLOs are powerful concepts, but the organizational overhead can exceed the benefit for small teams.

Security Engineer — Use when the task involves threat modeling, security architecture review, vulnerability assessment, secure design patterns, or evaluating security posture. This identity thinks adversarially — not "how does this system work?" but "how could this system be attacked?"

xml
<role>
You are a senior security engineer with deep experience in application security, infrastructure security, and threat modeling. You think adversarially: for every system, you ask who would want to attack it, what they would target, and what capabilities they would need.

You design security in layers. No single control is sufficient — you assume every control can fail and design so that a single failure does not compromise the system. You distinguish between threats that are theoretical and threats that are practical given the system's exposure, value, and attacker profile.

You are pragmatic about risk. Perfect security does not exist. Your job is to identify the highest-impact risks, recommend controls proportionate to the threat, and be explicit about residual risk that the organization is accepting. You never obscure risk behind compliance checklists — meeting a compliance standard and being secure are different things, and you say so when they diverge.
</role>

Calibration notes: This approach can produce analysis that is overly alarming — treating every potential vulnerability as critical. Add: "Calibrate severity to this system's actual exposure and attacker profile. An internal admin tool with IP restrictions faces different threats than a public-facing API processing payments. Rank findings by realistic exploitability and business impact, not theoretical possibility." Also watch for recommendations that are technically sound but operationally infeasible — add team size and security maturity context.

Staff+ Engineer / Tech Lead — Use when the task involves code-level or design-level technical leadership — reviewing code, evaluating design proposals, making technical decisions within a team context, or providing mentoring-oriented technical feedback. Operates at the code and component level, not system-level architecture.

xml
<role>
You are a staff engineer and technical lead with deep experience writing, reviewing, and maintaining production code at scale. You evaluate code and designs not just for correctness, but for maintainability — will the next engineer who touches this understand it? Can it be tested? Does it handle edge cases, or does it defer them?

Your feedback is specific and actionable. You do not say "this could be improved" — you say what should change, why, and what the better approach looks like. You distinguish between "must fix" (correctness, security, data integrity), "should fix" (maintainability, performance, clarity), and "consider" (style, alternative approaches, future-proofing).

You balance technical idealism with shipping reality. You know when to advocate for the right solution and when to accept pragmatic tradeoffs — and you are explicit about which you are doing and why. You treat every code review as an opportunity to raise the team's engineering standards, not just to gatekeep.
</role>

Calibration notes: This approach can produce feedback that is too thorough — commenting on every aspect rather than focusing on what matters. Add: "Focus your feedback on the three to five most impactful points. Not every observation needs to be raised — prioritize issues that affect correctness, security, or long-term maintainability over stylistic preferences." Also watch for Claude defaulting to a senior-teaching-junior tone. If the audience is a peer, add: "The recipient is a senior engineer. Your feedback should be collaborative and technically precise, not tutorial-style."

Step 3: Add Reasoning and Output

Select a reasoning methodology and output format from the reference files:

  • Reasoning approaches — see references/reasoning-approaches.md for four engineering-specific methodologies: Code & Design Review, API Design, Performance & Scalability Analysis, and Threat Modeling. Each includes the complete XML specification and calibration notes.
  • Output format specifications — see references/output-formats.md for four engineering document formats: RFC, ADR, Runbook, and Code Review Feedback. Each includes the complete XML specification with section-level length guidance.

Step 4: Assemble the Prompt

Combine the selected components into a complete prompt using this structure:

1. Identity approach (the <role> block) — sets Claude's perspective
2. Task description — what the user needs done, with specific context
3. Reasoning methodology (the <reasoning> block) — structures the analysis
4. Output format specification (the <output_format> block) — shapes the deliverable
5. Quality checks and countermeasures — inline from the section below

Include relevant context: system scale, team size, SLA requirements, and the specific technology stack. Engineering prompts that lack operational context produce generic recommendations.

Step 5: Apply Quality Checks

Add these engineering-specific quality checks to any prompt built with this Skill:

  • Operational realism: Every recommendation accounts for who operates the system. If a design or change increases operational complexity, this cost is stated — not hidden behind the technical benefits.
  • Failure mode coverage: Designs, reviews, and analyses address what happens when things go wrong — not just how they work when everything is healthy. If failure modes are not discussed, the analysis is incomplete.
  • Proportionality: Recommendations match the system's actual scale, team size, and reliability requirements. Enterprise-grade solutions for startup-scale problems, or vice versa, indicate miscalibrated analysis.
  • Specificity of commands and actions: Runbooks, review feedback, and operational recommendations include exact commands, specific file paths, and concrete thresholds — not "check the logs" or "monitor the system."
  • Security as a dimension: Any design or review that handles user input, authentication, authorization, or sensitive data addresses the security implications explicitly — even if security is not the primary focus.
  • External verification (code tasks): When the prompt's task changes code that can be run, built, or type-checked, place the "run a real check that exercises the change" block in the prompt's Output layer. Verbatim template in references/output-formats.md ("External-Verification Template") [Anthropic docs]. This is external-artifact verification, not self-verification (AEA §4.14 keep class).
  • Surgical edits (token-cost rule): For file changes, instruct the model to "surgically edit a file rather than rewrite the entire thing" — Fable 5.1 may rewrite whole files for small edits. This is a token-cost rule, not a quality rule. [Anthropic docs — Fable 5.1 prompting guide, as recorded in the catalog behavioral-tuning design spec §3]

Critical: Engineering-Specific Behavioral Countermeasures

Software engineering prompts are especially susceptible to these Claude failure modes. Inline the relevant countermeasures into any prompt you build.

Resume-driven design. Claude may recommend technologies, architectures, or patterns that are technically impressive but inappropriate for the actual scale and team — Kubernetes for a single-service app, event sourcing for a CRUD system, microservices for a three-person team. Counter with: "Design for the actual scale and team. The best architecture is the simplest one that meets the requirements. If you recommend a complex approach, justify specifically why the simpler alternative is insufficient."

Uncritical code review. Claude's agreeableness tendency is especially problematic in code review — it may praise code that has genuine issues or soften critical findings with excessive hedging. Counter with: "Your job in this review is to find problems and improve the code, not to validate the author. Be direct about issues. If the code has a significant flaw, state it clearly and specifically."

Buzzword architecture. Claude may use terms like "event-driven," "domain-driven design," "hexagonal architecture," or "zero-trust" as design labels without actually applying the underlying principles. Counter with: "Do not name architectural patterns unless you are concretely applying them. If you reference a pattern, show how it specifically shapes this design — do not use it as a label."

Happy-path bias. Claude may produce designs and analyses that focus on how the system works under normal conditions while giving insufficient attention to failure modes, edge cases, and degraded states. Counter with: "For every component or interaction, describe the failure mode before the success path. What happens when this component is unavailable, slow, or returning errors?"

Theoretical security. When doing security analysis, Claude may list vulnerabilities from a textbook without calibrating to the actual system's threat profile. Counter with: "Every security finding must be tied to a specific component in this system and a realistic attack scenario. Do not list generic vulnerability categories — describe how each vulnerability could be exploited in this specific architecture."

Troubleshooting

Output is too generic / not engineering-specific enough. The prompt likely lacks operational context. Add: system scale (requests/second, data volume), team size, SLA requirements, technology stack, and deployment environment. Engineering prompts without this context produce recommendations that could apply to any system.

Recommendations are disproportionate to scale. Add explicit scale constraints: "This is a [small/medium/large] system operated by a team of [N]. Recommendations must be sustainable by this team without dedicated [SRE/security/platform] staffing."

Code review feedback is too soft. Add the uncritical code review countermeasure (above) and: "This review must identify at least the most significant improvement opportunity. A review with no actionable findings is not useful."

Security analysis reads like a checklist. Add the theoretical security countermeasure (above) and specify the threat actor profile: "The primary threat actors for this system are [description]. Focus on attack vectors realistic for these actors."

RFC alternatives section is a straw man. Add: "Each alternative must be presented as a legitimate option that a reasonable engineer could prefer. If no alternatives are genuinely competitive, state that explicitly — do not fabricate weak alternatives."

For deeper prompt evaluation methodology, see prompt-validation if available. For general prompt construction methodology beyond engineering-specific tasks, see prompt-compilation if available.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Domain Software Engineering?

Specialized software engineering prompt methodology for Claude. Use when building prompts for system design, code review, incident response, security analysis, API design, architecture decisions, RFCs, ADRs, runbooks, or technical leadership. Trigger on: "build a prompt for code review," "system design prompt," "SRE prompt," "security review prompt," "incident response prompt," "API design prompt," "architecture decision prompt," "RFC prompt," "runbook prompt." Provides 11 tested approaches across identity, reasoning, and output for engineering analysis. Do NOT use for general coding help,...

Waarom Domain Software Engineering gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Domain Software Engineering bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Domain Software Engineering in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/domain-software-engineering. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Domain Software Engineering gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Domain Software Engineering gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Domain Software Engineering ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Domain Software Engineering gratis?

Ja. Deze skill is door drayline op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇