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
Core skill providing project initialization, status checking, and workflow help.
$ARGUMENTSParse the user input to determine which subcommand to execute.
If no subcommand is provided, show help.
Initialize intent-integrity-kit in the current directory. Handles the full project bootstrap: git init, optional GitHub repo creation, or cloning an existing repo. Optionally seeds the project backlog from an existing PRD/SDD document.
The $ARGUMENTS after init may include an optional path or URL to a PRD/SDD document (e.g., /iikit-core init ./docs/prd.md or /iikit-core init https://example.com/prd.md). If present, store it as prd_source for use in Step 6.
Working directory: All script paths below are relative to the project root. Before running any script, verify you are in the project root directory (
pwdshould show the directory containingtessl.jsonor.tessl/). If the script path doesn't resolve, find it:find . -path "*/iikit-core/scripts/bash/git-setup.sh" 2>/dev/null || find ~/.tessl -path "*/iikit-core/scripts/bash/git-setup.sh" 2>/dev/null
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/bash/git-setup.sh --json
# Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/powershell/git-setup.ps1 -JsonJSON fields: git_available, is_git_repo, has_remote, remote_url, is_github_remote, gh_available, gh_authenticated, has_iikit_artifacts.
If gh_available is false, suggest: "GitHub CLI (gh) is not installed. Install it from https://cli.github.com/ for the best experience. Proceeding with curl fallback for GitHub operations."
Auto-skip: If is_git_repo + has_remote, skip to Step 2.
| Option | Requires | Action |
|---|---|---|
| A) Init here | git_available | git init, then offer GitHub repo create (gh or API). Ask public/private. |
| B) Clone | git_available | Ask for URL/owner/name. gh repo clone or git clone. |
| C) Skip | — | Proceed without git. Warn: no assertion integrity hooks. |
Hide options whose prerequisites aren't met. If git_available is false, only C is available.
test -f "CONSTITUTION.md"
mkdir -p .specify specs
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/bash/init-project.sh --json
# Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/powershell/init-project.ps1 -JsonInstalls pre-commit (assertion validation) and post-commit (hash storage) hooks.
If PREMISE.md does not exist, create it from the user's input using premise-template.md. Extract from the user's init description:
Replace ALL bracket placeholders [PLACEHOLDER] with actual content. This is MANDATORY — init is not complete without PREMISE.md.
After writing PREMISE.md, validate:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/bash/validate-premise.sh --json "$PROJECT_PATH"If validation fails (remaining placeholders or missing sections), fix and re-validate.
Directories created, hook status, PREMISE.md status. Suggest /iikit-00-constitution.
Gate: Requires is_github_remote AND user provided a PRD/SDD document. If not met, skip silently.
Follow the detailed procedure in prd-seeding.md: resolve input → read document → extract and order features → present for user confirmation → create GitHub issues.
Show constitution status, feature count, and suggest /iikit-core status.
Run:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/bash/check-prerequisites.sh --phase status --json
# Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/powershell/check-prerequisites.ps1 -Phase status -JsonPresent results (all logic is in script output — just display):
feature_stage, artifact status (artifacts object), checklist progress (checklist_checked/checklist_total), ready_for phase, next_stepclear_before is true, prepend /clear suggestion. If next_step is null, report feature as complete.Select the active feature when multiple features exist in specs/.
The $ARGUMENTS after use is the feature selector: a number (1, 001), partial name (user-auth), or full directory name (001-user-auth).
Run:
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/bash/set-active-feature.sh --json <selector>
# Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/powershell/set-active-feature.ps1 -Json <selector>Parse JSON for active_feature and stage.
Report active feature, stage, and suggest next command: specified → /iikit-02-clarify or /iikit-03-plan | planned → /iikit-04-checklist or /iikit-06-tasks | tasks-ready → /iikit-08-implement | implementing-NN% → /iikit-08-implement (resume) | complete → done. Suggest /clear before next skill when appropriate.
If no selector, no match, or ambiguous match: show available features with stages and ask user to pick.
Display the workflow reference from help-reference.md verbatim.
Unknown subcommand → show help. Not in a project → suggest init. Git unavailable → warn but continue.
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