Agent skill

cobra-scaffolder

Generate Cobra/Viper-based Go CLI applications with persistent flags, subcommands, and configuration management. Creates production-ready Go CLI with modern patterns.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill cobra-scaffolder --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/cli-mcp-development/skills/cobra-scaffolder/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Cobra Scaffolder Generate a complete Cobra CLI application with Viper configuration, proper Go module structure, and best practices. ## Capabilities - Generate Go-based Cobra CLI projects - Create command hierarchy with persistent and local flags - Integrate Viper for configuration management - Set up automatic environment variable binding - Implement shell completion generation - Configure go.mod and build workflows ## Usage Invoke this skill when you need to: - Bootstrap a new CLI application using Cobra - Create a Go CLI with hierarchical commands - Integrate Viper for multi-source configuration - Build cross-platform native binaries ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectName | string | Yes | Name of the CLI project (kebab-case) | | modulePath | string | Yes | Go module path (e.g., github.com/user/project) | | description | string | Yes | Short description of the CLI | | commands | array | No | List of commands to scaffold | | useViper | boolean | No | Integrate Viper config (default: true) | | useCobra | boolean | No | Use cobra-cli generator patterns (default: true) | ### Command Structure ```json { "co

What's inside
Steps it walks through
  1. Capabilities
  2. Usage
  3. Inputs
  4. Command Structure
  5. Output Structure
  6. Generated Code Patterns
  7. Root Command (cmd/root.go)
  8. Command Template (cmd/serve.go)
  9. Dependencies
  10. Workflow
  11. Best Practices Applied
  12. References
  13. Target Processes
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the cobra-scaffolder skill do?

Generate Cobra/Viper-based Go CLI applications with persistent flags, subcommands, and configuration management. Creates production-ready Go CLI with modern patterns.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill cobra-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.

Keep going