.claude/skills/planning-sprints/SKILL.md
--- parallel_threshold: null timeout_minutes: 60 zones: system: path: .claude permission: none state: paths: [loa-grimoire, .beads] permission: read-write app: paths: [src, lib, app] permission: read --- # Sprint Planner <objective> Transform PRD and SDD into actionable sprint plan with 2.5-day sprints, including deliverables, acceptance criteria, technical tasks, dependencies, and risk mitigation. Generate `loa-grimoire/sprint.md`. </objective> <zone_constraints
npx skillsauth add 0xhoneyjar/rm-lurker .claude/skills/planning-sprintsInstall 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.
<zone_constraints>
This skill operates under Managed Scaffolding:
| Zone | Permission | Notes |
|------|------------|-------|
| .claude/ | NONE | System zone - never suggest edits |
| loa-grimoire/, .beads/ | Read/Write | State zone - project memory |
| src/, lib/, app/ | Read-only | App zone - requires user confirmation |
NEVER suggest modifications to .claude/. Direct users to .claude/overrides/ or .loa.config.yaml.
</zone_constraints>
<integrity_precheck>
Before ANY operation, verify System Zone integrity:
yq eval '.integrity_enforcement' .loa.config.yamlstrict and drift detected -> HALT and reportwarn -> Log warning and proceed with caution
</integrity_precheck><factual_grounding>
Before ANY synthesis, planning, or recommendation:
"[exact quote]" (file.md:L45)[ASSUMPTION]Grounded Example:
The SDD specifies "PostgreSQL 15 with pgvector extension" (sdd.md:L123)
Ungrounded Example:
[ASSUMPTION] The database likely needs connection pooling
</factual_grounding>
<structured_memory_protocol>
loa-grimoire/NOTES.md<tool_result_clearing>
After tool-heavy operations (grep, cat, tree, API calls):
Example:
# Raw grep: 500 tokens -> After decay: 30 tokens
"Found 47 AuthService refs across 12 files. Key locations in NOTES.md."
</tool_result_clearing>
<trajectory_logging>
Log each significant step to loa-grimoire/a2a/trajectory/{agent}-{date}.jsonl:
{"timestamp": "...", "agent": "...", "action": "...", "reasoning": "...", "grounding": {...}}
</trajectory_logging>
<kernel_framework>
Transform PRD and SDD into actionable sprint plan with 2.5-day sprints. Generate loa-grimoire/sprint.md.
loa-grimoire/prd.md (requirements), loa-grimoire/sdd.md (technical design)loa-grimoire/a2a/integration-context.md (if exists) for current state, priority signals, team capacity, dependenciesloa-grimoire/prd.md AND loa-grimoire/sdd.md completelyloa-grimoire/a2a/integration-context.md for project state and prioritiesSuccess = Complete sprint plan saved to loa-grimoire/sprint.md + engineers can start immediately without clarification
Each sprint MUST include:
<uncertainty_protocol>
<grounding_requirements> Before creating sprint plan:
loa-grimoire/a2a/integration-context.md (if exists) for organizational contextloa-grimoire/prd.md completely—extract all MVP featuresloa-grimoire/sdd.md completely—understand technical architecture> From prd.md: FR-1.2: "..."> From sdd.md: §3.2 Database Design
</grounding_requirements><citation_requirements>
Before starting sprint planning, check for optional dependencies that enhance the workflow:
.claude/scripts/check-beads.sh --quiet
If NOT_INSTALLED, present HITL gate using AskUserQuestion:
Pre-flight check...
⚠️ Optional dependency not installed: Beads (bd CLI)
Beads provides:
- Git-backed task graph (replaces markdown parsing)
- Dependency tracking (blocks, related, discovered-from)
- Session persistence across context windows
- JIT task retrieval with `bd ready`
Options:
1. Install now (recommended)
└─ brew install steveyegge/beads/bd
└─ npm install -g @beads/bd
2. Continue without Beads
└─ Sprint plan will use markdown-based tracking
Use AskUserQuestion with options:
If INSTALLED, proceed silently to Phase 0.
Check if loa-grimoire/a2a/auditor-sprint-feedback.md exists:
If exists + "CHANGES_REQUIRED":
If exists + "APPROVED - LETS FUCKING GO":
If missing:
Check if loa-grimoire/a2a/integration-context.md exists:
[ -f "loa-grimoire/a2a/integration-context.md" ] && echo "EXISTS" || echo "MISSING"
If EXISTS, read it to understand:
If MISSING, proceed with standard workflow using only PRD/SDD.
Read and synthesize both PRD and SDD, noting:
Identify gaps:
Ask clarifying questions about:
Wait for responses before proceeding. Questions should demonstrate deep understanding of the product and technical landscape.
Design sprint breakdown with:
Overall Structure:
Per Sprint (see template in resources/templates/sprint-template.md):
Self-Review Checklist:
Save to loa-grimoire/sprint.md.
</workflow>
<output_format>
See resources/templates/sprint-template.md for full structure.
Each sprint includes:
<success_criteria>
<planning_principles>
testing
# valid-skill Test skill with valid license for unit testing. ## Purpose Used in test_constructs_loader.bats to verify correct handling of valid licenses.
testing
# grace-skill Test skill in license grace period for unit testing. ## Purpose Used in test_constructs_loader.bats to verify correct handling of licenses in grace period.
testing
# expired-skill Test skill with expired license for unit testing. ## Purpose Used in test_constructs_loader.bats to verify correct handling of expired licenses.
testing
# skill-b Test skill B from test-pack for unit testing. ## Purpose Used in test_pack_support.bats to verify pack validation and skill loading.