iikit-core
Initialize an IIKit (Intent Integrity Kit) project, check IIKit feature progress, select the active IIKit feature, and display the IIKit workflow command reference. Use when starting a new IIKit project, running IIKit init or setup, checking IIKit status, switching between IIKit features, looking up IIKit available commands and phases, or asking for help with the IIKit workflow.
- License 许可
- MIT
- 最近更新
- 2026-10-12
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- iikit-core
- license
- MIT
- metadata
- { "version": "1.6.4" }
- description
- Initialize an IIKit (Intent Integrity Kit) project, check IIKit feature progress, select the active IIKit feature, and display the IIKit workflow command reference. Use when starting a new IIKit project, running IIKit init or setup, checking IIKit status, switching between IIKit features, looking up IIKit available commands and phases, or asking for help with the IIKit workflow.
02 资源文件 82
- 参考文档references/ambiguity-taxonomies.md2.5 KB
- 参考文档references/checklist-gate.md737 B
- 参考文档references/ci-assertion-verification.md1.4 KB
- 参考文档references/constitution-loading.md1.5 KB
- 参考文档references/conversation-guide.md2.2 KB
- 参考文档references/formatting-guide.md3.9 KB
- 参考文档references/help-reference.md1.3 KB
- 参考文档references/model-recommendations.md2.5 KB
- 参考文档references/phase-separation-rules.md1.6 KB
- 参考文档references/prd-seeding.md2.3 KB
- 脚本scripts/bash/bugfix-helpers.sh6.3 KB
- 脚本scripts/bash/check-hook-bypass.sh1.6 KB
- 脚本scripts/bash/check-prerequisites.sh29.2 KB
- 脚本scripts/bash/common.sh25.3 KB
- 脚本scripts/bash/create-new-feature.sh10.0 KB
- 脚本scripts/bash/fetch-tile-evals.sh4.5 KB
- 脚本scripts/bash/generate-dashboard-safe.sh2.0 KB
- 脚本scripts/bash/git-setup.sh3.3 KB
- 脚本scripts/bash/init-full.sh1.9 KB
- 脚本scripts/bash/init-project.sh6.3 KB
- 脚本scripts/bash/next-step.sh14.3 KB
- 脚本scripts/bash/post-commit-hook.sh6.2 KB
- 脚本scripts/bash/post-phase.sh2.8 KB
- 脚本scripts/bash/pre-commit-hook.sh19.8 KB
- 脚本scripts/bash/session-context-hook-gemini.sh1.7 KB
- 脚本scripts/bash/session-context-hook.sh1.2 KB
- 脚本scripts/bash/set-active-feature.sh3.2 KB
- 脚本scripts/bash/setup-bdd.sh7.6 KB
- 脚本scripts/bash/setup-plan.sh139 B
- 脚本scripts/bash/setup-unix-links.sh6.6 KB
- 脚本scripts/bash/testify-tdd.sh24.1 KB
- 脚本scripts/bash/update-agent-context.sh8.4 KB
- 脚本scripts/bash/validate-premise.sh6.5 KB
- 脚本scripts/bash/verify-assertion-integrity.sh8.6 KB
- 脚本scripts/bash/verify-bdd.sh2.1 KB
- 脚本scripts/bash/verify-step-quality.sh24.4 KB
- 脚本scripts/bash/verify-steps.sh13.1 KB
- 脚本scripts/bash/verify-test-execution.sh6.8 KB
- 脚本scripts/dashboard/public/index.html218.8 KB
- 脚本scripts/dashboard/src/analyze.js7.0 KB
- 脚本scripts/dashboard/src/board.js3.2 KB
- 脚本scripts/dashboard/src/bugs.js4.9 KB
- 脚本scripts/dashboard/src/checklist.js2.5 KB
- 脚本scripts/dashboard/src/generate-dashboard.js10.2 KB
- 脚本scripts/dashboard/src/integrity.js1.7 KB
- 脚本scripts/dashboard/src/parser.js48.5 KB
- 脚本scripts/dashboard/src/pipeline.js7.2 KB
- 脚本scripts/dashboard/src/planview.js9.2 KB
- 脚本scripts/dashboard/src/public/index.html218.8 KB
- 脚本scripts/dashboard/src/storymap.js1.4 KB
- 脚本scripts/dashboard/src/testify.js6.2 KB
- 脚本scripts/dashboard/template.js226.5 KB
- 脚本scripts/powershell/bugfix-helpers.ps14.4 KB
- 脚本scripts/powershell/check-prerequisites.ps123.3 KB
- 脚本scripts/powershell/common.ps114.3 KB
- 脚本scripts/powershell/create-new-feature.ps110.1 KB
- 脚本scripts/powershell/fetch-tile-evals.ps14.2 KB
- 脚本scripts/powershell/generate-dashboard-safe.ps11.8 KB
- 脚本scripts/powershell/git-setup.ps13.2 KB
- 脚本scripts/powershell/init-project.ps16.0 KB
- 脚本scripts/powershell/next-step.ps110.7 KB
- 脚本scripts/powershell/post-commit-hook.ps18.5 KB
- 脚本scripts/powershell/pre-commit-hook.ps116.0 KB
- 脚本scripts/powershell/set-active-feature.ps12.6 KB
- 脚本scripts/powershell/setup-bdd.ps111.0 KB
- 脚本scripts/powershell/setup-plan.ps1228 B
- 脚本scripts/powershell/setup-windows-links.ps19.0 KB
- 脚本scripts/powershell/testify-tdd.ps122.1 KB
- 脚本scripts/powershell/update-agent-context.ps112.3 KB
- 脚本scripts/powershell/validate-premise.ps15.4 KB
- 脚本scripts/powershell/verify-step-quality.ps120.2 KB
- 脚本scripts/powershell/verify-steps.ps112.5 KB
- 脚本scripts/powershell/verify-test-execution.ps16.6 KB
- 参考文档templates/agent-file-template.md1.2 KB
- 参考文档templates/checklist-template.md1.3 KB
- 参考文档templates/constitution-template.md3.0 KB
- 参考文档templates/plan-template.md3.3 KB
- 参考文档templates/prd-issue-template.md888 B
- 参考文档templates/premise-template.md586 B
- 参考文档templates/spec-template.md3.8 KB
- 参考文档templates/tasks-template.md5.3 KB
- 参考文档templates/testspec-template.md2.1 KB
03 SKILL.md 正文
Intent Integrity Kit Core
Core skill providing project initialization, status checking, and workflow help.
User Input
$ARGUMENTS
Parse the user input to determine which subcommand to execute.
Subcommands
- init - Initialize intent-integrity-kit in a new or existing project
- status - Show current project and feature status
- use - Select the active feature for multi-feature projects
- help - Display workflow phases and command reference
If no subcommand is provided, show help.
Subcommand: init
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.
Argument Parsing
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.
Execution Flow
Working directory: All script paths are relative to the project root (the directory containing
tessl.jsonor.tessl/). If a script path doesn't resolve, search with:find . -path "*/iikit-core/scripts/bash/<script>.sh" 2>/dev/null || find ~/.tessl -path "*/iikit-core/scripts/bash/<script>.sh" 2>/dev/null
Step 0 — Detect environment, initialize hooks, check premise
bash .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/bash/init-full.sh --json
# Windows: pwsh .tessl/tiles/tessl-labs/intent-integrity-kit/skills/iikit-core/scripts/powershell/init-full.ps1 -Json
Parse JSON for git (environment), init (hooks), and premise (validation) sections.
git.gh_availablefalse → suggest installing GitHub CLIinit.git_user_configuredfalse → ask user for name/email, rungit config
Step 1 — Git/GitHub setup
Auto-skip: If git.is_git_repo + git.has_remote, skip to Step 2.
Choose from available options (hide any whose prerequisites aren't met):
- A) Init here — requires
git.git_available: rungit init, then offer GitHub repo creation (ghor API); ask public/private. - B) Clone — requires
git.git_available: ask for URL orowner/name; rungh repo cloneorgit clone. - C) Skip — always available: proceed without git; warn that assertion integrity hooks won't be active.
If git_available is false, only option C is available.
Step 2 — Check if already initialized
test -f "CONSTITUTION.md"
Step 3 — Create directory structure
mkdir -p .specify specs
Step 4 — Create PREMISE.md
If premise.status is FAIL or PREMISE.md doesn't exist: create from user's input using premise-template.md. Extract:
- What: project description (from the user's input text)
- Who: target users (infer from context, or ask)
- Why: problem being solved (infer from context, or ask)
- Domain: business/technical domain
- Scope: system boundaries
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
If validation fails (remaining placeholders or missing sections), fix and re-validate.
Step 5 — Report
Directories created, hook status, PREMISE.md status. Suggest /iikit-00-constitution. Recommend installing companion juliusbrussee/caveman (tessl install juliusbrussee/caveman) and activating /caveman full at session start — ~30% cost and wall-clock savings measured across the IIKit workflow.
Step 6 — Seed backlog from PRD (optional)
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.
If Already Initialized
Show constitution status, feature count, and suggest /iikit-core status.
Subcommand: status
Execution Flow
-
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 -Json -
Present results (all logic is in script output — just display):
- Project name,
feature_stage, artifact status (artifactsobject), checklist progress (checklist_checked/checklist_total),ready_forphase,next_step - If
clear_beforeis true, prepend/clearsuggestion. Ifnext_stepis null, report feature as complete.
- Project name,
Subcommand: use
Select the active feature when multiple features exist in specs/.
User Input
The $ARGUMENTS after use is the feature selector: a number (1, 001), partial name (user-auth), or full directory name (001-user-auth).
Execution Flow
-
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_featureandstage. -
Report active feature, stage, and suggest next command:
specified→/iikit-clarifyor/iikit-02-plan|planned→/iikit-03-checklistor/iikit-05-tasks|testified→/iikit-05-tasks|tasks-ready→/iikit-07-implement|implementing-NN%→/iikit-07-implement(resume) |complete→ done. Suggest/clearbefore next skill when appropriate.
If no selector, no match, or ambiguous match: show available features with stages and ask user to pick.
Subcommand: help (also default when no subcommand)
Display the workflow reference from help-reference.md verbatim.
Resources
- spec-template.md, plan-template.md, agent-file-template.md — feature scaffolding
- prd-issue-template.md — PRD backlog seeding
- help-reference.md — workflow command reference
Error Handling
Unknown subcommand → show help. Not in a project → suggest init. Git unavailable → warn but continue.
04 同仓库更多 Skills
swiss-design
Apply a Swiss International Style design system using Tailwind CSS. Use when asked to style a webpage, clean up a UI, apply a design system, make something look great, or when the user references Swiss design, grotesque fonts, Helvetica, grid systems, modernist typography, or 1960s/1950s design aesthetics. Implements IBM Plex Sans typography, stone color palette, opacity-based hierarchy, generous whitespace, and structured grid layouts.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
iikit-clarify
Resolve ambiguities in any project artifact — auto-detects the most recent artifact (spec, plan, checklist, testify, tasks, or constitution), asks targeted questions with option tables, and writes answers back into the artifact's Clarifications section. Use when requirements are unclear, a plan has trade-off gaps, checklist thresholds feel wrong, test scenarios are imprecise, task dependencies seem off, or constitution principles are vague.
iikit-bugfix
Report a bug against an existing feature — creates a structured bugs.md record, generates fix tasks in tasks.md, and optionally imports from or creates GitHub issues. Use when fixing a bug, reporting a defect, importing a GitHub issue into the workflow, or triaging an error without running the full specification process.
iikit-08-taskstoissues
Convert tasks from tasks.md into GitHub Issues with labels and dependencies. Use when exporting work items to GitHub, setting up project boards, or assigning tasks to team members.
iikit-07-implement
Execute the implementation plan by coding each task from tasks.md — writes source files, runs tests, verifies assertion integrity, and validates output against constitutional principles. Use when ready to build a feature from a tasks.md plan, start coding against an Intent Integrity Kit implementation plan, develop from the task list, resume a partially completed implementation, or run the implement phase of the iikit workflow.