nfr-review
Review an existing HLD against NFR reference and generate gap report
от DavidROliverBA★ 53 звезды на GitHub
Установить nfr-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/nfr-review
Review an existing HLD from Confluence against the NFR YAML reference and generate a gap report with scoring and remediation recommendations. Uses parallel sub-agents for efficient analysis.
Usage
/nfr-review ERPSystem
/nfr-review "AlertHub" CS1
/nfr-review 664765269 CS2 confluence
/nfr-review https://britishairways.atlassian.net/wiki/spaces/BDOC/pages/12345 CS2
Data Source
NFR reference data: .claude/data/nfr-reference.yaml — single source of truth for all 66 NFRs.
Scoring Rubric (0-3 Scale)
| Score | Rating | Meaning |
|---|---|---|
| 3 | Explicitly Addressed | NFR requirement clearly documented with specific evidence, links, or implementation details |
| 2 | Mentioned | NFR topic discussed but lacking evidence, specifics, or measurable targets |
| 1 | Implied | Related concept mentioned but NFR not explicitly addressed; may be inferred from context |
| 0 | Not Covered | NFR not mentioned at all; no evidence of consideration |
| N/A | Not Applicable | NFR section does not apply to this system (e.g., PCI for non-payment system) |
Instructions
Phase 1: Load NFR Reference
- Read
.claude/data/nfr-reference.yaml - Parse all 66 NFRs with their requirements, tier values, and evidence guidance
- Note the section applicability matrix
Phase 2: Fetch the HLD
Resolve the system HLD using Atlassian MCP tools:
- If argument is a URL with
pageId: extract ID and usegetConfluencePage - If argument is a numeric ID: use
getConfluencePagedirectly - If argument is a system name: search for "[System Name] HLD" or "High-Level Design" in Confluence
- Search pattern:
searchConfluenceUsingCqlwithtitle ~ "[system] HLD" OR title ~ "[system] High-Level Design"
- If argument is a URL with
Read the full page content including child pages if present:
getConfluencePage with pageId getConfluencePageDescendants with pageId (check for child pages)Record metadata: page title, space, author, last modified date
Determine tier: If tier argument not provided:
- Search HLD content for tier references (CS1/CS2/CS3/CS4 or SL1/SL2/SL3/SL4)
- If found, use it
- If not found, ask the user
Determine applicable sections: Look for indicators of project type:
- Payment/card/PCI references → include PCI section
- Personal data/GDPR/DPIA references → include PRIV section
- Aviation/ERPSystem/EWS/flight/airworthiness references → include CAA section
- Always include: OE, SEC, DATA, CE, INT, REL, PERF, COST, SUS, COMP
Phase 3: Parallel Analysis (Sub-agents)
Launch 3 parallel Sonnet sub-agents, each reviewing different NFR sections:
Agent 1 — Security, Privacy & Compliance:
You are reviewing an HLD document against NFR requirements. Score each NFR on a 0-3 scale.
**System:** [system name]
**Tier:** [CS/SL tier]
**HLD Content:** [full page content]
**NFRs to Assess:**
[List all NFRs from sections: SEC, PRIV, COMP]
For each NFR:
1. Search the HLD for evidence that this requirement is addressed
2. Score 0-3 using the rubric (3=explicitly addressed with evidence, 2=mentioned without evidence, 1=implied, 0=not covered)
3. Quote the specific HLD text that provides evidence (or note absence)
4. Provide a remediation recommendation for any NFR scoring 0-1
Output format per NFR:
NFR_ID: [id]
SCORE: [0-3 or N/A]
EVIDENCE: "[quoted text from HLD or 'Not found']"
GAP: "[what's missing]"
RECOMMENDATION: "[specific remediation action]"
Agent 2 — Reliability, Performance & Operational Excellence:
[Same structure as Agent 1 but covering NFRs from sections: OE, REL, PERF]
Agent 3 — Regulatory, Cost & Sustainability:
[Same structure as Agent 1 but covering NFRs from sections: PCI (if applicable), CE, CAA (if applicable), DATA, INT, COST, SUS]
Phase 4: Synthesise Results
- Collect all agent outputs and merge into unified assessment
- Calculate scores:
- Per-NFR score (from agents)
- Per-section average score
- Overall average score (excluding N/A sections)
- Categorise gaps:
- Critical gaps (score 0): NFRs completely absent — highest remediation priority
- Partial coverage (score 1-2): NFRs mentioned but incomplete — need evidence or specifics
- Fully addressed (score 3): No action needed
- Rank remediation by section criticality: Security > Reliability > Regulatory > Operations > Performance > Cost > Sustainability
Phase 5: Generate Gap Report
Create the gap report using the template below.
Default output: Vault note at root directory as `Concept - NFR G
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл nfr-review?
Review an existing HLD against NFR reference and generate gap report
Как установить скилл nfr-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nfr-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…