.claude/skills/implementing-tasks/SKILL.md
--- parallel_threshold: 3000 timeout_minutes: 120 zones: system: path: .claude permission: none state: paths: [loa-grimoire, .beads] permission: read-write app: paths: [src, lib, app] permission: read --- # Sprint Task Implementer <objective> Implement sprint tasks from `loa-grimoire/sprint.md` with production-grade code and comprehensive tests. Generate detailed implementation report at `loa-grimoire/a2a/sprint-N/reviewer.md`. Address feedback iteratively until s
npx skillsauth add 0xhoneyjar/rm-lurker .claude/skills/implementing-tasksInstall 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>
Implement sprint tasks from loa-grimoire/sprint.md with production-grade code and tests. Generate implementation report at loa-grimoire/a2a/sprint-N/reviewer.md. Address feedback iteratively.
loa-grimoire/sprint.md (tasks), loa-grimoire/prd.md (requirements), loa-grimoire/sdd.md (architecture)loa-grimoire/a2a/sprint-N/auditor-sprint-feedback.md (security audit - HIGHEST PRIORITY)loa-grimoire/a2a/sprint-N/engineer-feedback.md (senior lead review)loa-grimoire/a2a/integration-context.md (if exists) for context preservation, documentation locations, commit formatsSuccess = All acceptance criteria met + comprehensive tests pass + detailed report at expected path
Report MUST include:
<uncertainty_protocol>
<grounding_requirements> Before implementing:
loa-grimoire/a2a/sprint-N/auditor-sprint-feedback.md FIRST (security audit)loa-grimoire/a2a/sprint-N/engineer-feedback.md SECOND (senior lead)loa-grimoire/a2a/integration-context.md for organizational contextloa-grimoire/sprint.md for acceptance criterialoa-grimoire/sdd.md for technical architectureloa-grimoire/prd.md for business requirements> From sprint.md: Task 1.2 requires...
</grounding_requirements><citation_requirements>
Check if Beads is available for task lifecycle management:
.claude/scripts/check-beads.sh --quiet
If INSTALLED, use Beads for task lifecycle:
bd ready - Get next actionable task (JIT retrieval)bd update <task-id> --status in_progress - Mark task started (done automatically)bd close <task-id> - Mark task completed (done automatically)If NOT_INSTALLED, use markdown-based tracking from sprint.md.
IMPORTANT: Users should NOT run bd commands manually. This agent handles the entire Beads lifecycle internally:
bd ready to find first unblocked taskbd update <task-id> --status in_progressbd close <task-id>Assess context size to determine if parallel splitting is needed:
wc -l loa-grimoire/prd.md loa-grimoire/sdd.md loa-grimoire/sprint.md loa-grimoire/a2a/*.md 2>/dev/null
Thresholds: | Size | Lines | Strategy | |------|-------|----------| | SMALL | <3,000 | Sequential implementation | | MEDIUM | 3,000-8,000 | Consider parallel if >3 independent tasks | | LARGE | >8,000 | MUST split into parallel |
If MEDIUM/LARGE: See <parallel_execution> section below.
If SMALL: Proceed to Phase 0.
Check loa-grimoire/a2a/sprint-N/auditor-sprint-feedback.md:
If exists + "CHANGES_REQUIRED":
If exists + "APPROVED - LETS FUCKING GO":
If missing:
Check loa-grimoire/a2a/sprint-N/engineer-feedback.md:
If exists + NOT "All good":
If exists + "All good":
If missing:
Check loa-grimoire/a2a/integration-context.md:
If exists, read for:
Review core documentation:
loa-grimoire/sprint.md - Primary task list and acceptance criterialoa-grimoire/prd.md - Product requirements and business contextloa-grimoire/sdd.md - System design and technical architectureAnalyze existing codebase:
Create implementation strategy:
# 1. Get next actionable task
TASK=$(bd ready --format json | head -1)
TASK_ID=$(echo $TASK | jq -r '.id')
# 2. Mark in progress (automatic - user never sees this)
bd update $TASK_ID --status in_progress
# 3. Implement the task...
# 4. Mark complete (automatic - user never sees this)
bd close $TASK_ID
# 5. Repeat for next task
The user only runs /implement sprint-1. All bd commands are invisible.
Testing Requirements:
Code Quality Standards:
Create report at loa-grimoire/a2a/sprint-N/reviewer.md:
Use template from resources/templates/implementation-report.md.
Key sections:
<parallel_execution>
When multiple feedback sources exist:
Spawn 2 parallel Explore agents:
Agent 1: "Read loa-grimoire/a2a/sprint-N/auditor-sprint-feedback.md:
1. Does file exist?
2. If yes, verdict (CHANGES_REQUIRED or APPROVED)?
3. If CHANGES_REQUIRED, list all CRITICAL/HIGH issues with file paths
Return: structured summary"
Agent 2: "Read loa-grimoire/a2a/sprint-N/engineer-feedback.md:
1. Does file exist?
2. If yes, verdict (All good or changes requested)?
3. If changes, list all feedback items with file paths
Return: structured summary"
When sprint has multiple independent tasks:
1. Read sprint.md and identify all tasks
2. Analyze task dependencies
3. Group into parallel batches:
- Batch 1: Tasks with no dependencies (parallel)
- Batch 2: Tasks depending on Batch 1 (after Batch 1)
For independent tasks, spawn parallel agents:
Agent 1: "Implement Task 1.2 - read acceptance criteria, review patterns, implement, write tests, return summary"
Agent 2: "Implement Task 1.3 - read acceptance criteria, review patterns, implement, write tests, return summary"
<output_format>
See resources/templates/implementation-report.md for full structure.
Key sections:
<success_criteria>
<semver_requirements>
| Change | Bump | Example | |--------|------|---------| | New feature implementation | MINOR | 0.1.0 → 0.2.0 | | Bug fix | PATCH | 0.2.0 → 0.2.1 | | Breaking API change | MAJOR | 0.2.1 → 1.0.0 |
Red Flags (immediate action required):
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.