agentleFS
HyperVonHyperVon/agent-guidance-kit/skills/requirements-and-design/SKILL.md

requirements-and-design

Skill1 starsChanged 16 days agoApache-2.0View on GitHub

Clarify desired behavior and select a design approach before implementation, starting from an unclear outcome. Use when defining requirements, constraints, acceptance criteria, or choosing how to build something. Do not use to evaluate an existing system or design (use architecture-review); this skill starts before a design exists, it does not judge one that already does.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill before implementation.

    line 23
  2. Distinctive:

    Do not create unnecessary process for trivial changes.

    line 78
  3. Very specific:

    When the requirements and chosen approach are settled, hand the record to implementation-planning to produce the execution plan.

    line 90

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

Requirements and Design

Authority and boundary

This skill helps define what to build and how to approach it when the desired outcome is not yet clear. It is the upstream sibling of architecture-review:

SkillStarting pointWhat it does
requirements-and-designAn unclear desired outcomeClarifies behavior, identifies constraints, defines acceptance criteria, selects an approach
architecture-reviewAn existing system or designEvaluates it and compares Keep / Evolve / Replace / Greenfield options

Use this skill before implementation. It is not a substitute for architecture-review (which judges an existing design) and it does not do the implementation or the execution plan (that is implementation-planning).

Workflow

  1. Frame the outcome. Name the user/business outcome, not the proposed mechanism. Reframe solution-shaped requests into the underlying need. For an existing system, first record current behavior and constraints from source, tests, configuration, interfaces, and operational evidence; do not design against narrative documentation alone.
  2. Elicit requirements.
    • Functional: what the system must do.
    • Non-functional: performance, security, reliability, usability, compliance.
    • Constraints: fixed stack, deadlines, legal, legacy compatibility.
    • Assumptions: what is taken as true; give every material assumption the smallest practical falsification probe and identify who or what can resolve it. For each material non-functional requirement, state the metric, measurement method, and failure threshold when meaningful; otherwise explain why qualitative evidence is appropriate. Evaluate material requirements as a set, not only one at a time. When two constraints cannot both be satisfied, name the smallest conflicting pair, explain the trade-off, and mark the decision BLOCKED until an authorized owner chooses which constraint yields. Do not recommend an impossible compromise. Based on risk, define applicable failure and recovery behavior, scale or concurrency boundaries, and security or tenancy guarantees; skip dimensions that cannot materially affect the outcome.
  3. Define acceptance criteria. Each criterion must be testable and tied to the outcome, so a later implementation agent knows when "done" is reached.
  4. Consider alternatives. Enumerate plausible approaches, including doing less or nothing, and record why each was or was not chosen. Scale this analysis with the change's risk and impact; do not stand up a heavyweight decision process for a trivial change.
  5. Recommend an approach. Select one, state the trade-offs accepted, and label every unresolved choice PROPOSED, APPROVED, or BLOCKED. Do not describe a recommendation as approved without user or repository authority, and do not hand a blocked design to implementation planning as settled.

Required output

Return a record with:

  • user/business outcome — the result that matters, framed in user terms.
  • functional requirements — behaviors the system must provide.
  • non-functional requirements — quality attributes it must meet.
  • constraints — immovable limits on the solution.
  • assumptions — taken-as-true claims to validate.
  • acceptance criteria — testable definitions of done.
  • alternatives considered — options weighed and the reason each was set aside.
  • recommended approach — the chosen path and its trade-offs.
  • unresolved decisions — open choices that must be settled before building.

Scale the rigor

Do not create unnecessary process for trivial changes. Match the depth of this skill to:

  • risk — how damaging a wrong choice is;
  • ambiguity — how unclear the outcome or constraints are;
  • blast radius — how many systems or users a change touches.

A one-line bug fix needs a sentence of acceptance criteria, not a full alternatives matrix. A cross-team platform change needs the full record above.

Hand-off

When the requirements and chosen approach are settled, hand the record to implementation-planning to produce the execution plan. Do not start coding or redesigning existing architecture within this skill.

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.