PROMPT CONTRACTS
# PROMPT CONTRACTS — TMS Project Full Phase Execution Contract
> Spec-Contract methodology activity 4-1 deliverable
> Written: 2026-03-09
> Reference documents: 02_SPECIFICATIONS.md v1.0, CLAUDE.md v1.0, Architecture_Design.md v1.0
>
> **76 Phases × 5 clauses** (GOAL, CONSTRAINTS, FORMAT, ADJACENT CODE, FAILURE CONDITIONS)
> **"think hard" mapping:** FORMAT file ≥4 / ADJACENT ≥3 / state management / 2+ new patterns → auto-added
>
> **📊 Progress (as of 2026-03-15):** 76/82 Phases completed (93%)
> - ✅ SP1~SP20 (76/76) completed
> - ⬜ SP21~SP22 (0/6) not started — Next implementation target: SP21-P1 (add defect transition button)
>
> **Common Pre-Execution Checklist:**
> - [ ] `git add -A && git commit -m "checkpoint before [taskID]"`
> - [ ] Start new session (do not reuse previous session)
> - [ ] CLAUDE.md handshake passed
> - [ ] Session limit: 45 minutes / 15 exchanges
>
> **Common FAILURE CONDITIONS (applied to all Phases):**
> - FC-00a: CLAUDE.md hard boundary violation (`any` type, `var`, CSS-in-JS, Prisma, direct process.env access, etc.)
> - FC-00b: File modification outside SCOPE
> - FC-00c: Existing functionality in ADJACENT CODE broken
> - FC-00d: TypeScript `tsc --noEmit` error
> - FC-00e: console.log remnants (logger not used)
---
## SP1: Project Initial Setup ✅ (6/6 completed)
---
### SP1-P1: Monorepo Scaffolding ✅
**Task ID:** SP1-P1 | **Complexity:** S | **Verification:** 🤖 Automated
**GOAL**when to use it
Community prompt sourced from the open-source GitHub repo SunnyBan101/spec-contract-v5 (no explicit license). A "PROMPT CONTRACTS" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
SunnyBan101/spec-contract-v5 · no explicit license