Skip to main content

cli-dev-tools

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

Informations de source

Dépôt
dabydat/alpha-omega
Dernière activité de la source
25 septembre 2026 à 06:21
Langue détectée de SKILL.md
anglais
Étoiles
1
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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)
Voir sur GitHub