بنقرة واحدة
spec-scope-boundary-analysis
Define system boundaries and allocate responsibilities for ISO-style specifications.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Define system boundaries and allocate responsibilities for ISO-style specifications.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Convert ISO spec requirements (StR, FR, NFR) into a TDD-based project plan with dependency analysis, parallel execution tracks, quality gates, and task decomposition. Selects or starts a plan and writes a frontmatter-typed plan bundle under plan/<Plan-id>-<slug>/ (Plan + Task + index + log).
Create or update spec artifacts from a design or change request. Orchestrates authoring each requested requirement type (StR/US/FR/NFR/IT) as a discrete file using quoin catalog templates and Quire validation.
Analyze requirement statements (FR/NFR/StR) for EARS requirement-grammar conformance and author a SpecReview of the findings.
Build and maintain the requirements Test Matrix ensuring 100% coverage.
Review requirements for quality, consistency, and completeness.
Verify a targeted plan is complete and validated — every task done, the Test Matrix backed by real tracking tags in tests, and code fully traced to spec (flagging underspecified code with no owning requirement). Optional semantic review checks that intent↔test↔code actually agree. Emits a quire-validated SpecReview artifact to reviews/YY-MM-DD-<slug>.md.
استنادا إلى تصنيف SOC المهني
| name | spec-scope-boundary-analysis |
| description | Define system boundaries and allocate responsibilities for ISO-style specifications. |
Define what the system owns, what it consumes from outside, and which component owns each requirement.
spec-app-review for application-type specs that span multiple components.System Boundary Definition.
Responsibility Allocation. For each FR/StR/NFR, assign:
core — domain logic specific to this system.infrastructure — persistence, transport, scheduling, storage.cross-cutting — auth, logging, metrics, error handling, audit.This step defines where work belongs, not how it is done.
Produce the deliverable using the template below.
Record output in spec/analysis/scope-boundary.md.
# Scope & Boundary Analysis
## System Context
```mermaid
flowchart LR
user([User])
ext1[(External: Identity Provider)]
ext2[(External: Audit Log Sink)]
subgraph SUT [System Under Spec]
api[API Gateway]
core[Core Service]
db[(Postgres)]
end
user --> api --> core --> db
core -->|assumed| ext1
core -->|guaranteed via contract test| ext2
```
## In-Scope Responsibilities
- Authenticate and authorize all inbound API requests.
- Persist domain entities X, Y, Z with the schema defined in FR-010..FR-012.
- Emit audit events on every state transition.
## External Dependencies
| Dependency | Type | Assumed or Guaranteed | Contract |
|------------|------|------------------------|----------|
| Identity Provider | OIDC | Assumed | Provider's published spec |
| Audit Log Sink | HTTP | Guaranteed | IT-005 contract test |
## Responsibility Allocation
| Requirement | Owning Component | Class |
|-------------|------------------|-------|
| FR-001 (auth middleware) | API Gateway | cross-cutting |
| FR-010 (user entity) | Core Service | core |
| FR-020 (postgres migration) | Core Service | infrastructure |
| NFR-003 (request log) | API Gateway | cross-cutting |
assumed or guaranteed with a named contract.