Skip to content
Back to skills

Nfr Spec

ASecurity

Sweep a feature or system through the full non-functional requirements catalog — performance, throughput, availability, durability, privacy/retention, accessibility, i18n, observability, operability, compatibility, cost — forcing every category to a measurable target, an explicit n/a, or a tagged default. Use when the user needs NFRs, quality attributes, "how fast/reliable does it need to be", SLO targets for a feature, or the requirements everyone forgets until they're incidents.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentsgoapisecurityperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add sananthanarayan/skilldrop --skill nfr-spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nfr Spec?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nfr Spec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sananthanarayan-nfr-spec/badge)](https://www.skillsdirectory.com/skills/sananthanarayan-nfr-spec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nfr-spec
description: Sweep a feature or system through the full non-functional requirements catalog — performance, throughput, availability, durability, privacy/retention, accessibility, i18n, observability, operability, compatibility, cost — forcing every category to a measurable target, an explicit n/a, or a tagged default. Use when the user needs NFRs, quality attributes, "how fast/reliable does it need to be", SLO targets for a feature, or the requirements everyone forgets until they're incidents.
---

# nfr-spec

Gathers the requirements nobody volunteers: the business says what the feature does, this skill pins down **how well** — with numbers. Every category in the catalog ends in exactly one of three states: a **measurable target with a verification method**, an explicit **n/a with a reason**, or an **accepted default tagged `[assumption]`**. Silence is the one forbidden state. Downstream of the PRD; feeds `design-doc` (targets shape the architecture), `test-plan-generator` (verification methods become test cases), and `threat-model` (security depth lives there, not here).

## How to respond

**The request's length and shape outrank everything below, the quality bar included.** When
the person asks for a few bullets, one page, a short message, a single table or a set number of
sentences, deliver exactly that: fit this skill's checks inside it, keep what the reader will
use, and leave out the sections, headings, templates and placeholders they didn't ask for. If
something left out would change their decision, say so in one line. Use the full structure below
only when they ask for the full document or set no length.

**What you hand over is ready to use as it stands.** No placeholders, brackets, "not
supplied" or "TBD" markers inside it, and no notes to yourself or the author. What's missing
goes in your reply, one line each, with who can supply it. Never name another skill, tool or
template in the deliverable or the reply; say what needs doing instead. A saved file goes in
the working directory, or where the person asked, and the reply gives the path it really has.

**Start from this system, not from the catalog.** Before the sweep, work out what this kind of
system must get right that a generic list would miss: the security controls its type always
needs, the rules of any regulated channel or data it touches, the limits of the tools its
users open the output in, and lead times outside the team's control. Each is a requirement
here, with a target and a way to verify it. Then hold the whole answer to these:

- **Check the input's numbers against each other.** Derive load from the users and volumes given. When a stated figure isn't supported by them, or two inputs conflict, say so at the top and don't build a target on the unsupported one.
- **Mark each item given, assumed or open,** in those plain words, not this skill's tags or labels ("archetype", "ledger"). A product or legal question stays open with who decides it; nothing is shown as both decided and open.
- **State a legal or regulatory figure only when you are sure of it,** naming the rule. Otherwise it is an item to confirm.
- **In a table:** one category per row, short cells, the row limit kept, and no rows for categories that don't apply.

1. **Classify the system first** — the archetype sets the defaults: customer-facing SaaS, internal tool, public API, batch/pipeline, mobile/edge. Ask at most 2 questions, spent on the two answers that move the most targets: **user-facing or internal**, and **what happens when it's down for an hour** (the honest availability requirement hides in that answer). Everything else: archetype default + `[assumption]`.

2. **Sweep every category in [`reference.md`](reference.md)** — performance/latency, throughput/capacity, availability/SLO, durability/backup/DR, privacy/retention/residency, accessibility, i18n/l10n, observability, operability, compatibility, cost. For each: target with verification, or not applicable. The document carries only the categories that apply; the ones that don't go in one closing line with a few words of reason each, so a reviewer sees the sweep happened without reading empty rows.

3. **Force numbers tied to business reality, not aspiration.** ✅ *"p95 search < 800ms at 2× current peak (peak = 120 rps `[data: April dashboard]`)"* — ❌ *"sub-second response times"* (which percentile? at what load?) — ❌ *"99.999% availability"* for an internal tool whose users sleep at night (five nines costs 100× three nines; the archetype default exists to stop this).

4. **Attach a verification method to every target** — the method that would prove it before launch, not after: load test at stated volume, chaos drill, restore-from-backup rehearsal, axe-core scan + screen-reader pass, locale pseudo-translation run, cost projection at target volume. An NFR without a verification is a hope with units. Whoever writes the tests can work straight from them.

5. **Make retention and deletion first-class.** For every data class the feature touches: what's stored, how long, where (residency), and **how deletion actually happens** (user-triggered, TTL, legal hold override). "We keep it forever" is a decision with legal weight — make it visible, never implicit.

6. **State observability as requirements, not tooling.** What must be answerable at 3am: ✅ *"On-call can see per-tenant error rate and the last deploy time within 2 minutes of an alert"* — ❌ *"Use Datadog"*. The instrument choice is `design-doc`'s; the questions-it-must-answer are NFRs.

7. **State security as requirements, not analysis.** The auth and data-classification posture, plus the controls this kind of system always needs, each as a testable requirement. The attack-by-attack analysis is a threat model's job; say so in one line.

8. **Emit with [`templates/nfr-spec.md`](templates/nfr-spec.md)**: summary table (category / target / verification / state) for the categories that apply, per-category detail, the one-line not-applicable list, and the assumptions.

## Useful references in this skill

- [`reference.md`](reference.md) — the category catalog with per-archetype defaults and the verification menu
- [`templates/nfr-spec.md`](templates/nfr-spec.md) — the ledger-style output skeleton

## Quality bar

- **Every category is swept** — it gets a target, a tagged default, or a place in the one-line not-applicable list. Silence fails the doc; an empty n/a row pads it.
- **Every target has a percentile, a load condition, and a verification.** A latency number without load is a screenshot of a quiet day.
- **Availability matches the down-for-an-hour answer**, not the marketing instinct. The cost of each extra nine is named when the target exceeds the archetype default.
- **Every data class has a retention period and a deletion mechanism.** "Indefinite" is written as the decision it is.
- **Accessibility names level and scope** — "WCAG 2.2 AA on all agent-facing screens, axe + manual screen-reader pass" — not "accessible".
- **Cost has a number at target volume**, or an open question naming who must price it — never an invented figure. Either way the line is present — an NFR spec that's silent on cost has delegated it to the first invoice.

## When to use this skill

- ✅ A PRD is done and the quality targets need pinning before design
- ✅ "How fast / how reliable / how much does this need to be?"
- ✅ Defining SLOs for a new service or feature
- ✅ A legacy system getting its implicit NFRs written down for the first time

## When NOT to use this skill

- ❌ Functional requirements — that's the PRD
- ❌ Security threat depth — the testable controls go here, the analysis is `threat-model`
- ❌ Designing the architecture that meets the targets — `design-doc`
- ❌ Writing the verification tests themselves — hand the methods to `test-plan-generator`
- ❌ Sizing the infrastructure and its cost — that's `capacity-cost-model`

## Anti-patterns to avoid

- ❌ **"As fast as possible."** That's a budget of infinity. Every performance target gets a percentile, a number, and a load.
- ❌ **Five-nines cargo cult.** Availability copied from a FAANG blog onto an internal CRUD tool — each nine multiplies cost; the down-for-an-hour question calibrates honestly.
- ❌ **Uniform targets.** The same p95 for search, checkout, and a monthly export means nobody thought about any of them.
- ❌ **"GDPR compliant" as the entire privacy section.** Which data, retained how long, deleted how, stored where — compliance is the output of those answers, not a substitute for them.
- ❌ **Tool names as observability requirements.** "Use Prometheus" survives a migration to nothing; "alert fires within 2 min of error-rate breach" survives any tool.
- ❌ **Untestable NFRs.** "The system shall be maintainable" — if no verification method exists, it's culture, not a requirement; cut it or make it measurable.

Files in this skill

  • SKILL.md6.5 KB
  • evals/eval_queries.json876 B
  • evals/evals.json823 B
  • manifest.json1.1 KB
  • reference.md4.6 KB
  • templates/nfr-spec.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.