doc-feature

Solid

Generate feature/module documentation after implementation. Covers business context (why, for whom, use cases), technical architecture (data flow, API, decisions), and operational details (limitations, edge cases). Integrates with the SSOT structure (docs/DOCUMENTATION_STRATEGY.md). USE WHEN: after >3 new files or a feature change. Triggers: "document this feature", "update docs/features", "doc-feature", "sync docs ↔ code", «задокументируй фичу», «обнови docs/features».

Data & Documents 0 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
0
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /doc-feature — Feature Documentation Generator ## Position in Ecosystem ``` product-discovery → requirements docs → [dev phase] → doc-feature (JTBD, RICE) (PRD, contracts) (code) (feature doc) ``` **doc-feature fills the gap between product specs and code-level docs.** Routing decisions (where each piece of information belongs) come from the `doc-routing` skill. ## Usage ``` /doc-feature [Feature Name] /doc-feature Reports Phase 2 /doc-feature Search Module ``` ## Output Location `docs/features/{kebab-case-name}.md` --- ## ⛔ MANDATORY RULES (NON-NEGOTIABLE) 1. **NEVER skip Phase 2 (PRESENT & ASK)** — always show what you understood and ask clarifying questions 2. **NEVER generate the doc without the user's answer or an explicit "skip"** — wait for a response 3. **ALWAYS read the actual source code** — don't just list files, READ the implementation 4. **ALWAYS check project memory** (e.g. `.claude/memory/MEMORY.md` or your auto-memory file) — it contains API gotchas, decisions, and patterns already documented 5. **ALWAYS fill ALL template sections** — use "N/A — [reason]" for empty sections, NEVER omit them 6. **ALWAYS include real API response shapes** — not placeholders, actual `{ field: type }` from the type definitions 7. **ALWAYS trace data flow through code** — follow imports: page/entry point → hook/service → API call → type → response 8. **ALWAYS capture the business WHY** — not just "what it does" but "why the user needs this"...

Details

Author
akuroglo
Repository
akuroglo/claude-code-setup
Created
1 weeks ago
Last Updated
yesterday
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category