Логотип Domain Software Engineering

Domain Software Engineering

Спільнота
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).

Огляд

Видавецьdrayline
Репозиторійrootnode-skills
Назва навичкиdomain-software-engineering
Зірки
40
Форки
5
Файли в пакеті
2
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем drayline. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Domain Software Engineering у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/domain-software-engineering
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Domain Software Engineering в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Domain Software Engineering, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Domain Software Engineering не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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,...

Навіщо використовувати Domain Software Engineering у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Domain Software Engineering — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Domain Software Engineering у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/drayline/rootnode-skills/tree/main/plugins/rootnode-prompts/skills/domain-software-engineering. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Domain Software Engineering?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Domain Software Engineering?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Domain Software Engineering — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Domain Software Engineering?

Так. Навичку опубліковано на GitHub: drayline, за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇