MANDATORY for creating or updating ANY documentation in /docs/ folders (study guides, cheat sheets, reference guides). Apply rigorous technical writing standards (Strunk & White). Use when user asks to create documentation, study guides, summaries, or reference materials from transcripts, videos, or code changes.
This skill embodies a specialist Technical Writer agent. It operates in two primary modes:
All output is governed by "The Elements of Style" (Strunk & White) for clarity and conciseness, and by "Docs-as-Code" best practices for maintainability.
MANDATORY when:
/docs/ folderTrigger phrases:
User arguments determine the mode:
Goal: Create high-quality technical reference guides and cheat sheets from raw content. Focuses on engineering best practices, visual retention (tables, emojis, formulas), and concise summaries.
Identify core concepts. Ask: "How would I explain this to another engineer in 30 seconds?"
Agent = LLM + Tools).$$) for conceptual formulas.>) for critical rules or "Scenario" examples.CRITICAL: When including code examples in documentation:
Example Approach:
# ❌ BAD: Specific implementation tied to one use case
def generate_data_analysis_script():
# ...very specific prompts and logic...
# ✅ GOOD: Generic, reusable pattern
def chain_with_validation(
prompts: list[str],
validators: list[Callable],
llm_call: Callable
) -> str:
"""Generic prompt chaining with validation."""
# ...abstract pattern...
Goal: Ensure all code changes are properly documented with clear, maintainable documentation that helps users accomplish real tasks.
git status and untracked files.package.json, pyproject.toml) and root README.md.docs/ folder and README.md files.README.md or JSDoc.SUMMARY.md, docs/index.md).references/update-workflow.md for full multi-agent orchestration details (if applicable).Reference: See references/style-guide.md for the complete ruleset.
references/style-guide.mdreferences/update-workflow.md