workers/kdco-registry/files/skills/plan-protocol/SKILL.md
Guidelines for creating and managing implementation plans with citations
npx skillsauth add kdcokenny/ocx plan-protocolInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Load this skill when creating or updating implementation plans.
When creating or updating a plan, ensure:
status, phase, updated## Goal section (one sentence)## Context & Decisions table with citations (ref:delegation-id)[COMPLETE], [IN PROGRESS], [PENDING]← CURRENTUse plan_save with this exact markdown format:
---
status: STATUS
phase: PHASE_NUMBER
updated: YYYY-MM-DD
---
# Implementation Plan
## Goal
ONE_SENTENCE_DESCRIBING_OUTCOME
## Context & Decisions
| Decision | Rationale | Source |
|----------|-----------|--------|
| CHOICE | WHY | `ref:DELEGATION_ID` |
## Phase 1: NAME [STATUS_MARKER]
- [x] 1.1 Completed task
- [x] 1.2 Another completed task → `ref:DELEGATION_ID`
## Phase 2: NAME [IN PROGRESS]
- [x] 2.1 Completed task
- [ ] **2.2 Current task** ← CURRENT
- [ ] 2.3 Pending task
## Phase 3: NAME [PENDING]
- [ ] 3.1 Future task
- [ ] 3.2 Another future task
## Notes
- YYYY-MM-DD: Observation or decision `ref:DELEGATION_ID`
| Field | Values | Description |
|-------|--------|-------------|
| status | not-started, in-progress, complete, blocked | Overall plan status |
| phase | Number (1, 2, 3...) | Current phase number |
| updated | YYYY-MM-DD | Last update date |
| Marker | Meaning |
|--------|---------|
| [PENDING] | Not yet started |
| [IN PROGRESS] | Currently being worked on |
| [COMPLETE] | Finished successfully |
| [BLOCKED] | Waiting on dependencies |
not-started → in-progress → complete
↘ blocked
[PENDING] → [IN PROGRESS] → [COMPLETE]
↘ [BLOCKED]
[ ] unchecked → [x] checked
[IN PROGRESS] at any time← CURRENT marker at any time← CURRENT immediately when starting a new task[x] immediately after completing themCitations reference delegation research. The flow is:
delegate to researcher or exploreswift-amber-falcon)ref:swift-amber-falcon| Situation | Action |
|-----------|--------|
| Architectural decision based on research | Add to Context & Decisions table |
| Task informed by research | Append → ref:id to task line |
| Implementation detail from research | Inline citation in Notes |
delegation_list() to see all delegationsdelegation_read("id") to verify content before citing---
status: in-progress
phase: 2
updated: 2026-01-02
---
# Implementation Plan
## Goal
Add JWT authentication with refresh token support
## Context & Decisions
| Decision | Rationale | Source |
|----------|-----------|--------|
| Use bcrypt (12 rounds) | Industry standard, balance of security/speed | `ref:swift-amber-falcon` |
| JWT with refresh tokens | Stateless auth, mobile-friendly | `ref:calm-jade-owl` |
## Phase 1: Research [COMPLETE]
- [x] 1.1 Research auth patterns → `ref:swift-amber-falcon`
- [x] 1.2 Evaluate token strategies → `ref:calm-jade-owl`
## Phase 2: Implementation [IN PROGRESS]
- [x] 2.1 Set up project structure
- [ ] **2.2 Add password hashing** ← CURRENT
- [ ] 2.3 Implement JWT generation
## Phase 3: Testing [PENDING]
- [ ] 3.1 Write unit tests
- [ ] 3.2 Integration tests
## Notes
- 2026-01-02: Chose bcrypt over argon2 for broader library support `ref:swift-amber-falcon`
# Implementation Plan
## Goal
Add authentication
Error: Plan must have YAML frontmatter with status, phase, updated.
## Phase 2: Implementation [IN PROGRESS]
- [ ] **2.1 Task one** ← CURRENT
- [ ] **2.2 Task two** ← CURRENT
Error: Only one task may be marked CURRENT.
## Context & Decisions
| Decision | Rationale | Source |
|----------|-----------|--------|
| Use Redis | It's fast | - |
Error: Decisions must cite research with ref:delegation-id.
## Phase 1: Research [DONE]
Error: Use [COMPLETE], not [DONE]. Valid markers: [PENDING], [IN PROGRESS], [COMPLETE], [BLOCKED].
| Error Message | Fix |
|---------------|-----|
| "Missing frontmatter" | Add ---\nstatus: in-progress\nphase: 1\nupdated: 2026-01-02\n--- at top |
| "Multiple CURRENT markers" | Remove ← CURRENT from all but the active task |
| "Invalid citation format" | Use ref:delegation-id format (e.g., ref:swift-amber-falcon) |
| "Missing goal" | Add ## Goal section with one-sentence description |
| "Empty phase" | Add at least one task to each phase |
| "Invalid phase status" | Use [PENDING], [IN PROGRESS], [COMPLETE], or [BLOCKED] |
Before calling plan_save, verify:
ref:id?← CURRENT?testing
Criteria for reviewing implementation plans against quality standards
development
Visual & UI philosophy (The 5 Pillars of Intentional UI). Understand deeply to avoid "AI slop" and create distinctive, memorable interfaces.
development
Comprehensive code review methodology with severity classification and confidence thresholds
development
Internal logic and data flow philosophy (The 5 Laws of Elegant Defense). Understand deeply to ensure code guides data naturally and prevents errors.