一键导入
cli-tooling-executor
Domain guidance for implementing CLI and tooling phases. Loaded when phase category is CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Domain guidance for implementing CLI and tooling phases. Loaded when phase category is CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | cli-tooling-executor |
| description | Domain guidance for implementing CLI and tooling phases. Loaded when phase category is CLI. |
Use the language's standard CLI library (argparse/click for Python, cobra for Go). Define all arguments with types, defaults, and help text in the parser, not manually.
Use subparsers/subcommands rather than manual flag checks. Prevents argument/command confusion.
Always exit 0 for success, >0 for errors. Use specific codes for different error types. Ensure wrappers propagate signal exit codes correctly.
Check stdin.isatty() before prompting. Provide --no-prompt/--yes for non-interactive use. If no TTY and interactive required, exit with informative error.
Sanitize/escape user inputs for shell safety. Use shlex.quote or equivalent when building commands. Handle paths with spaces.
Test via subprocess invocation, not just function calls. Assert exit codes, stdout content, stderr content for: valid input, missing input, invalid input.
Domain guidance for implementing API and service layer phases. Loaded when phase category is API.
Domain guidance for planning API and service layer phases. Loaded when phase category is API.
Domain guidance for reviewing API and service layer phases. Loaded when phase category is API.
Domain guidance for planning authentication and security phases. Loaded when phase category is AUTH.
Domain guidance for planning CLI and tooling phases. Loaded when phase category is CLI.
Domain guidance for planning data and persistence phases. Loaded when phase category is DATA.