cli-creator
Build or refine a reusable agent-friendly CLI with compact output, structured modes where practical, setup checks, read-first flow, and companion skill support.
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- cli-creator
- description
- Build or refine a reusable agent-friendly CLI with compact output, structured modes where practical, setup checks, read-first flow, and companion skill support.
03 SKILL.md 正文
Purpose
Use this skill when repeated repository work should be turned into a reusable CLI instead of being solved with ad hoc shell commands.
Best-fit cases
- CI or build investigation
- report export
- API-backed search and read
- architecture validation
- localization generation
- changelog drafting
- local archive inspection
Principles
Design for repeated agent use.
The CLI should be:
- non-interactive by default
- compact by default
- machine-readable where practical
- explicit about setup and auth
- clear about discovery versus exact read
- able to export large results to files
- safe by default
- separated into read versus write paths
Recommended command shape
Use this structure unless the repository clearly needs something else:
<cli> doctor<cli> auth status<cli> search ...<cli> list ...<cli> read <id><cli> export ...<cli> download ...<cli> draft ...<cli> write ...
Recommended flags:
--json--limit--output--dry-run
Required workflow
- inspect repository conventions
- propose the command surface before implementation
- keep defaults small
- implement discovery output compactly
- require stable IDs for exact reads
- route large outputs to files
- keep live writes separate
- add or update a companion skill
- verify the CLI from outside the source directory
Deliverable format
Return:
- assumptions
- proposed command surface
- files to create or update
- implementation summary
- verification proof
- companion skill content
- shortest future invocation prompt
Anti-patterns
Avoid:
- interactive prompts
- giant stdout dumps
- mixed read and write behavior
- hidden state with no way to inspect it
- vague setup failures
- undocumented install paths
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
web-testing
暂无简介
web-state
暂无简介