agentleFS
onatmonatm/agent-skills/docs-feature-design/SKILL.md

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.

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
  1. Very specific:

    Use assets/doc-starters/feature-doc.md when creating or substantially rewriting a doc in docs/features/.

    line 12
  2. Very specific:

    Read references/feature-example.md when you need a worked example of the expected behavior-focused depth.

    line 13
  3. Very specific:

    Default location is docs/features/

    line 30
  4. Distinctive:

    If the draft starts describing APIs, schema, queues, retries, deployment, or internal implementation, link or create the relevant component …

    line 42
  5. Distinctive:

    Do not duplicate their content inside the feature doc

    line 46
  6. Distinctive:

    Verify the doc against the current product behavior.

    line 48
  7. Distinctive:

    Use product language, user states, and business rules

    line 56
  8. Distinctive:

    Do not include API sections, schema sections, deployment notes, or implementation plans

    line 57

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.md when creating or substantially rewriting a doc in docs/features/.
  • Read references/feature-example.md when 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

  1. Identify the feature, audience, and existing doc path.
  • Default location is docs/features/
  • Reuse an existing feature doc when one already exists
  1. 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
  1. 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
  1. Keep cross-links aligned.
  • Link to relevant architecture and component docs
  • Do not duplicate their content inside the feature doc
  1. 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.