Command Palette

Search for a command to run...

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

nfr-capture

Generate pre-populated NFR table for a system's HLD based on tier and project type

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

  1. Read .claude/data/nfr-reference.yaml
  2. Parse the YAML to extract all sections, NFRs, scoping questions, and archetypes
  3. 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:

  1. Quick scoping — ask the 6 plain-English questions from scoping_questions in the YAML. Map answers to tier and types using the maps_to fields.
  2. Archetype selection — show the archetypes from archetypes in the YAML and let the user pick one.
  3. 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:

  1. Include sections where the section's applicability overlaps 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
  2. Map CS tier to SL tier: CS1→SL1, CS2→SL2, CS3→SL3, CS4→SL4

  3. 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:

  1. Fetch the HLD page from Confluence using Atlassian MCP getConfluencePage with the given page ID
  2. Parse the HLD content to identify sections that map to NFR requirements
  3. 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, and aws_services fields
  4. Pre-populate the evidence column with extracted content and source attribution:
    • Format: "Pre-filled from HLD page [ID], section [name]: [extracted evidence]"
  5. 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 /
Полный SKILL.md на GitHub

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

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

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

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), без исполняемых скриптов.

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

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