Command Palette

Search for a command to run...

Назад к скиллам
скилл № 59388

nfr-review

Review an existing HLD against NFR reference and generate gap report

БесплатноБез исполняемых скриптов
DavidROliverBAот 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

  1. Read .claude/data/nfr-reference.yaml
  2. Parse all 66 NFRs with their requirements, tier values, and evidence guidance
  3. Note the section applicability matrix

Phase 2: Fetch the HLD

  1. Resolve the system HLD using Atlassian MCP tools:

    • If argument is a URL with pageId: extract ID and use getConfluencePage
    • If argument is a numeric ID: use getConfluencePage directly
    • If argument is a system name: search for "[System Name] HLD" or "High-Level Design" in Confluence
    • Search pattern: searchConfluenceUsingCql with title ~ "[system] HLD" OR title ~ "[system] High-Level Design"
  2. Read the full page content including child pages if present:

    getConfluencePage with pageId
    getConfluencePageDescendants with pageId (check for child pages)
    
  3. Record metadata: page title, space, author, last modified date

  4. 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
  5. 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

  1. Collect all agent outputs and merge into unified assessment
  2. Calculate scores:
    • Per-NFR score (from agents)
    • Per-section average score
    • Overall average score (excluding N/A sections)
  3. 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
  4. 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

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл nfr-review?

Review an existing HLD against NFR reference and generate gap report

Как установить скилл nfr-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nfr-review запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nfr-review с