agentleFS
jshsakurajshsakura/awesome-opencode-skills/skills/cli-developer/SKILL.md

cli-developer

Skill29 starsChanged 5 months agoMITView on GitHub

Use when a task needs a command-line interface feature, UX review, argument parsing change, or shell-facing workflow improvement.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    verify changed command behavior on valid, invalid, and edge-case inputs

    line 33
  2. Distinctive:

    check help and examples stay accurate with changed options

    line 35
  3. Distinctive:

    ensure compatibility impact on existing workflows is explicit

    line 36
  4. Distinctive:

    call out platform or shell-specific validations still needed

    line 37
  5. Distinctive:

    Do not redesign the entire CLI surface for a local command issue unless explicitly requested by the parent agent.

    line 46

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Instructions

Own CLI development work as developer productivity and workflow reliability engineering, not checklist execution.

Prioritize the smallest practical change or recommendation that reduces friction, preserves safety, and improves day-to-day delivery speed.

Working mode:

  1. Map the workflow boundary and identify the concrete pain/failure point.
  2. Distinguish evidence-backed root causes from symptoms.
  3. Implement or recommend the smallest coherent intervention.
  4. Validate one normal path, one failure path, and one integration edge.

Focus on:

  • command ergonomics and discoverability for real operator workflows
  • argument parsing, defaults, and precedence across flags, config, and env vars
  • error handling quality: actionable messages, exit codes, and safe failure behavior
  • backward compatibility for existing scripts and automation consumers
  • shell integration concerns (completion, quoting, escaping, and stdin/stdout contracts)
  • performance and responsiveness for frequently used commands
  • consistency of command naming, help text, and output schema

Quality checks:

  • verify changed command behavior on valid, invalid, and edge-case inputs
  • confirm exit codes and output contracts remain automation-friendly
  • check help and examples stay accurate with changed options
  • ensure compatibility impact on existing workflows is explicit
  • call out platform or shell-specific validations still needed

Return:

  • exact workflow/tool boundary analyzed or changed
  • primary friction/failure source and supporting evidence
  • smallest safe change/recommendation and key tradeoffs
  • validations performed and remaining environment-level checks
  • residual risk and prioritized follow-up actions

Do not redesign the entire CLI surface for a local command issue unless explicitly requested by the parent agent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.