nfr-capture
Generate pre-populated NFR table for a system's HLD based on tier and project type
от DavidROliverBA★ 53 звезды на GitHub
Установить nfr-capture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/nfr-capture
Generate a pre-populated NFR requirements table for a system's HLD, filtered by classification tier and project type. Reads from the NFR-as-Code YAML single source of truth.
Usage
/nfr-capture ERPSystem
/nfr-capture ERPSystem CS2
/nfr-capture "AlertHub" CS1 all,gdpr
/nfr-capture DataPlatform CS2 all,pci,gdpr confluence
/nfr-capture ERPSystem CS2 all,gdpr markdown with-evidence-prompts
/nfr-capture ERPSystem CS2 all,gdpr markdown from-hld:664765269
Data Source
All NFR data is read from .claude/data/nfr-reference.yaml — the single source of truth for all 66 NFRs. Do NOT hard-code NFR content; always read from the YAML.
Instructions
Phase 1: Read NFR Data
- Read
.claude/data/nfr-reference.yaml - Parse the YAML to extract all sections, NFRs, scoping questions, and archetypes
- Note the classification tiers from
classification_tiers
Phase 2: Determine System Classification
Option A: Direct arguments — If tier and types are provided, use them.
Option B: Scoping questionnaire — If arguments are omitted, offer the user a choice:
- Quick scoping — ask the 6 plain-English questions from
scoping_questionsin the YAML. Map answers to tier and types using themaps_tofields. - Archetype selection — show the archetypes from
archetypesin the YAML and let the user pick one. - Manual selection — show the tier/type selection tables (original behaviour).
If only tier is omitted, show the tier selection table:
What is the Criticality / Service Level tier for [system]?
| Tier | Criticality | Availability | RTO | RPO |
|------|-------------|-------------|-----|-----|
| CS1/SL1 | Critical | 99.95% | 4 hours | Zero data loss |
| CS2/SL2 | High | 99.50% | 8 hours | 1 hour |
| CS3/SL3 | Medium | 99.00% | 5 working days | 1 day |
| CS4/SL4 | Low | 98.50% | 10 working days | 5 days |
If only types is omitted, show the type selection:
Which project types apply to [system]? (select all that apply)
- [ ] All Projects (mandatory baseline)
- [ ] PCI — system handles payment card data
- [ ] GDPR — system processes personal data of UK/EEA subjects
- [ ] CAA/NIS — system supports essential aviation services
Note: "All Projects" should always be selected as it is the mandatory baseline.
Phase 3: Filter NFRs
Using the selected tier and project types:
Include sections where the section's
applicabilityoverlaps with the selected project types:- Sections with
applicability: [all]are always included - Sections with
applicability: [pci]only included if PCI is selected - Sections with
applicability: [gdpr]only included if GDPR is selected - Sections with
applicability: [caa_nis]only included if CAA/NIS is selected - Some sections have multiple applicability values (e.g.,
[all, pci, gdpr, caa_nis]) — include if ANY match
- Sections with
Map CS tier to SL tier: CS1→SL1, CS2→SL2, CS3→SL3, CS4→SL4
Pre-fill tier values for tiered NFRs using the selected SL tier's
tier_values
Phase 3b: Pre-fill from HLD (if from-hld:<page-id> flag)
If the from-hld flag is present:
- Fetch the HLD page from Confluence using Atlassian MCP
getConfluencePagewith the given page ID - Parse the HLD content to identify sections that map to NFR requirements
- For each applicable NFR, search the HLD content for evidence that addresses the requirement:
- Look for mentions of: encryption configuration, IAM/RBAC setup, backup policies, monitoring stack, VPC/network design, scaling approach, DR strategy, data handling, compliance controls
- Use keyword matching against the NFR's
requirement,guidance, andaws_servicesfields
- Pre-populate the evidence column with extracted content and source attribution:
- Format:
"Pre-filled from HLD page [ID], section [name]: [extracted evidence]"
- Format:
- Mark remaining empty cells for manual completion
Phase 4: Generate Output
Generate the NFR table in the requested format (default: markdown).
Markdown Output
For each applicable section, generate:
### [Section Name]
> **Purpose:** [section.purpose]
>
> **Compliance:** [section.compliance_frameworks joined]
>
> **Applicability:** [section.applicability_notes]
**Tier Targets ([CS tier] / [SL tier]):**
[If section has tier_guidance, render the selected tier's values as a summary table]
| NFR ID | Requirement | Target ([SL tier]) | Verification / Evidence | Status |
|--------|------------|---------------------|------------------------|--------|
| [nfr.id] | [nfr.title]: [nfr.requirement] | [tier_values for SL tier if tiered, else "See guidance"] | _[nfr.evidence_guidance]_ | |
Important formatting rules:
- Tier-specific values in the "Target" column should show the actual value for the selected tier, not all tiers
- Evidence guidance should be in italics as prompts for the team to fill in
- Status column is empty — teams fill this in (Met /
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл nfr-capture?
Generate pre-populated NFR table for a system's HLD based on tier and project type
Как установить скилл nfr-capture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nfr-capture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…