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
Report a bug against an existing feature, create a structured bugs.md record, and generate fix tasks in tasks.md.
$ARGUMENTSYou MUST consider the user input before proceeding (if not empty).
Load constitution per constitution-loading.md (soft mode — warn if missing, proceed without).
The text after /iikit-bugfix is either a #number (GitHub issue) or a text bug description.
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/generate-dashboard-safe.shWindows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/powershell/generate-dashboard-safe.ps1
Determine the input type:
#number pattern (e.g., #42): GitHub inbound flow (Step 2a)/iikit-bugfix 'Login fails when email contains plus sign' or /iikit-bugfix #42If input contains BOTH #number and text, prioritize the #number and warn that text is ignored.
gh issue view <number> --json title,body,labels if available, otherwise curl the GitHub API (GET /repos/{owner}/{repo}/issues/{number})title → bug descriptionbody → reproduction stepslabels → severity mapping: labels containing "critical" → critical, "high"/"priority" → high, "bug" → medium (default), otherwise → mediumRun feature listing:
Unix/macOS/Linux:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/bugfix-helpers.sh --list-featuresWindows (PowerShell):
pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/powershell/bugfix-helpers.ps1 --list-featuresParse the JSON array. If empty: ERROR with "No features found. Run /iikit-01-specify first to create a feature."
Present a numbered table of features:
| # | Feature | Stage |
|---|---|---|
| 1 | 001-user-auth | implementing-50% |
| 2 | 002-api-gateway | specified |
Prompt user to select a feature by number.
After selection, validate:
Unix/macOS/Linux:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/bugfix-helpers.sh --validate-feature "<feature_dir>"Windows (PowerShell):
pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/powershell/bugfix-helpers.ps1 --validate-feature "<feature_dir>"If invalid: ERROR with the message from the JSON response.
For text input (2b):
For GitHub inbound (2a):
Unix/macOS/Linux:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/bugfix-helpers.sh --next-bug-id "<feature_dir>"Windows (PowerShell):
pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/powershell/bugfix-helpers.ps1 --next-bug-id "<feature_dir>"Create or append to <feature_dir>/bugs.md using the template at bugs-template.md.
Fill in:
reported#number if from GitHub inbound, _(none)_ otherwise_(empty until investigation)__(empty until implementation)_If bugs.md already exists, append with --- separator before the new entry. Do NOT modify existing entries.
If bugs.md does not exist, create it with the header # Bug Reports: <feature-name> followed by the entry.
For text-input bugs only (NOT for GitHub inbound — issue already exists):
gh issue create --title "<description>" --body "<bugs.md entry content>" --label "bug" if gh available, otherwise curl the GitHub API (POST /repos/{owner}/{repo}/issues)Unix/macOS/Linux:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/testify-tdd.sh assess-tdd "CONSTITUTION.md"Windows (PowerShell):
pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/powershell/testify-tdd.ps1 assess-tdd "CONSTITUTION.md"Parse JSON response for determination field.
If TDD is mandatory (determination = mandatory):
<feature_dir>/tests/test-specs.md exists/iikit-05-testify first."bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/testify-tdd.sh rehash "<feature_dir>/tests/test-specs.md"valid, STOP and report error:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/testify-tdd.sh verify-hash "<feature_dir>/tests/test-specs.md"Get next task IDs:
Unix/macOS/Linux:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/bash/bugfix-helpers.sh --next-task-ids "<feature_dir>" <count>Windows (PowerShell):
pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-bugfix/scripts/powershell/bugfix-helpers.ps1 --next-task-ids "<feature_dir>" <count>Non-TDD task set (count = 3):
## Bug Fix Tasks
- [ ] T-BNNN [BUG-NNN] Investigate root cause for BUG-NNN: <description>
- [ ] T-BNNN+1 [BUG-NNN] Implement fix for BUG-NNN: <description>
- [ ] T-BNNN+2 [BUG-NNN] Write regression test for BUG-NNN: <description>TDD task set (count = 2):
## Bug Fix Tasks
- [ ] T-BNNN [BUG-NNN] Implement fix for BUG-NNN referencing test spec TS-NNN: <description>
- [ ] T-BNNN+1 [BUG-NNN] Verify fix passes test TS-NNN for BUG-NNN: <description>If GitHub issue is linked, include reference in task descriptions (e.g., (GitHub #42)).
Append to existing <feature_dir>/tasks.md. If tasks.md does not exist, create it with:
# Tasks: <feature-name>
## Bug Fix Tasks
[tasks here]Do NOT modify existing entries or task IDs in tasks.md.
Output a summary:
Bug reported successfully!
Bug ID: BUG-NNN
Feature: <feature-name>
Severity: <severity>
GitHub Issue: #number (or N/A)
Tasks: T-BNNN through T-BNNN+N
Files modified:
- <feature_dir>/bugs.md (created/appended)
- <feature_dir>/tasks.md (appended)
- <feature_dir>/tests/test-specs.md (appended, TDD only)
Next step:
- /iikit-08-implement — runs in bugfix mode (relaxed gates: no checklist or plan required, traces to bugs.md instead of spec)
- Dashboard: file://$(pwd)/.specify/dashboard.html (resolve the path)| Condition | Response |
|---|---|
| Empty input | ERROR with usage example |
| No features found | ERROR: "Run /iikit-01-specify first" |
| Feature validation failed | ERROR with specific message |
| GitHub API unreachable | Fall back: gh → curl GitHub API → skip with WARN |
| GitHub issue not found | ERROR with "verify issue number" |
| TDD required, no test-specs.md | ERROR: "Run /iikit-05-testify first" |
| Existing bugs.md | Append without modifying existing entries |
| Existing tasks.md | Append without modifying existing entries |
Install with Tessl CLI
npx tessl i tessl-labs/intent-integrity-kit@2.3.5rules
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