一键导入
spec-write-nfr
Define a normative Non-Functional Requirement (NFR) or quality constraint.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Define a normative Non-Functional Requirement (NFR) or quality constraint.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Define a normative Functional Requirement (FR) with complete specification.
Generate required integration test cases to cover integrations with all external services. These tests will be run in a real env with real services.
Write an authoritative Stakeholder Requirement (StR).
Write or format an ISO-compatible User Story (US) artifact.
Review requirements for quality, consistency, and completeness.
Convert ISO spec requirements (StR, FR, NFR) into a TDD-based project plan with dependency analysis, parallel execution tracks, quality gates, and task decomposition. Creates /plan/plan.md and /plan/tasks/.
| name | spec-write-nfr |
| description | Define a normative Non-Functional Requirement (NFR) or quality constraint. |
Use this skill to define constraints on how well the system performs (quality attributes).
SHALL.relationships: array.assets/nonfunctional-requirement-template.mdFR-XXX).spec/non-functional/NFR-XXX-description.mdspecs/<category>/<component>/spec/non-functional/NFR-XXX-description.mdEvery NFR file MUST contain the following YAML frontmatter:
---
id: NFR-XXX
title: "<Title>"
artifact_type: NFR
quality_attribute: performance_efficiency # ISO 25010 enum (snake_case) — replaces the retired "## Quality Attribute" section
relationships: # Required: Structured array of affected FRs
- target: "ix://org/repo/FR-XXX"
type: "constrains"
cardinality: "1:N"
---
## Statement, ## Measurement and Evaluation
(table headers exactly Metric | Target | Threshold | Method, ≥1 row),
## Verification.## Scope, ## Rationale, ## Acceptance Criteria,
## Dependencies. The Measurement table IS the acceptance-criteria
equivalent for measurable NFRs; use the optional AC section only for
policy NFRs whose compliance checks don't reduce to metrics.quality_attribute lives in FRONTMATTER (enum), not as a body section.