joelhooks/joelclaw
CLI Design
4 068e ex aequo sur 4 265 skills du métier Développement, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Système de conception pour des CLI réellement utilisables par des agents. Chaque commande renvoie du JSON structuré avec un tableau next_actions de style HATEOAS indiquant la suite à exécuter, avec des modèles POSIX préremplis. Pas de texte brut, de tableaux ni d'option --json. L'enveloppe est stricte : ok, command, result, next_actions, et error/fix en cas d'échec.
Voir la description originale (anglais)
This is a complete design system for building CLIs that agents can actually use. Every command returns structured JSON with HATEOAS-style next_actions arrays that tell the agent what to run next, using POSIX templates with pre-filled context values. No plain text, no tables, no --json flags. The envelope format is strict (ok/command/result/next_actions for success, plus error/fix for failures) and backed by Effect CLI with Bun. Output is context-protecting by default, auto-truncating logs and large responses to avoid blowing up token budgets. Use this when building new CLIs or adding commands to existing ones like joelclaw or slog. The opinionated constraints make it narrow but extremely practical for agentic workflows.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.