Tech Implementation Deep-Dive Writer
Use this skill to produce technical implementation articles that read like serious engineering docs, not code-location inventories.
Load References
- Required:
references/style-contract.md - Required:
references/outline-template.md
Writing Contract (Mandatory)
- Use declarative, noun-phrase headings.
- Do not use question-style titles in TOC headings.
- Do not use sensational or marketing wording.
- Keep a clear total-to-detail hierarchy (
##for major layers,###for mechanisms). - Explain design intent and mechanism first; place code locations as supporting evidence only.
- Keep source-index lists in an appendix section, not as the body core.
Workflow
- Clarify scope and boundaries of the article.
- Define the core model (entities, events, invariants, constraints).
- Explain the end-to-end data flow before component internals.
- Expand each core mechanism with: purpose -> how it works -> failure modes.
- Add architecture trade-offs and alternatives.
- Add operations playbook (diagnostic or recovery flows).
- Add a compact code index appendix.
Body Structure
Use this sequence by default unless the user asks for a different structure:
- Background and goals
- Model and terminology
- End-to-end architecture/data flow
- Mechanism deep-dives (group by flow, not by file)
- Storage/query/runtime behavior
- UI/ops integration (if applicable)
- Trade-offs and boundaries
- Operations playbook
- Code index appendix
- Summary
Mechanism Explanation Standard
For each major mechanism, include:
- Problem statement: what this mechanism must solve.
- Design decision: what was chosen and why.
- Execution path: step-by-step runtime behavior.
- Failure handling: what happens when inputs or dependencies are abnormal.
- Practical signal: how operators/debuggers can observe or verify it.
Quality Gates Before Final Output
- Heading quality: no question headings, no inflated wording, consistent noun-phrase style.
- Structure quality: major sections form a complete total-to-detail chain.
- Explanation quality: every major section answers both "why" and "how".
- Evidence quality: code references support claims but do not dominate narrative.
- Operational quality: include at least 2 concrete troubleshooting scenarios.
- Comparison quality: include at least 1 explicit trade-off table.
Anti-Patterns (Must Avoid)
- Dumping large blocks of file:line pointers as the main content.
- Repeating "implementation at X" without explaining design rationale.
- Mixing architecture, API details, and UI details without section boundaries.
- Using vague chapter names such as "Other" or "Misc".
- Overusing slogans like "ultimate", "best", "revolutionary", "shocking".
Output Policy
- Keep the main body explanation-first.
- Keep code index short and grouped by subsystem.
- Use diagrams and tables when they clarify mechanism or trade-off.
- Keep terminology stable once defined.