Closing the intent-to-code chasm - specification-driven development with BDD verification chain
Overall
score
96%
Does it follow best practices?
Validation for skill structure
Detailed protocol for dispatching [P] tasks concurrently via subagents during implementation.
Determine whether your runtime supports concurrent subagent dispatch:
Task tool, OpenCode parallel workers).If concurrent dispatch is unavailable, execute all tasks sequentially. The rest of this document still applies — batches simply run one task at a time.
The orchestrator is the main agent running the implement skill. Workers are subagents dispatched for individual tasks.
[P] tasks into parallel batches[x]) — only the orchestrator does thisEach worker subagent must receive sufficient context to implement its task independently.
Mandatory context (always include):
Conditional context (include when relevant):
Keep context focused — a worker implementing a single model file does not need the full API contract catalog.
For each phase:
[x]. Tasks already marked [x] are complete and never re-executed. If a phase has zero tasks (or all tasks are already [x]), the phase is immediately complete — advance to the next phase.[P] tasks with no mutual dependencies form a batch[P] tasks run individually in dependency order (use task ID as tiebreaker when multiple siblings are eligible at the same depth)[P] tasks share a dependency on each other, they cannot be in the same batch[P] batch and non-[P] individual tasks are eligible in the same iteration, dispatch the [P] batch first. Non-[P] tasks are dispatched in subsequent iterations after the batch completes.[x] in tasks.md in a single write, then commit each task individually per §5.6After Phase 2 (Foundational) completes, independent user stories may execute as parallel workstreams.
Eligibility check:
If eligibility fails: Do not use cross-story parallelism. Execute story phases in their defined order (the default phase-by-phase behavior). Intra-phase [P] batching still applies within each story phase.
Dispatch:
Completion:
[x]Workstream failure: If a workstream fails, let other running workstreams finish. Mark their completed tasks [x]. Halt before the Final phase and report which workstream failed and why. After the user fixes the issue, resume only the failed workstream from its last checkpoint.
File conflicts are checked at two points:
Pre-dispatch (best-effort): Before dispatching a batch or cross-story workstreams, check task descriptions for overlapping file paths. This catches obvious conflicts but is not exhaustive — task descriptions may not list every file a worker will create or modify. If pre-dispatch detects overlapping file paths, exclude the conflicting tasks from the batch and schedule them sequentially after the batch completes. Non-conflicting tasks in the batch proceed as planned.
Post-batch (definitive): After each parallel batch or cross-story workstream completes:
FILE CONFLICT: src/models/user.py modified by T005 and T008
Resolution required before proceeding.[x]. Leave conflicting tasks unmarked until resolved.[x] after resolution.When TDD is active (test-specs.md exists):
Per-worker: Each worker follows the red/green cycle for its task:
Post-batch (orchestrator): After a batch completes, run all tests that exist so far (not just the batch's tests) to catch integration issues between parallel implementations:
POST-BATCH TEST RUN: Batch N
Running all existing tests... X tests passed, Y failedRED-phase batches: If all tasks in the batch are RED-phase (test-writing) tasks, test failures are expected — the halt condition does not apply. Instead, verify the new tests fail as expected and proceed. If any test unexpectedly passes during a RED-phase batch, halt and investigate (may indicate stale implementation code or an incorrect test).
GREEN-phase and mixed batches: If post-batch tests fail, halt and investigate before starting the next batch. Failures may indicate a file conflict or incompatible implementations between workers.
When Tessl tiles are installed:
mcp__tessl__query_library_docs independently for its own taskTESSL_USAGE.documentation_queries += worker.queries
TESSL_USAGE.skills_invoked += worker.skillsInstall with Tessl CLI
npx tessl i tessl-labs/intent-integrity-kitrules
skills
iikit-00-constitution
scripts
iikit-01-specify
iikit-02-clarify
iikit-03-plan
iikit-04-checklist
scripts
dashboard
iikit-05-testify
iikit-06-tasks
iikit-07-analyze
iikit-08-implement
iikit-09-taskstoissues
iikit-bugfix
scripts
iikit-core
scripts
bash
dashboard
powershell