Skip to content

Commit d7cddd0

Browse files
committed
chore: update cursor rules and fix quote characters
- Sync .cursor/rules with merged date prefix convention - Fix curly quote characters in AOP and spec template
1 parent e2416cb commit d7cddd0

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.cursor/rules/directive-core-protocol.mdc

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@ Authoritative sources (read first):
1111

1212
🚨 FIRST STEP — FEATURE BRANCH (BEFORE ANYTHING ELSE):
1313
- Check current branch: `git branch --show-current`
14-
- If not on a feature branch, create one from main: `feature/<spec-name>` (must match spec folder)
14+
- If not on a feature branch, create one from main: `feature/YYYYMMDD-feature-name` (must match spec folder)
1515
- NEVER work directly on main or master
1616

17+
**Naming Convention**:
18+
- All new specs use date-based prefixes: `YYYYMMDD-feature-name/`
19+
- Use the current date when creating the spec (e.g., `20251105-cursor-rules-alignment/`)
20+
- If multiple specs created same day, use distinct feature names to differentiate
21+
- Example: For a spec created on November 5, 2025 → `/directive/specs/20251105-feature-name/` → branch `feature/20251105-feature-name`
22+
1723
Pre‑implementation gates (must exist and be approved before any code):
18-
1) Spec → `/directive/specs/<feature>/spec.md`
19-
2) Impact Analysis → `/directive/specs/<feature>/impact.md`
20-
3) TDR (high‑level, decisive about interfaces) → `/directive/specs/<feature>/tdr.md`
24+
1) Spec → `/directive/specs/YYYYMMDD-feature/spec.md`
25+
2) Impact Analysis → `/directive/specs/YYYYMMDD-feature/impact.md`
26+
3) TDR (high‑level, decisive about interfaces) → `/directive/specs/YYYYMMDD-feature/tdr.md`
2127

2228
Location for new feature docs:
23-
- Create all new Spec, Impact, and TDR files under `/directive/specs/<feature>/` (one subfolder per feature).
29+
- Create all new Spec, Impact, and TDR files under `/directive/specs/YYYYMMDD-feature/` (one subfolder per feature).
2430

2531
Collaboration and approval:
2632
- Draft each document (Spec, Impact, TDR) collaboratively with the engineer.

directive/reference/agent_operating_procedure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This is the **standard workflow** the agent must follow for every new feature sp
5454
---
5555

5656
## Step 1 — Repo Recon (Codebase Map)
57-
Produce a short you are here map:
57+
Produce a short "you are here" map:
5858
- Entry points, services, key modules
5959
- Current data models and important tables/collections
6060
- External interfaces (APIs, events, webhooks, queues)

directive/reference/templates/spec_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ What should exist when this is done? (concise outcome statement)
1616

1717
## Success Criteria
1818
- [ ] Clear, measurable user outcome or KPI
19-
- [ ] Qualitative improvement if metrics arent available
19+
- [ ] Qualitative improvement if metrics aren't available
2020

2121
## User Story
2222
As a [user type], I want [capability], so that [benefit].
@@ -40,4 +40,4 @@ Links to designs, copy, or prototypes (e.g., Figma files, screenshots, docs).
4040
- Include at least one negative case
4141

4242
## Non-Goals
43-
Whats explicitly out of scope for this PR.
43+
What's explicitly out of scope for this PR.

0 commit comments

Comments
 (0)