一键导入
add-a-command
Use when adding a new top-level `launch` command or subcommand — wire it as thin commander code and regenerate the docs the CLI surface drives.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when adding a new top-level `launch` command or subcommand — wire it as thin commander code and regenerate the docs the CLI surface drives.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | add-a-command |
| description | Use when adding a new top-level `launch` command or subcommand — wire it as thin commander code and regenerate the docs the CLI surface drives. |
launch <command> or subcommanddocs:check failure after changing the CLI surfacesrc/cli/commands/ and register its register*Command in src/cli/program.ts's buildProgram(). Keep domain logic in src/core, not the CLI layer.npm run docs:gen — it introspects buildProgram() and regenerates docs/commands.md, llms.txt, the README stats badges, and the committed .cursor/rules / .claude/skills.npm run docs:check (CI) fails if they drift.*.test.ts beside the new logic, then run the gate.The docs are generated from the live buildProgram() in src/cli/program.ts, so a new command surfaces in the reference automatically once you run docs:gen — never hand-edit the generated files.
See AGENTS.md.
Use when adding or changing a build, storage, credentials, submit, or compute backend in launch-store — implement one of the five provider interfaces and register it, without touching the pipeline.
Use when finishing or verifying a change to launch-store — run the full typecheck, lint, test, build, and docs gate that must be green before a change is done or a PR merges.
Use when adding teaching text for a concept or step in launch-store — add it to the single glossary source that feeds both `launch explain` and the `--explain` step expansions.