clap-scaffolder
Generate Clap-based Rust CLI applications with derive macros, subcommands, and modern Rust patterns. Creates production-ready Rust CLI with proper cargo structure.
npx skills add a5c-ai/babysitter --skill clap-scaffolder --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Clap Scaffolder Generate a complete Clap CLI application with Rust, derive macros, and best practices. ## Capabilities - Generate Rust-based Clap CLI projects using derive macros - Create subcommand hierarchies with nested enums - Set up argument parsing with type validation - Configure shell completion generation - Implement colored output with anyhow error handling - Set up cargo workspace and build configurations ## Usage Invoke this skill when you need to: - Bootstrap a new CLI application using Clap - Create a Rust CLI with type-safe argument parsing - Leverage derive macros for declarative command definitions - Build fast, native cross-platform binaries ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectName | string | Yes | Name of the CLI project (kebab-case) | | description | string | Yes | Short description of the CLI | | commands | array | No | List of commands to scaffold | | deriveFeatures | array | No | Clap derive features to enable | | colorOutput | boolean | No | Enable colored output (default: true) | ### Command Structure ```json { "commands": [ { "name": "run", "description": "Run the application", "a
- Capabilities
- Usage
- Inputs
- Command Structure
- Output Structure
- Generated Code Patterns
- CLI Definition (src/cli.rs)
- Main Entry (src/main.rs)
- Command Implementation
- Dependencies
- Workflow
- Best Practices Applied
- References
- Target Processes
What does the clap-scaffolder skill do?
Generate Clap-based Rust CLI applications with derive macros, subcommands, and modern Rust patterns. Creates production-ready Rust CLI with proper cargo structure.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill clap-scaffolder --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
