一键导入
spec-write-fr
Define a normative Functional Requirement (FR) with complete specification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Define a normative Functional Requirement (FR) with complete specification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate required integration test cases to cover integrations with all external services. These tests will be run in a real env with real services.
Define a normative Non-Functional Requirement (NFR) or quality constraint.
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-fr |
| description | Define a normative Functional Requirement (FR) with complete specification. |
Specify detailed system behavior and technical implementation requirements.
SHALL / SHALL NOT.FR-XXX.assets/functional-requirement-template.mdassets/FR-001-example.mdFR-XXX-OPT-A).FR-XXX-CON-1).FR-XXX-AC-1).spec/functional/FR-XXX-description.mdspecs/<category>/<component>/spec/functional/FR-XXX-description.md[!IMPORTANT] Domain-typed FRs use domain-specific top-level sections (e.g.
## Properties,## Event Types,## Endpoint). For dependencies, you MUST use therelationships:YAML frontmatter array instead of plain text under a## Dependenciessection. For Domain-typed FRs, Acceptance Criteria must only test structural compliance (e.g. schema validation).
Every FR file MUST contain the following YAML frontmatter:
---
id: FR-XXX
title: "<Title>"
artifact_type: FR
relationships: # Required: Structured array of all dependencies
- target: "ix://org/repo/Target"
type: "calls" # Valid types: calls, implements, publishes, consumes, reads, writes, triggers, requires, depends_on
cardinality: "1:1"
---
When defining dependencies, use precise semantic verbs. For example, if a process makes a synchronous API call to another system, use a calls relationship. If an endpoint publishes an event to a broker, use a publishes relationship. If an endpoint is secured by a specific permission, use a requires relationship to the scope FR.
Define all fields with types, validation rules, and descriptions.
Domain-typed FRs additionally include object: and optionally parent_process: (see object-type-guide).