docs-feature-design
Skill7 starsChanged 4 months agoMITView on GitHub
Maintain feature docs that explain user-visible behavior, goals, flows, and business rules without implementation detail. Use when feature scope, user workflows, or product behavior changes.
In this repository5 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use assets/doc-starters/feature-doc.md when creating or substantially rewriting a doc in docs/features/.
- Very specific: line 13
Read references/feature-example.md when you need a worked example of the expected behavior-focused depth.
- Very specific: line 30
Default location is docs/features/
- Distinctive: line 42
If the draft starts describing APIs, schema, queues, retries, deployment, or internal implementation, link or create the relevant component …
- Distinctive: line 46
Do not duplicate their content inside the feature doc
- Distinctive: line 48
Verify the doc against the current product behavior.
- Distinctive: line 56
Use product language, user states, and business rules
- Distinctive: line 57
Do not include API sections, schema sections, deployment notes, or implementation plans
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Docs Feature Design
Maintain docs that explain what a feature does and why it matters, not how it is implemented. A single component or service may support multiple features, so keep technical design out of feature docs and link it separately when needed.
Resource Map
- Use
assets/doc-starters/feature-doc.mdwhen creating or substantially rewriting a doc indocs/features/. - Read
references/feature-example.mdwhen you need a worked example of the expected behavior-focused depth.
When to Use
- New feature definition or major feature revision
- Changes to user-visible behavior, primary flows, goals, rules, or constraints
- Updates to product scope, supported actors, or expected outcomes
- Feature docs that should stay understandable without reading implementation details
Do Not Use
- API, schema, runtime, deployment, or internal control-flow detail that belongs in
docs-components-design - System topology or domain architecture that belongs in
docs-architecture
Workflow
- Identify the feature, audience, and existing doc path.
- Default location is
docs/features/ - Reuse an existing feature doc when one already exists
- Capture behavior-level content only.
- User problem and goals
- Primary actors and entry points
- Main flows, states, and business rules
- User-visible edge cases, constraints, and outcomes
- Non-Goals, Audience / Actors, and Open Questions are optional — omit them when they don't add value for the feature
- "User-Facing Behavior" (flat bullet list) is a valid simpler alternative to formal numbered Primary Flows for straightforward features
- Move technical detail out.
- If the draft starts describing APIs, schema, queues, retries, deployment, or internal implementation, link or create the relevant component design doc instead
- Keep cross-links aligned.
- Link to relevant architecture and component docs
- Do not duplicate their content inside the feature doc
- Verify the doc against the current product behavior.
- The described flows and rules match what the feature actually does
- The audience can understand the feature without technical context
Writing Rules
- Speak about what the feature does, not how it is implemented
- Multiple features can map to one component or service; keep the feature doc centered on one user-facing capability
- Use product language, user states, and business rules
- Do not include API sections, schema sections, deployment notes, or implementation plans
Quality Checklist
- The doc explains the user problem, goals, and primary flows
- Business rules and user-visible edge cases are clear
- Technical implementation detail is absent
- Links to relevant component or architecture docs are present when needed
- A non-implementer could understand the feature from the doc alone
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.

