Skip to main content

Installable cli-creator agent skill for designing and auditing Python CLI tools.

Project description

cli-creator

cli-creator is a reusable agent skill for designing, building, and auditing Python CLI tools.

skills/cli-creator/SKILL.md is intentionally a router. The detailed guidance lives in the four reference docs, while maintainer-side governance can live in lightweight workspace-root folders when you need them.

Install As A Codex Skill

Copy the skill directory into your Codex skills folder:

git clone https://github.com/AdvancingTitans/cli-creator-skill.git
mkdir -p ~/.codex/skills
cp -R cli-creator-skill/skills/cli-creator ~/.codex/skills/cli-creator

Then ask your agent to use cli-creator when creating or reviewing CLI tools.

Install From PyPI

The console script is cli-creator-skill.

pip install cli-creator-skill
cli-creator-skill install

Install to a custom directory:

cli-creator-skill install --target ~/.agents/skills

Source install is the same console script after editable install:

uv pip install -e .
cli-creator-skill install

Lightweight Skill OS Governance

When you maintain this package, keep the governance artifacts small and local to the workspace root. Use them as routing aids, not as shipped skill content:

  • skill-ir/ — skill intent, review notes, and IR snapshots.
  • evals/ — evaluation cases and result checks.
  • scripts/ — one-off gates and helper commands, including scripts/cli_creator_review_gate.py.
  • reports/ — the four Markdown audit reports emitted by the review gate.
  • registry/ — skill/package registry notes.

One-Command Review Gate

For a quick package check, run the review gate directly:

python3 scripts/cli_creator_review_gate.py

For release verification, build the wheel first and then run the gate against the built wheel:

tmpdir=$(mktemp -d) && uv build --out-dir "$tmpdir" && python3 scripts/cli_creator_review_gate.py --wheel "$tmpdir"/cli_creator_skill-*.whl

What This Skill Helps With

  • Design a new Python CLI from scratch.
  • Review an existing CLI for UX, packaging, errors, model setup, caching, and maintainability.
  • Structure Typer, Click, argparse, or hybrid applications.
  • Build natural multi-turn CLI flows without making users feel like they are filling out a form.
  • Add diagnostics, cache, profile memory, and first-run setup flows when they are actually needed.
  • Review CLI-related skills and templates for trigger clarity, reference completeness, command templates, output contracts, and maintenance strategy.

Repository Structure

Maintainer-side governance folders are shown here as workspace-root aids, not as generated output and not as bundled skill content:

cli-creator-skill/
  skills/cli-creator/
    SKILL.md
    references/
      creation-playbook.md
      pitfalls-and-solutions.md
      review-rubric.md
      technical-best-practices.md
  src/cli_creator_skill/
    installer.py
    __main__.py
  tests/
  .github/workflows/test.yml
  skill-ir/
  evals/
  scripts/
  reports/
  registry/

Usage

Use this skill when you ask:

  • "帮我从零设计一个 Python CLI"
  • "帮我审查这个 Typer CLI"
  • "这个 CLI 的交互很别扭,帮我重构"
  • "帮我设计模型配置、缓存、doctor、profile memory"
  • "帮我发布一个可 pip install 的 CLI"

Design Basis

This skill distills maintainer experience and official documentation patterns for Python packaging, Typer, Click, Rich, uv, Ruff, Pydantic, and LLM provider integration. It does not vendor code or instructions from unofficial third-party repositories.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_creator_skill-0.1.5.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_creator_skill-0.1.5-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file cli_creator_skill-0.1.5.tar.gz.

File metadata

  • Download URL: cli_creator_skill-0.1.5.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cli_creator_skill-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9bb41bfd8c1dd4aad43ac6c6f479b96781ea64f81e9059e15644b633538c36d2
MD5 7cd22e083a24cbd3a9f04d0090bdbd29
BLAKE2b-256 b6b942d7ae099f7c4f2ffe3105e0a8f50a47a5568cf7d45197fa6c470193fa42

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_creator_skill-0.1.5.tar.gz:

Publisher: publish.yml on AdvancingTitans/cli-creator-skill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cli_creator_skill-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_creator_skill-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c1e84ae877a1f5ffa08c41fc5d764b2b24d098c6df1ed23d7f591166521f8f02
MD5 a631393f1f3e40f047a3c70d05fa0405
BLAKE2b-256 60bff49ae5ac89b5f93413e9aa69138ba943996bdc745afdd1d0199257a80c84

See more details on using hashes here.

Provenance

The following attestation bundles were made for cli_creator_skill-0.1.5-py3-none-any.whl:

Publisher: publish.yml on AdvancingTitans/cli-creator-skill

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page