Python Script Project Generator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_9f9aa44e/python-script-generator-pro into your AI assistant.
About this skill
Problem it addresses
Python projects often stall because boilerplate directories, dependency declarations, test skeletons, and docs are missing. python-script-generator targets CLI, Flask, FastAPI, Django, scrapers, and bots, compressing the path from idea to runnable engineering scaffold into a single generation step and reducing repetitive boilerplate setup.
How it works
It first identifies the project type, then selects the required features and loads matching templates. Supported types include cli, flask, fastapi, django-cmd, django-app, scraper, bot, and automation. Generation can be controlled with --name, --type, --requirements, --author, --license, and --output parameters for project name, type, dependencies, author, license, and output directory. Besides core code, it emits requirements, tests, README, configuration, and docs, and in some scenarios includes environment variable management, Docker, GitHub Actions, and pre-commit hooks.
Boundaries
It is best suited for Python engineering scaffolds and standardized code generation, not a replacement for deep review of business logic, performance, or security policy. Complex projects still need manual adjustment of directory layout, dependency versions, CI rules, and test cases, and generated output should be validated against the real environment.
Use Cases
- Scaffold a CLI project with structure, dependencies, tests, and README.
- Bootstrap a FastAPI CRUD service with structure, deps, tests, and docs.
- Create an async scraper with template, config, and README.
- Set up a Telegram bot with project structure, deps, and tests.
Best For
- Python engineers needing a CLI scaffold, tests, and README for automation tools.
- Backend engineers needing Flask/FastAPI project structure, deps, and docs.
- Django maintainers needing command/app templates and test scaffolds.
- Researchers writing scrapers or bots who need project configs and templates.
Related Skills
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Restores Lanhu designs to target framework code using schema JSON, design tokens, and image assets.
Automatically detects engineering or competition code, analyzes bugs, vulnerabilities, algorithm complexity, and edge cases, then produces risk-level findings with before/after fixes.
Supports inline SVG/HTML rendering and Mermaid code output, covering common technical diagram creation like architecture and flow diagrams.