Skip to main content

cli-dev-tools

CLI development patterns and structure conventions. Use when building commands or command-line tools.

来源信息

仓库
dabydat/alpha-omega
最近来源活动
2026年9月25日 06:21
检测到的 SKILL.md 语言
英语
星标
1
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
cli-dev-tools
description
CLI development patterns and structure conventions. Use when building commands or command-line tools.
# neuron: cli-dev-tools - triggers_when: a slash command or a CLI tool is created - tier: T1 - budget: 300 tokens - eval: command with complete frontmatter and correct structure -> threshold 1 - reward: pheromone +1 if eval >= threshold ## Procedure 1. Create `src/commands/<name>/` with index.ts and handler.ts. 2. Write the frontmatter: name, description, argument-hint, model. 3. Implement the tool in `src/tools/<Name>/` with toolName.ts and UI.tsx. 4. Add --help with examples, --verbose and --dry-run. 5. Review the quality checklist before delivering. ## Checklist - [ ] Complete frontmatter (name, description, argument-hint) - [ ] Types defined in all calls - [ ] Complete error handling - [ ] No hardcoded values; functions <=30 lines ## Pitfalls - Forgetting argument-hint in the frontmatter - Hardcoding values instead of constants - Incorrect colors (green=ok, red=error)
在 GitHub 查看