Closing the intent-to-code chasm - specification-driven development with BDD verification chain
95
Does it follow best practices?
Validation for skill structure
Generate an actionable, dependency-ordered tasks.md for the feature.
$ARGUMENTSYou MUST consider the user input before proceeding (if not empty).
Load constitution per constitution-loading.md (basic mode — note TDD requirements for task ordering).
Run: bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/bash/check-prerequisites.sh --phase 05 --json
Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/powershell/check-prerequisites.ps1 -Phase 05 -Json
Parse JSON for FEATURE_DIR and AVAILABLE_DOCS. If missing plan.md: ERROR. If script exits with testify error: STOP and tell the user to run /iikit-04-testify first.
If JSON contains needs_selection: true: present the features array as a numbered table (name and stage columns). Follow the options presentation pattern in conversation-guide.md. After user selects, run:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/bash/set-active-feature.sh --json <selection>Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/powershell/set-active-feature.ps1 -Json <selection>
Then re-run the prerequisites check from step 1.
Checklist gate per checklist-gate.md.
Report readiness per formatting-guide.md (Plan Readiness section).
plan.md, spec.mddata-model.md, contracts/, research.md, quickstart.md, tests/features/ (.feature files)If .feature files exist (or legacy test-specs.md), tasks reference specific test IDs (e.g., "T012 [US1] Implement to pass TS-001").
If Tessl installed: query primary framework tile for project structure conventions and testing framework tile for test organization. Apply to file paths and task ordering. If not available: skip silently.
Extract tech stack from plan.md, user stories from spec.md, entities from data-model.md, endpoints from contracts/, decisions from research.md. Organize by user story with dependency graph and parallel markers.
- [ ] [TaskID] [P?] [Story?] Description with file path- [ ]Examples:
- [ ] T001 Create project structure per implementation plan (setup, no story)- [ ] T005 [P] Implement authentication middleware in src/middleware/auth.py (parallel, no story)- [ ] T012 [P] [US1] Create User model in src/models/user.py (parallel, story)- [ ] T014 [US1] Implement UserService in src/services/user_service.py (sequential, story)Wrong — missing required elements:
- [ ] Create User model (no ID, no story label)T001 [US1] Create model (no checkbox)- [ ] [US1] Create User model (no task ID)Traceability: When referencing multiple test spec IDs, enumerate them explicitly as a comma-separated list. Do NOT use English prose ranges like "TS-005 through TS-010" — these break automated traceability checks.
Correct: [TS-005, TS-006, TS-007, TS-008, TS-009, TS-010]
Wrong: TS-005 through TS-010
Map each component to its user story. Shared entities serving multiple stories go in Setup/Foundational. Each contract gets a contract test task. Story dependencies marked explicitly.
After generating, validate:
Use tasks-template.md with phases, dependencies, parallel examples, and implementation strategy.
Output: path to tasks.md, total count, count per story, parallel opportunities, MVP scope suggestion, format validation.
If tasks.md exists: preserve [x] completion status, map old IDs to new by similarity, warn about changes to completed tasks. Ask confirmation before overwriting. Use format from formatting-guide.md (Semantic Diff section).
Regenerate the dashboard so the pipeline reflects the new tasks:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/bash/generate-dashboard-safe.shWindows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/powershell/generate-dashboard-safe.ps1
Run: bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/bash/next-step.sh --phase 05 --json
Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-05-tasks/scripts/powershell/next-step.ps1 -Phase 05 -Json
Parse the JSON and present:
clear_after is true: suggest /clear before proceedingnext_step as the primary recommendationalt_steps non-empty: list as alternativesnext_step and each alt_step, include the model_tier from the JSON so the user knows which model is best for each option. Look up tiers in model-recommendations.md for agent-specific switch commands.Format:
Tasks generated!
Next: [/clear → ] <next_step> (model: <tier>)
[- <alt_step> — <reason> (model: <tier>)]
- Dashboard: file://$(pwd)/.specify/dashboard.html (resolve the path)Install with Tessl CLI
npx tessl i tessl-labs/intent-integrity-kit@2.7.12rules
skills
iikit-00-constitution
scripts
iikit-01-specify
iikit-02-plan
iikit-03-checklist
scripts
dashboard
iikit-04-testify
iikit-05-tasks
iikit-06-analyze
iikit-07-implement
iikit-08-taskstoissues
iikit-bugfix
scripts
dashboard
iikit-clarify
iikit-core
scripts
bash
dashboard
powershell
templates