Logo di Design Cli

Design Cli

Community
mzbac
design-cli

Design or review agent-friendly command-line interfaces for tools, wrappers, and internal platforms. Use when Codex needs to create a new CLI, simplify an existing one, map real workflows to commands and flags, improve `--help` and error behavior, define stdout/stderr and file output contracts, add safety rails for destructive actions, or turn an API/service/browser workflow into a shell-first interface that humans and agents can drive reliably.

Panoramica

Autoremzbac
Repositoryskills
Nome della skilldesign-cli
Stelle
27
Fork
1
File inclusi
2
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 2 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da mzbac su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Design Cli in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/mzbac/skills/tree/main/skills/design-cli
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mzbac/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/design-cli .claude/skills/design-cli
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Design Cli in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Design Cli non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Design Cli non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Design CLI

Design the interface around the operator's real work, not the system's internal nouns.

Start from repeated tasks, decisions, artifacts, and risks. Create the smallest command surface that makes those paths obvious and safe, then leave an escape hatch to the shell, files, or existing tools for everything else.

Default Deliverable

Unless the user asks for code only, work through these outputs:

  1. Operator model: who runs the command and what success looks like
  2. Proposed command surface: verbs, nouns, flags, stdin/files, examples
  3. Help contract: what --help teaches on the happy path
  4. Output contract: stdout, stderr, exit codes, files, JSON if needed
  5. Safety model: dry run, confirmation, overwrite, rollback
  6. Implementation notes: parser changes, tests, docs/help updates

If the user asks for implementation, turn the design into code and tests in the repo's existing CLI framework.

Workflow

1. Model the job

  • Name the operator: human, agent, automation, or mixed.
  • State the desire path as a short sentence: "take X and produce Y safely."
  • Separate control inputs from payloads:
    • Use flags for control knobs.
    • Use stdin or files for larger content.
    • Use stdout for the primary result.
    • Use stderr for progress and diagnostics.
  • Identify irreversible or high-cost actions early.

2. Choose the command shape

  • Prefer a few obvious verbs over a tree that mirrors backend tables or REST endpoints.
  • Keep the happy path short. Push rare configuration into flags or deeper subcommands.
  • Use names that describe intent, such as plan, check, diff, apply, cancel, resume, or export.
  • Support non-interactive execution when the workflow will be agent-driven.
  • Keep naming and flag semantics consistent across sibling commands.
  • Do not map internal nouns 1:1 into commands unless they already match operator language.

3. Design progressive help

  • Make the first help line say exactly what the command does.
  • Show 3-5 copy/pasteable examples before the exhaustive flag list.
  • Put required inputs, defaults, and file/output behavior near the top.
  • Make --help sufficient for the common path.

4. Make errors corrective

  • Print failures to stderr.
  • Include what failed, why it likely failed, and the exact next step to recover.
  • Use non-zero exit codes for failures. Split user error from system error when that distinction matters.
  • Do not hide failure inside conversational prose while still exiting 0.

5. Design the output contract

  • Use stable plain text by default when humans or LLMs will read the result directly.
  • Use JSON only when structured interchange is actually needed.
  • For large outputs, write files and print a short summary plus the artifact path.
  • Keep stdout parseable. Do not mix logs, banners, and primary results.
  • Add quiet or verbose modes only when they solve a real problem.

6. Add safety rails

  • Prefer check, diff, or plan before apply.
  • Add --dry-run for commands with side effects.
  • Require explicit confirmation flags for destructive or high-cost actions.
  • Make overwrite or replace behavior explicit.
  • Expose undo or rollback directly when feasible.

7. Iterate from real use

  • Start with terminal, browser, and file-system workflows when the domain is still fuzzy.
  • Watch what the operator repeats, where it hesitates, and what it gets wrong.
  • Convert only the stable repeated patterns into CLI affordances.
  • Keep the CLI narrow enough that it reduces choices instead of recreating the whole product surface.

Review Heuristics

When reviewing an existing CLI, look for:

  • Backend-shaped command trees that do not match user intent
  • Help text that lists flags but does not teach the happy path
  • Commands that interleave logs and results on stdout
  • Errors that lack a concrete fix
  • Missing --dry-run, confirmation, or idempotency
  • Large blobs printed inline instead of saved to files
  • Interactive prompts in workflows that should be scriptable
  • State hidden in memory instead of inspectable files or commands

Implementation Notes

  • Match the repo's existing CLI library and help conventions.
  • Update parser definitions, help text/examples, and tests together.
  • Add tests for help text, exit codes, stdout/stderr separation, dry-run behavior, and destructive confirmation paths.

Use the Reference

Read agent-cli-principles.md when you need a deeper checklist, example command reshapes, or source-derived guidance on help, errors, output, and iterative CLI design.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Design Cli?

Design or review agent-friendly command-line interfaces for tools, wrappers, and internal platforms. Use when Codex needs to create a new CLI, simplify an existing one, map real workflows to commands and flags, improve `--help` and error behavior, define stdout/stderr and file output contracts, add safety rails for destructive actions, or turn an API/service/browser workflow into a shell-first interface that humans and agents can drive reliably.

Perché usare Design Cli su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Design Cli è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Design Cli in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/mzbac/skills/tree/main/skills/design-cli. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Design Cli?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Design Cli?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Design Cli: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Design Cli è gratuita?

È pubblicata su GitHub da mzbac. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇