Logotipo de Domain Software Engineering

Domain Software Engineering

Comunidad
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).

Descripción general

Editordrayline
Repositoriorootnode-skills
Nombre de la habilidaddomain-software-engineering
Estrellas
40
Forks
5
Archivos incluidos
2
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 2 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por drayline en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Domain Software Engineering en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/domain-software-engineering
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Domain Software Engineering en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Domain Software Engineering automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Domain Software Engineering no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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,...

¿Por qué usar Domain Software Engineering en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Domain Software Engineering está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Domain Software Engineering en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/domain-software-engineering. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Domain Software Engineering?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Domain Software Engineering?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Domain Software Engineering con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Domain Software Engineering?

Sí. drayline la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇