-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cursorrules
More file actions
55 lines (38 loc) · 1.26 KB
/
.cursorrules
File metadata and controls
55 lines (38 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SDP Project Rules
This project uses **Spec-Driven Protocol (SDP)** v0.6.0.
## Beads (SDP Development)
**This repo develops SDP.** Beads is ENABLED and MANDATORY here:
- Before `@build`: `bd update {beads_id} --status in_progress`
- After `@build`: `bd sync` before commit
- After `@design`: `sdp beads migrate docs/workstreams/backlog/ --real`
For other projects using SDP: Beads is optional (skills check `bd` + `.beads/`).
## Commands
Use skills for all work:
- `@idea` — Gather requirements
- `@design` — Plan workstreams
- `@build` — Execute workstream (guard enforced)
- `@review` — Quality review
- `@deploy` — Production deployment
## Guard Enforcement
All edits require active workstream:
```bash
sdp guard activate {WS-ID} # Before editing
sdp guard check {file} # Verify allowed
```
## Critical Rules
**Forbidden:**
- ❌ `except: pass`
- ❌ Files > 200 LOC
- ❌ TODO without WS
- ❌ Edit without active WS
**Required:**
- ✅ TDD (Red → Green → Refactor)
- ✅ Coverage ≥80%
- ✅ Type hints (mypy --strict)
- ✅ Conventional commits
## Documentation
- [PROTOCOL.md](docs/PROTOCOL.md) — Full specification
- [Skills](.claude/skills/) — Command details
- [Quality Gates](docs/reference/quality-gates.md)
---
**Version:** 0.6.0