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
Generate design artifacts from the feature specification using the plan template.
$ARGUMENTSYou MUST consider the user input before proceeding (if not empty).
Load constitution per constitution-loading.md (enforcement mode — extract rules, declare hard gate, halt on violations).
Run prerequisites check:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-03-plan/scripts/bash/check-prerequisites.sh --phase 03 --jsonWindows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-03-plan/scripts/powershell/check-prerequisites.ps1 -Phase 03 -Json
Parse JSON for FEATURE_SPEC, IMPL_PLAN, FEATURE_DIR, BRANCH. If missing spec.md: ERROR.
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-03-plan/scripts/bash/set-active-feature.sh --json <selection>Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-03-plan/scripts/powershell/set-active-feature.ps1 -Json <selection>
Then re-run the prerequisites check from step 1.
Before planning, validate spec.md:
[NEEDS CLARIFICATION] — ask whether to proceed with assumptionsReport quality score per formatting-guide.md (Spec Quality section). If score < 6: recommend /iikit-02-clarify first.
Using the plan template, define: Language/Version, Primary Dependencies, Storage, Testing, Target Platform, Project Type, Performance Goals, Constraints, Scale/Scope. Mark unknowns as "NEEDS CLARIFICATION".
When Tessl eval results are available for candidate technologies, include eval scores in the decision rationale in research.md. Higher eval scores indicate better-validated tiles and should factor into technology selection when choosing between alternatives.
If Tessl is installed, discover and install tiles for all technologies. See tessl-tile-discovery.md for the full procedure.
For each NEEDS CLARIFICATION item and dependency: research, document findings in research.md with decision, rationale, and alternatives considered. Include Tessl Tiles section if applicable.
Prerequisites: research.md complete
data-model.md (fields, relationships, validation, state transitions)contracts/quickstart.md with test scenariosbash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-03-plan/scripts/bash/update-agent-context.sh claudepwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-03-plan/scripts/powershell/update-agent-context.ps1 -AgentType claudeAfter the plan is complete, write pre-computed data to .specify/context.json for static dashboard generation. Use jq to merge into the existing file (create if missing).
If plan.md contains an architecture diagram (ASCII box-drawing), classify each named component as one of: client, server, storage, external.
Write to .specify/context.json under planview.nodeClassifications:
# Read existing or start fresh
CONTEXT_FILE=".specify/context.json"
[[ -f "$CONTEXT_FILE" ]] || echo '{}' > "$CONTEXT_FILE"
# Merge node classifications (replace example with actual nodes from the plan diagram)
jq --argjson nodes '{
"Browser SPA": "client",
"API Gateway": "server",
"PostgreSQL": "storage",
"Stripe API": "external"
}' '.planview.nodeClassifications = $nodes' "$CONTEXT_FILE" > "$CONTEXT_FILE.tmp" && mv "$CONTEXT_FILE.tmp" "$CONTEXT_FILE"Classification rules:
If no architecture diagram exists in the plan, skip this step.
If Tessl tiles were installed in step 2, collect eval scores from the fetch-tile-evals.sh outputs and write a summary to context.json:
# Merge eval scores (replace example with actual tile names and scores from step 2)
jq --argjson evals '{
"workspace/tile-name": {"score": 85, "pct": 85, "scenarios": 3, "scored_at": "2026-01-15T10:00:00Z"}
}' '.planview.evalScores = $evals' "$CONTEXT_FILE" > "$CONTEXT_FILE.tmp" && mv "$CONTEXT_FILE.tmp" "$CONTEXT_FILE"Use the JSON output from each fetch-tile-evals.sh --json call (already run in step 2 via tessl-tile-discovery.md). Extract score, pct, scenarios, and scored_at fields for each tile.
If no Tessl tiles were installed, skip this step.
Re-validate all technical decisions against constitutional principles. On violation: STOP, state violation, suggest compliant alternative.
Scan plan for governance content per phase-separation-rules.md (Plan section). Auto-fix by replacing with constitution references, re-validate.
Before writing any artifact: review against each constitutional principle. On violation: STOP with explanation and alternative.
Output: branch name, plan path, generated artifacts (research.md, data-model.md, contracts/*, quickstart.md), agent file update status, Tessl integration status (tiles installed, skills available, technologies without tiles, eval results saved), dashboard pre-computed data status (node classifications written, eval scores written).
If plan.md exists: compare tech stack, architecture, dependencies. Show diff per formatting-guide.md (Semantic Diff section) with downstream impact. Flag breaking changes.
You MUST read model-recommendations.md, check the expiration date (refresh via web search if expired), detect the agent via env vars, and include a model switch tip in the output below if the next phase needs a different model tier.
Plan complete! Next steps:
- /iikit-04-checklist - (Recommended) Generate quality checklists
- /iikit-05-testify - (REQUIRED by constitution) Generate test specifications [if TDD mandatory]
- /iikit-05-testify - (Optional) Generate test specifications for TDD [if TDD not mandatory]
- /iikit-06-tasks - Generate task breakdown from plan
Tip: <model switch suggestion if tier mismatch, omit if already on the right model>
- Dashboard: file://$(pwd)/.specify/dashboard.html (resolve the path)Install 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