haiku-migrate
Migrate legacy AI-DLC intents to H·AI·K·U format
- License 许可
- Apache-2.0
- 最近更新
- 2026-05-30
- Stars
- ★ 29
- Forks
- 11
01 前言 Front Matter
- name
- haiku-migrate
- description
- Migrate legacy AI-DLC intents to H·AI·K·U format
02 资源文件 5
- 资产文件assets/template.html16.2 KB
- 参考文档example.html4.1 KB
- 参考文档open-design.json9.4 KB
- 参考文档references/checklist.md4.6 KB
- 参考文档references/layouts.md10.7 KB
03 SKILL.md 正文
Migrate
Convert legacy .ai-dlc/ intents to .haiku/ format.
Never apply a migration without showing a dry-run first. Bare haiku migrate is rejected by the binary, but the rule still holds when you pass --all or a specific slug: dry-run, get the user's OK, then apply.
Steps
- List candidates:
ls .ai-dlc/. If the user named a slug, use that. Otherwise show the list and ask which one(s). - Dry-run:
haiku migrate <slug>(dry-run is the default). Show the user the output — what would be written, where, how many files. - Get explicit approval from the user before applying. Don't infer consent from prior context.
- Apply:
haiku migrate <slug> --apply. One slug at a time unless the user explicitly approved--all. - After migration, suggest
/haiku:haiku-pickup <slug>to continue execution.
Flags
--apply— actually write. Default is dry-run.--all— migrate every intent in.ai-dlc/. Pair with--applyto commit.--force— re-migrate intents that already exist under.haiku/. Use sparingly.--allow-dirty— skip the git-clean precheck. Don't pass this without user approval; a dirty tree means the migration output gets tangled with unrelated in-progress work.
Why these rules exist
Bare haiku migrate --apply rewrites every intent in .ai-dlc/ at once. In a monorepo, one such commit shows up in every open MR. The dry-run-then-confirm flow exists so this can't happen by accident.
04 同仓库更多 Skills
haiku-zap
Zero-ceremony single-unit execution — run one task directly through a stage's hat loop without intent or workflow scaffolding
haiku-version
Show the running H·AI·K·U MCP binary version, plugin version, and whether the engine is the dev source build or the compiled bundle
haiku-unarchive
Unarchive an intent — restore a previously archived intent to default lists
haiku-triggers
Poll configured providers for events that should create intents or advance gates
haiku-studios
Browse available H·AI·K·U studios grouped by category with help links into each studio definition
haiku-statusline
Install, remove, or preview the H·AI·K·U custom Claude Code status line — a one-line stage/phase indicator for the active intent