بنقرة واحدة
sdd-constitution
Spec-Driven Development: Constitution format, versioning rules, and governance methodology
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Spec-Driven Development: Constitution format, versioning rules, and governance methodology
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Spec-Driven Development: Cross-artifact consistency analysis — semantic model building, 6 detection passes, severity assignment
Spec-Driven Development: Ambiguity detection taxonomy, prioritization heuristic, and sequential questioning protocol
Spec-Driven Development: Orchestration protocol — working-spec.json lifecycle, phase management, initialization, and delegation guidance for SDD workflows
Spec-Driven Development: Implementation planning format, constitution check gates, and Weave plan bridge
Spec-Driven Development: Feature specification format, quality validation checklist, and requirement writing rules
| name | sdd-constitution |
| description | Spec-Driven Development: Constitution format, versioning rules, and governance methodology |
The constitution lives at .specify/memory/constitution.md and defines project principles that govern all downstream artifacts — specs, plans, and tasks must all comply with it.
# [PROJECT_NAME] Constitution
**Version**: X.Y.Z | **Ratified**: YYYY-MM-DD | **Last Amended**: YYYY-MM-DD
## Core Principles
### [PRINCIPLE_NAME]
[Description using MUST/SHOULD language]
**Rationale**: [Why this principle exists and what problems it prevents]
## Governance
**Amendment procedure**: [How to propose and ratify changes]
**Versioning policy**: Semantic versioning — MAJOR.MINOR.PATCH
**Compliance review**: [When and how compliance is assessed]
When updating an existing constitution, prepend a Sync Impact Report as an HTML comment before the document:
<!-- Sync Impact Report
Version change: X.Y.Z → X.Y.Z
Modified principles: [principle name: old behavior → new behavior]
Added sections: [list or "none"]
Removed sections: [list or "none"]
Follow-up TODOs: [list of downstream artifacts that need review, or "none"]
-->
# MyApp Constitution
**Version**: 1.2.0 | **Ratified**: 2025-01-15 | **Last Amended**: 2025-06-01
## Core Principles
### Code Quality
All production code MUST have automated tests covering the critical path.
New features SHOULD achieve ≥80% line coverage.
**Rationale**: Untested code is a liability that slows future changes and causes regressions.
### Security First
User data MUST be encrypted at rest and in transit.
Authentication tokens MUST have an expiry of ≤24 hours.
**Rationale**: Security failures erode user trust and create legal liability.
### Performance
API responses MUST complete within 500ms at p95 under normal load.
**Rationale**: Slow responses directly reduce user engagement and retention.
## Governance
**Amendment procedure**: Propose via PR, require 2 reviewer approvals, ratified when merged.
**Versioning policy**: Semantic versioning — MAJOR for removals, MINOR for additions, PATCH for fixes.
**Compliance review**: Reviewed at each quarterly planning cycle.