Zurück zum Katalog
ModellkuratiertEntwicklung

Skill-Dossier

cli-developer

Quellenangabe

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.

Die ursprüngliche Beschreibung der Autorinnen und Autoren, unverändert auf Englisch. Sie beschreibt die Absicht, nicht die geprüfte Leistung.

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

Die Forschungsinhalte dieser Website sind auf Englisch und Chinesisch veröffentlicht und werden hier auf Englisch angezeigt.

Forschungszusammenfassung

Modellkuratiert

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.

Prüfungsumfang

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.

Beobachtbare Fähigkeiten

  • 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.

Grenzen & Umfang

  • 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.

Relevant für

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

Was der Skill enthält

Die Dateiübersicht stammt aus der erfassten Quelle beim protokollierten Commit. Pfade und Größen sind strukturelle Beobachtungen, kein Qualitätsmaß.

Dateien
6
Markdown-Dateien
6
Skripte
0
Verweise
5
Größe
48,8 KB
Strukturelle Komplexität
Niedrig

Dateiübersicht

PfadArtBytes
skills/cli-developer/references/design-patterns.mdVerweis5,1 KB
skills/cli-developer/references/go-cli.mdVerweis10,7 KB
skills/cli-developer/references/node-cli.mdVerweis8,2 KB
skills/cli-developer/references/python-cli.mdVerweis10,2 KB
skills/cli-developer/references/ux-patterns.mdVerweis9,9 KB
skills/cli-developer/SKILL.mdAnweisung4,7 KB

SKILL.md-Frontmatter

{
  "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"
  }
}

Eine Lesart des Ablaufs

Dieser Workflow rekonstruiert die offensichtliche Reihenfolge aus dem Quellmaterial. Sofern nicht ausdrücklich eine kontrollierte Evaluation protokolliert ist, ist er vorläufig und keine beobachtete Ausführung.

  1. 01
    Eingabe

    Analyze UX

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

  2. 02
    Aktion

    Implement and check help

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

  3. 03
    Entscheidung

    Respect the terminal

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

  4. 04
    Ausgabe

    Deliver CLI package

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

Mögliche Risikoflächen

Statische Befunde zeigen Stellen, die vor der Installation zu prüfen sind. Sie belegen nicht, dass ein Skill sicher, bösartig oder wirksam ist.

Aufmerksamkeit empfohlen

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.

NetzwerkzugriffBeobachtet
DateischreibzugriffeBeobachtet
Verwendung von ZugangsdatenBeobachtet
Hinweis

File modification is described or implemented

65 Vorkommen

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.

Mittel

Network access is mentioned

9 Vorkommen

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.

Hoch

Elevated privileges are referenced

4 Vorkommen

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.

Hoch

Credential or secret material is referenced

2 Vorkommen

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.

Redaktioneller Sicherheitshinweis

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

Wo Kontext verbraucht werden kann

Discovery-, Aktivierungs- und Ressourcenschichten haben unterschiedliche Bedeutung. Exakte Werte erscheinen nur, wenn die offizielle Zählmethode mit einem benannten Modell lief.

Keine exakten Token-Zählwerte verfügbar

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

Es wurde keine Token-Messung mit der vorgeschriebenen offiziellen Methode erfasst. Dieses Dossier ersetzt sie nicht durch Zeichenanzahl, Dateigröße oder Schätzwerte.

Kontrollierte Evaluation

Keine kontrollierte Evaluation

Für diesen Skill liegen nur die oben genannten Belege vor. Es wird keine Aufgabenerfolgsquote, Token-Effizienz, Latenz oder kein Qualitätsvorteil behauptet.

Nicht getestet

Verwendung mit der Quelle im Blick

Installationsbefehl
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.
Installation prüfen

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

Voraussetzungen

  • 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.

Beispiel-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.

Ein Urteil, mit seinen Grenzen

Stärken

  • 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.

Abwägungen

  • 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.
Forschungsfazit

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

Konstruktiv nachvollziehbar

Das Dossier ist eine zeitlich begrenzte Lesart eines öffentlichen Artefakts, keine Empfehlung. Über den Quelllink können Sie das exakte Upstream-Material prüfen.

Jeffallanclaude-skillsskills/cli-developer
Quellenart
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Erfasst
20. Nov. 2026
Zuletzt geprüft
20. Nov. 2026
Upstream-Lizenz
MIT
Repository-Sterne
12.469
Inhaltsgrundlage

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.