/doc — Document Drafting
SkillDocs & knowledgeDraft or edit a document — PRD, spec, design doc, technical brief. Use for "/doc project title" to create a new doc or edit existing.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the /doc — Document Drafting skill
What this skill tells your AI
The instructions your AI receives, as published by kv0906/pm-kit in .claude/skills/doc/SKILL.md and read by ahel’s review.
Create or edit documents (specs, PRDs, design docs, etc.).
Context
Today's date: !date +%Y-%m-%d
Existing docs: !ls docs/*/*.md 2>/dev/null | tail -10
Reference template: @_templates/doc.md Config: @_core/config.yaml Processing logic: @_core/PROCESSING.md
Input
User input: $ARGUMENTS
Processing Steps
-
Parse Input
- Extract project
- Extract title/feature name
-
Check Existing
- Search
docs/{project}/*.mdfor similar titles (ordocs/general/*.mdif no project) - If found: Offer to edit or create new
- Search
-
Gather Context
- Search for related decisions/blockers
-
Interactive Drafting
- Prompt for each major section:
- Problem statement
- Goals / Non-goals
- Requirements (P0/P1/P2)
- Technical approach
- Or accept full content at once
- Prompt for each major section:
-
Create Doc Note
- If no project specified: write to
docs/general/{slug}.md - If project specified: write to
docs/{project}/{slug}.md - Apply template with gathered data
- Status: draft
- Add
## Linkssection
- If no project specified: write to
-
Update References
- Add to project index if exists
-
Append to Vault Log
- Append entry to
01-index/_vault-log.md(see.claude/rules/vault-log.md) - Action:
doc - Details: doc title and status
- Append entry to
Output
Created: docs/{project}/{slug}.md
Status: draft
Sections: {filled}/{total}
Export (Optional)
Supports --docx, --pdf flags. See .claude/rules/export-formats.md for layout specs and workflow. Complete normal processing first, then generate the formatted file.
Signals
- GitHub stars
- 133
- Forks
- 33
- Last commit
- Jun 2026
Advanced
- Catalog kind
- skill
- Gateway key
doc-kv0906- Source
- github.com/kv0906/pm-kit