qwen_cli_refactor
OfficialRefactor monolithic CLIs into modules
Software Engineering#code organization#code extraction#qwen#gemma#cli refactoring#python modules#monolithic code
AuthorFOUNDUPS
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of overly large and complex command-line interface (CLI) files by breaking them down into smaller, manageable, and maintainable modules.
Core Features & Use Cases
- Monolithic CLI Refactoring: Extracts logical command groups from large
main()functions into separate Python files. - Automated Module Creation: Generates new command module files and refactors the main CLI entry point to route commands appropriately.
- Use Case: Refactor a 1,500-line CLI script into a well-structured application with 5 distinct command modules, improving readability and maintainability while ensuring all original functionality is preserved.
Quick Start
Use the qwen_cli_refactor skill to refactor the file '/path/to/cli.py' by extracting command modules.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: qwen_cli_refactor Download link: https://github.com/FOUNDUPS/Foundups-Agent/archive/main.zip#qwen-cli-refactor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.