agentleFS
rpraharajrpraharaj/ai-sdlc/skills/write-nfr/SKILL.md

write-nfr

Skill0 starsChanged 16 days agoMITView on GitHub

Write measurable non-functional requirements or mark them unknown. Use when the user asks for NFRs, SLOs, quality attributes, performance or security targets, or /write-nfr. Do not invent numbers. Do not write product code.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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. Distinctive:

    Do not implement. Do not invent SLOs, SLAs, or baselines.

    line 19
  2. Very specific:

    If the user says “it must be fast/secure/scalable” with no number and no existing baseline, write unknown and stop for a human target.

    line 36
  3. Very specific:

    Read AGENTS.md if present.

    line 45
  4. Distinctive:

    Read the named PRD, requirements, and architecture.

    line 46
  5. Very specific:

    Do not specify implementation (caches, vendors, instance sizes).

    line 50

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

Write NFR

Record quality attributes as numbers or as unknown. This is not a PRD, not architecture, and not a test plan.

Do not implement. Do not invent SLOs, SLAs, or baselines.

Is this the right skill?

SignalDo this instead
Functional behaviorwrite-requirements
Durable system shapewrite-architecture
How this initiative is builtwrite-design
What we will and will not automatewrite-test-strategy
PII classification of a changeclassify-data

Required inputs

  • A PRD and/or requirements path, or an architecture doc for an existing system
  • AGENTS.md; context/environments.md if it exists

If the user says “it must be fast/secure/scalable” with no number and no existing baseline, write unknown and stop for a human target. Do not pick industry-typical numbers.

Human decisions (do not invent)

  • Any numeric target that is not already in the repo, the PRD, or a signed architecture doc
  • What happens if a target is missed (error budget / reject traffic / unknown)

Procedure

  1. Read AGENTS.md if present. Read context/environments.md if present.
  2. Read the named PRD, requirements, and architecture. Collect quality attributes they already state.
  3. Find the home: first existing docs/nfr/, or offer to create it. Name: docs/nfr/<slug>.md.
  4. Open references/nfr-template.md. Copy every heading. Write n/a when unused.
  5. For each category in the template: either a number with its source (path or “user-set”), or unknown.
  6. Do not specify implementation (caches, vendors, instance sizes). That is write-design.
  7. Point at environments by the names in context/environments.md. Do not invent prod URLs.

Output

  • Path: docs/nfr/<slug>.md
  • Template: references/nfr-template.md

Quality bar

  • Every numeric target names a source or is unknown
  • No invented baseline
  • No implementation or vendor choice presented as an NFR
  • Unused headings are n/a
  • At least one row is a real target or an explicit unknown the human must set

Done

  1. Path
  2. How many targets vs unknowns
  3. Next skill: write-design, write-test-strategy, or stop — need user for unknowns that block

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.