بنقرة واحدة
specify
Initialize and manage requirements specifications with component-type instructions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Initialize and manage requirements specifications with component-type instructions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | specify |
| description | Initialize and manage requirements specifications with component-type instructions. |
Create the spec.md and manage the requirements lifecycle.
spec.md from assets/spec-template.md.spec-write-str: Stakeholder needs.spec-write-us: User stories.spec-us-to-fr: Derive FRs from stories.spec-write-fr: System behavior.spec-write-nfr: Quality constraints.spec-write-fr object-type-guide.md.spec-matrix: Test matrix.spec-review: Validate quality.spec/specs/<category>/<component>/spec/assets/spec-template.mdartifact_type: Must be master-requirements.name: Component name matching the repo.org: Organization owning the component.component_type: Authoritative type (e.g., fastapi-service, react-lib).tags: Optional capabilities (e.g., [postgres, sqlmodel]).relationships: Structured array of relationship objects (target, type, cardinality). Do NOT use depends_on. Specify exact semantic linkages such as calls, implements, publishes, consumes, reads, writes, triggers, or requires.[!IMPORTANT] Individual artifacts (FR, NFR, StR, US, IT) also require YAML frontmatter with
id,title, andtype. See each writing skill's Frontmatter section.
golden-path/components/<component-type>/agent-instructions.md.spec/
├── spec.md # Master specification
├── stakeholder/ # StR-XXX
├── usecase/ # US-XXX
├── functional/ # FR-XXX (behavioral + domain-typed)
├── non-functional/ # NFR-XXX
├── tests.md # Test Matrix
└── assets/ # Diagrams, POCs
StR-XXXUS-XXXFR-XXXNFR-XXXTC-XXX[!IMPORTANT] When
component_type: application, useassets/app-spec-template.mdinstead ofassets/spec-template.md. The application spec standard is fundamentally different from a service or library spec.
An application spec describes how multiple component repositories compose into a coherent system. It owns only cross-service concerns — things that cannot be expressed within any single component's spec.
| Section | What to Write |
|---|---|
| Architecture Rationale (ADRs) | Why this architecture? Why these trade-offs? One ADR entry per major decision that shaped the system shape. |
| Cross-service Sequence Diagrams | End-to-end flows that span >1 service (Login, Checkout, Deploy). No single service can own these. |
| System-level NFRs | SLA/uptime, scale limits, RTO/RPO — targets for the composed system, not individual services. |
| External Consumer Contract | How does an integrating engineer use this application as a whole? Aggregate "quickstart" across components. |
| Scope Boundaries | What the system explicitly does NOT do. Deliberate exclusions, not future work. |
| Security Model | Actor roles, trust hierarchy, capability matrix. Cross-cutting — not owned by any single service. |
| Deployment Topology | Namespace layout, ingress routes, service discovery, shared secrets/config. |
| Observability Strategy | Dashboard names, alert policies for the system. Per-service metrics stay in service specs. |
For component_type: application, every spec MUST include:
| FR Object Type | Purpose | Example |
|---|---|---|
domain | Bounded context, ER diagram, subdomain map | FR-001 Auth Domain |
process | One FR per major cross-service workflow | FR-002 Login Process |
configuration | Shared config across multiple services | FR-006 Auth Configuration |
integration | External consumer contract (how to integrate) | FR-007 Consumer Integration Contract |
| NFR | Purpose |
|---|---|
| Security Constraints | Cryptography, transport, error handling standards |
| System Reliability | Uptime SLA, p99 latency, scale limits, RTO/RPO |
| Deployment Topology | Namespace, ingress, service discovery, secret mounts |
Refer to a known well-formed application spec in your org as a model when authoring a new one.
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.
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.