- Add 60 new agents across all 10 categories (75 -> 135) - Add 95 new plugins with command files (25 -> 120) - Update all agents to use model: opus - Update README with complete plugin/agent tables - Update marketplace.json with all 120 plugins
633 B
633 B
Refactor Python code for clarity, performance, and Pythonic idioms.
Steps
- Read the target Python file or module.
- Identify refactoring opportunities:
- Apply Pythonic improvements:
- Improve code structure:
- Improve error handling:
- Run the tests to verify behavior is unchanged.
- Run linting tools (ruff, flake8) to verify style compliance.
Format
File: <path>
Refactorings Applied:
- <pattern replaced> -> <Pythonic alternative>
Lines Changed: <before> -> <after>
Rules
- Never change behavior during refactoring.
- Run tests after every refactoring step.
- Follow PEP 8 style guidelines.