agentleFS
agent-ixagent-ix/spec-skills/spec-risk-complexity-analysis/SKILL.md

spec-risk-complexity-analysis

Skill1 starsChanged 6 months agoMITView on GitHub

Identify technical risks and volatility in requirements before tasking.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

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

    After dependency, scope, and evidence analysis but before spec-to-plan decomposes tasks.

    line 12
  2. Distinctive:

    After any major external change (new compliance regime, new SLA, new vendor).

    line 13
  3. Very specific:

    Score: every FR/StR/NFR on both axes.

    line 42
  4. Very specific:

    Every FR/StR/NFR has both axes scored (no blanks).

    line 74
  5. Distinctive:

    Every High on either axis has a named mitigation.

    line 75

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

Risk & Complexity Analysis

Surface the requirements that are most likely to fail, slip, or churn — so they can be sliced smaller, prototyped first, or hedged with extra verification.

When to use

  • After dependency, scope, and evidence analysis but before spec-to-plan decomposes tasks.
  • After any major external change (new compliance regime, new SLA, new vendor).

Risk dimensions

Each FR/StR/NFR is scored on two independent axes.

Technical risk

Flag a requirement as high risk if it involves any of:

  • Novel technology — first time this team or system uses it (new database engine, new protocol, new language runtime).
  • Concurrency / distributed coordination — multi-writer state, consensus, leader election, exactly-once semantics.
  • Security or compliance constraint — regulated data, cryptographic primitives, auth boundary changes.
  • Hard performance guarantee — quantified latency/throughput/availability bounds (p99, RPO/RTO).

Otherwise medium (one of the above is tangentially involved) or low.

Volatility

Flag a requirement as high volatility if it is likely to change due to:

  • Policy evolution — regulatory or org policy not yet stable.
  • External contracts — depends on a third-party API we don't control.
  • Product discovery — UX or business rules expected to shift as users are observed.

Otherwise medium or low.

Process

  1. Score every FR/StR/NFR on both axes.
  2. Mitigate high-risk, low-volatility items by spiking/prototyping early and adding contract/property tests.
  3. Mitigate high-volatility items by slicing into smaller iterative tasks and avoiding deep dependencies on them.
  4. Cross-check failure domains — see spec-failure-domain-analysis for extension, identity, purity, and topology gaps that also increase risk.
  5. Produce the risk register below.

Deliverable template

Record output in spec/analysis/risk-register.md.

# Risk Register

| Req | Tech Risk | Volatility | Drivers | Mitigation |
|-----|-----------|------------|---------|------------|
| FR-018 | High | Low | Distributed lock, exactly-once payout | Spike + property tests + contract test against ledger |
| FR-022 | Medium | High | UX flow under product discovery | Slice into 3 iterative tasks; avoid downstream coupling |
| NFR-005 | High | Low | p99 < 50ms across 100rps | Load test as quality gate; budget allocated in FR-018 |
| FR-030 | Low | High | Tax rules change quarterly | Move rule table behind config; ship update path |

## Top hazards

1. FR-018 — distributed exactly-once payout (see mitigation above).
2. NFR-005 — perf budget owns FR-018's success; if perf fails, payout slips.

## Failure-domain gaps

See `spec-failure-domain-analysis` deliverable. Open gaps: none / list FR IDs.

Acceptance Criteria

  • Every FR/StR/NFR has both axes scored (no blanks).
  • Every High on either axis has a named mitigation.
  • The "Top hazards" section names the 3–5 items the team should review live before plan generation.
  • Cross-reference to spec-failure-domain-analysis deliverable is present and current.

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.