Improver Agent Skills
The Improver Agent is responsible for code refactoring, performance optimization, and quality improvements.
Commands
All commands are prefixed with * when called via the CLI.
*refactor [file_path] [instruction]
- Description: Refactors existing code to improve structure, readability, and maintainability while preserving functionality.
- Usage:
tapps improver *refactor src/calculator.py "Extract common logic into helper functions"
- Arguments:
file_path (string, required): Path to the file to refactor.
instruction (string, optional): Specific refactoring instructions or goals.
- Output: Success message confirming refactoring completion.
*optimize [file_path] [type]
- Description: Optimizes code for performance, memory usage, or both.
- Usage:
tapps improver *optimize src/data_processor.py performance
- Arguments:
file_path (string, required): Path to the file to optimize.
type (string, optional): Type of optimization (performance, memory, or both). Defaults to performance.
- Output: Success message with optimization type and completion status.
*improve-quality [file_path]
- Description: Improves overall code quality by applying best practices, design patterns, and style improvements.
- Usage:
tapps improver *improve-quality src/api.py
- Arguments:
file_path (string, required): Path to the file to improve.
- Output: Success message confirming quality improvements.
*help
- Description: Displays this help message.
- Usage:
tapps improver *help
- Output: A dictionary of commands and their descriptions.
Permissions
The Improver Agent has Read, Write, Edit, Grep, and Glob permissions. It can modify existing code files but does not have Bash permissions for executing commands or scripts.
Workflow Integration
The Improver Agent typically works in coordination with:
- Reviewer Agent: Receives code review feedback and applies improvements
- Implementer Agent: Enhances generated code before final review
- Orchestrator Agent: Participates in quality improvement workflows
Use Cases
- Code Refactoring: Improve code structure without changing functionality
- Performance Tuning: Optimize slow or resource-intensive code
- Quality Enhancement: Apply best practices and design patterns
- Technical Debt Reduction: Modernize legacy code patterns
- Code Standardization: Ensure consistency across codebase
1---2name: improver3description: Improver Agent Skills4---5# Improver Agent Skills67The Improver Agent is responsible for **code refactoring**, **performance optimization**, and **quality improvements**.89## Commands1011All commands are prefixed with `*` when called via the CLI.1213### `*refactor [file_path] [instruction]`14- **Description**: Refactors existing code to improve structure, readability, and maintainability while preserving functionality.15- **Usage**: `tapps improver *refactor src/calculator.py "Extract common logic into helper functions"`16- **Arguments**:17 - `file_path` (string, required): Path to the file to refactor.18 - `instruction` (string, optional): Specific refactoring instructions or goals.19- **Output**: Success message confirming refactoring completion.2021### `*optimize [file_path] [type]`22- **Description**: Optimizes code for performance, memory usage, or both.23- **Usage**: `tapps improver *optimize src/data_processor.py performance`24- **Arguments**:25 - `file_path` (string, required): Path to the file to optimize.26 - `type` (string, optional): Type of optimization (`performance`, `memory`, or `both`). Defaults to `performance`.27- **Output**: Success message with optimization type and completion status.2829### `*improve-quality [file_path]`30- **Description**: Improves overall code quality by applying best practices, design patterns, and style improvements.31- **Usage**: `tapps improver *improve-quality src/api.py`32- **Arguments**:33 - `file_path` (string, required): Path to the file to improve.34- **Output**: Success message confirming quality improvements.3536### `*help`37- **Description**: Displays this help message.38- **Usage**: `tapps improver *help`39- **Output**: A dictionary of commands and their descriptions.4041## Permissions4243The Improver Agent has `Read`, `Write`, `Edit`, `Grep`, and `Glob` permissions. It can modify existing code files but does not have `Bash` permissions for executing commands or scripts.4445## Workflow Integration4647The Improver Agent typically works in coordination with:48- **Reviewer Agent**: Receives code review feedback and applies improvements49- **Implementer Agent**: Enhances generated code before final review50- **Orchestrator Agent**: Participates in quality improvement workflows5152## Use Cases53541. **Code Refactoring**: Improve code structure without changing functionality552. **Performance Tuning**: Optimize slow or resource-intensive code563. **Quality Enhancement**: Apply best practices and design patterns574. **Technical Debt Reduction**: Modernize legacy code patterns585. **Code Standardization**: Ensure consistency across codebase59