cli

Generate project-local developer CLI skeletons and recurring assets.

2|1|Updated Aug 23, 2025
One-click install
npx skills add https://github.com/neozenith/agentic-dotfiles --skill cli-neozenith
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli
Source: https://github.com/neozenith/agentic-dotfiles/tree/main/skills/cli
Command: npx skills add https://github.com/neozenith/agentic-dotfiles --skill cli-neozenith

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires argparse, Typer, Jinja2, ruamel.yaml, importlib.resources, cairosvg, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill unit provides a comprehensive guide and framework for building and extending project-local developer CLIs and the recurring assets they generate, promoting efficiency and reusability across various development patterns.

Core Features & Use Cases

  • CLI Skeletons: Offers shared CLI skeletons for common commands, argument wiring, and project-root discovery.
  • Static SPA Viewer Generation: Guides the creation of static HTML single-page viewers with routing, theming, and chart rendering.
  • GitHub Actions Workflow Templating: Templates GitHub Actions workflows from a base template, with glob-based trigger path generation.
  • Git Worktree Management: Safely builds artifacts from different git references without disturbing the working tree.
  • SVG Diagram Generation: Autogenerates SVG/PNG diagrams from a stencil icon pack.
  • PR Comment Automation: Automates the insertion of PR comments and embedded images from CI artifacts.
  • Use Case: A developer can use this skill to create a custom CLI for their project, leveraging the provided patterns for static HTML viewers, GitHub Actions workflows, and more, ensuring consistency and reusability across their toolset.

Quick Start

Use the cli skill to scaffold a new CLI project with the following command:

/cli generate skeleton

Frequently Asked Questions about cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a project-local developer CLI for recurring assets?

To scaffold a project-local developer CLI for recurring assets, use this Skill's skeleton generation command: `/cli generate skeleton`. It provides shared skeletons for common commands, argument wiring, and project-root discovery to ensure consistency and reusability across your project toolset.

What is the best way to automate PR comments and embed images from GitHub Actions artifacts?

Automating PR comments and embedded images from GitHub Actions artifacts is handled by this Skill's PR comment automation patterns. It provides templates for GitHub Actions workflows with glob-based trigger path generation and automates insertion of CI artifacts directly into pull request comments.

Do I need Python and specific libraries to generate SVG diagrams and static HTML viewers?

Yes, generating SVG diagrams and static HTML viewers requires Python and specific libraries. This Skill depends on `argparse`, `Typer`, `Jinja2`, `ruamel.yaml`, `importlib.resources`, and `cairosvg` for CLI frameworks, templating, and SVG/PNG diagram generation from a stencil icon pack.

Can I build artifacts from different git references without disturbing my working tree?

Yes, you can build artifacts from different git references without disturbing your working tree using this Skill's git worktree management patterns. It safely manages git worktrees to isolate builds and artifact generation from your active development branch.

How does Typer compare to argparse for building developer CLI skeletons?

Both Typer and argparse are supported dependencies for building developer CLI skeletons. This Skill provides shared skeletons for common commands and argument wiring using both frameworks, allowing you to choose between standard library argparse or Typer for type-hint driven CLI development.

How do I create a static SPA viewer with routing and chart rendering from CLI?

Creating a static SPA viewer with routing and chart rendering from the CLI is supported through this Skill's static HTML viewer generation patterns. It guides the creation of single-page HTML viewers with theming and chart rendering capabilities, templated using Jinja2.