Retour au catalogue
Annoté par modèleDéveloppement

Dossier du skill

cli-developer

Déclaration de la source

Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.

La description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.

developmentreferences

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Annoté par modèle

Skill Atlas model curation · model-curated-1.0.0

Guides building command-line tools: plan the command hierarchy, implement with commander, click, typer or cobra, polish UX, and smoke-test across platforms.

Portée de l'examen

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacités observables

  • Lists commands and expected --help output before writing code.
  • Implements commands with a framework suited to the language and checks --help and --version.
  • Adds shell completions, progress indicators and clear error messages.
  • Checks TTY detection for color, SIGINT handling and non-interactive fallbacks for CI.

Limites et portée

  • The sub-50ms startup target is a stated goal that is not verified here and may be hard for some runtimes.
  • Cross-platform testing on Windows, macOS and Linux needs access to those environments.
  • Only the Node.js commander example is inline; Python and Go examples are in separate references.

Pertinent pour

  • Developers building command-line tools
  • Teams standardizing flag naming and help text
  • Maintainers adding shell completions

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
6
Fichiers Markdown
6
scripts
0
références
5
Taille
48,8 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/cli-developer/references/design-patterns.mdRéférence5,1 KB
skills/cli-developer/references/go-cli.mdRéférence10,7 KB
skills/cli-developer/references/node-cli.mdRéférence8,2 KB
skills/cli-developer/references/python-cli.mdRéférence10,2 KB
skills/cli-developer/references/ux-patterns.mdRéférence9,9 KB
skills/cli-developer/SKILL.mdInstruction4,7 KB

Frontmatter du SKILL.md

{
  "name": "cli-developer",
  "description": "Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "devops",
    "triggers": "CLI, command-line, terminal app, argument parsing, shell completion, interactive prompt, progress bar, commander, click, typer, cobra",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "devops-engineer"
  }
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Entrée

    Analyze UX

    Identify workflows and command hierarchy, then list all commands with expected --help output.

  2. 02
    Action

    Implement and check help

    Build with the framework for the language, then run the CLI with --help and --version.

  3. 03
    Décision

    Respect the terminal

    Do not use colors when output is not a TTY; detect it before applying color.

  4. 04
    Sortie

    Deliver CLI package

    Provide the command structure, configuration handling, core code, completions and UX notes.

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Attention recommandée

80 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsObservé
Note

File modification is described or implemented

65 occurrences

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 65 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Moyen

Network access is mentioned

9 occurrences

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 9 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Élevé

Elevated privileges are referenced

4 occurrences

Privilege-elevation syntax is present. Confirm whether elevation is necessary and inspect every operation performed under it; static analysis cannot prove that elevation succeeded. This rule matched 4 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Élevé

Credential or secret material is referenced

2 occurrences

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 2 location(s) in the collected text; 2 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Note de sécurité éditoriale

Review any generated install or distribution steps and make sure the CLI never prints secrets or hardcodes platform-specific paths.

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/cli-developer # .claude/skills/cli-developer
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/cli-developer/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Vérifier l'installation

Confirm cli-developer/SKILL.md exists at the destination, then ask Claude Code to use the cli-developer skill on a small test task.

Prérequis

  • The sub-50ms startup target is a stated goal that is not verified here and may be hard for some runtimes.
  • Cross-platform testing on Windows, macOS and Linux needs access to those environments.
  • Only the Node.js commander example is inline; Python and Go examples are in separate references.

Exemples de prompts

Representative task

Use the cli-developer skill to design and implement a Node.js commander CLI called mytool with a greet subcommand, --help and --version, shell completions and a non-interactive mode.

Inspect before use

Read the cli-developer skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/cli-developer/SKILL.md and its referenced files. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Une conclusion, avec ses limites

Points forts

  • Concrete MUST NOT rules such as no color when output is not a TTY and no required prompts in CI.
  • Treats flag or subcommand renames as breaking changes.

Points d'attention

  • Mandates shell completions and tri-platform testing, which can be overkill for small scripts.
  • Framework choice is left to references rather than decided in the main file.
Conclusion de recherche

A solid UX checklist for CLI work, best for tools that will be distributed to other users.

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

Jeffallanclaude-skillsskills/cli-developer
Type de source
Communauté
Commit
67c1961b180dc92cf08983344627109e983e8f51
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
MIT
Étoiles du dépôt
12 469
Base du contenu

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.