doc
Skill138 starsChanged 7 months agoMITView on GitHub
Draft or edit a document — PRD, spec, design doc, technical brief. Use for "/doc project title" to create a new doc or edit existing.
We split this skill into the rules it gives an agent
13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create or edit documents (specs, PRDs, design docs, etc.).
- Very specific: line 34
Search docs/{project}/*.md for similar titles (or docs/general/*.md if no project)
- Distinctive: line 35
If found: Offer to edit or create new
- Distinctive: line 38
Read the user's profile and relevant project index.
- Distinctive: line 39
Search related docs, customer feedback, meetings, decisions, and blockers
- Very specific: line 42
Use /discover when the problem needs investigation and /prioritize when competing requests need a scope decision
- Very specific: line 48
Follow _core/judgment.md to select outcome measures.
- Distinctive: line 51
Do not invent metric values, customer quotes, priorities, owners, or technical decisions
- Distinctive: line 54
Keep technical approach optional when unknown.
- Very specific: line 57
If no project specified: write to docs/general/{slug}.md
- Very specific: line 58
If project specified: write to docs/{project}/{slug}.md
- Distinctive: line 63
When editing, preserve existing content and structure.
- Distinctive: line 67
Add to project index if exists
“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/doc — Document Drafting
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 Product judgment: @_core/judgment.md Knowledge and evidence: @_core/knowledge.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
- Read the user's profile and relevant project index; follow linked product context and approved judgment/writing examples
- Search related docs, customer feedback, meetings, decisions, and blockers
- Identify the affected user, their task, observed problem, and desired business outcome before proposing requirements
- Separate sources, interpretations, and assumptions; retain conflicting evidence and mark missing evidence as unknown
- Use
/discoverwhen the problem needs investigation and/prioritizewhen competing requests need a scope decision
- Interactive Drafting
- Accept existing content; ask only for gaps that materially affect the problem, scope, or validation
- Draft problem statement, evidence, assumptions, goals/non-goals, and requirements at the depth the task needs
- For goals, state the intended outcome; include metric definition, baseline, target, period, and source when known
- Follow
_core/judgment.mdto select outcome measures; reuse existing goals rather than forcing a North Star, OKR, or metric tree - For consequential releases or experiments, include relevant guardrails, instrumentation gaps, and proposed scale/iterate/stop criteria
- Propose the smallest validation step and review point; distinguish proposed targets from approved commitments
- Do not invent metric values, customer quotes, priorities, owners, or technical decisions
- For an approved feature direction, break work into small user stories with actor, need, benefit, and observable acceptance criteria
- Cover relevant failure and recovery cases; flag dependencies. If direction is unapproved, label any stories as proposed
- Keep technical approach optional when unknown; match the requested audience, language, and approved voice examples
- 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
- For saved explanations, research briefs, comparisons, or journey maps, adapt template sections to the purpose; do not add PRD requirements to a thinking note
- Status: draft
- Mark missing sections as unknown or not applicable; never leave unresolved template variables
- When editing, preserve existing content and structure; add evidence and validation only where they are relevant
- 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}Highlight important evidence gaps and the next validation step. Creating a local draft does not authorize publishing it or creating external tickets.
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.
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- termio-sh/termio★ 751same name
- boshu2/agentops★ 452same name
- JetBrains/skills★ 386same name
- leanEthereum/leanSpec★ 143same name
- davidhozic/mujoco-rs★ 85same name
- VoDaiLocz/kilo-kit-mcp★ 28same name
- PracticalSwan/agent-skills★ 22same name
- jhy0285/monofield★ 6same name
- Mazalucas/El-DT-Lightweight-Army★ 4same name
- merchsage/workflow-skills★ 4same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use test, review and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Microsoft AzureSkilltest
Also in 5 projects that use this
SentrySkillreview
Fixture review skill.
Also in 7 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
GoogleSkillimprove-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Also in 3 projects that use this
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- askSkill
- blockSkill
- dailySkill
- decideSkill
- discoverSkill
- docxSkill
- excalidraw-generatorSkill
- explainSkill
- gwsSkill
- healthSkill
- helpSkill
- inboxSkill
- interviewSkill
- jiraSkill
- journeySkill
- json-canvasSkill
- linearSkill
- meetSkill
- mermaid-visualizerSkill
- notionSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- onboardSkill
- pdfSkill
- pptxSkill
- previewSkill
- prioritizeSkill
- progressSkill
- pushSkill
- reportSkill
- show-meSkill
- skill-creatorSkill
- todaySkill
- updateSkill
- vault-opsSkill
- weeklySkill
- xlsxSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

