click-scaffolder

Solid

Generate Click-based Python CLI applications with decorators, groups, context, and modern Python patterns. Creates complete scaffolded CLI with proper project structure.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Click Scaffolder Generate a complete Click CLI application with Python, proper project structure, and best practices. ## Capabilities - Generate Python-based Click CLI projects - Create command groups with decorators - Set up context passing between commands - Configure type coercion and validation - Implement custom parameter types - Set up Poetry/pip project structure ## Usage Invoke this skill when you need to: - Bootstrap a new CLI application using Click - Create a Python CLI with decorator-based commands - Set up command groups and context - Configure rich terminal output ## 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 | | usePoetry | boolean | No | Use Poetry for dependency management (default: true) | | pythonVersion | string | No | Python version requirement (default: ">=3.9") | ### Command Structure ```json { "commands": [ { "name": "init", "description": "Initialize a new project", "options": [ { "name": "template", "type": "string", "help": "Template to use" }, { "name": "force", "is_flag": true, "help": "Overwrite existing" } ], "arguments": [ { "name": "directory", "required": true } ] } ], "groups": [ { "name": "config", "des...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills