Add cleanup plans
Analyzes codebase for technical debt and adds prioritized cleanup plans with details.
/plugin marketplace add dimfeld/llmutils/plugin install rmplan@rmplanExamine the repository for cleanup tasks such as:
Code Quality
Technical Debt
Type Safety & Error Handling
Architecture & Organization
Dependencies
Testing
For each cleanup task you identify, add it as a plan using rmplan add. Include relevant details and options:
rmplan add "<task title>" --details "<description of what needs to be done>" [options]
Key options:
--details "<text>" - Markdown description of the task--priority <level> - low, medium, high, or urgent--tag <tags...> - Add tags like "refactor", "testing", "cleanup"--rmfilter <files...> - Specify relevant files to include as context--simple - Mark simple tasks that don't need much research to be done properlyExample:
rmplan add "Refactor duplicate validation logic" --details "The validateUser and validateAdmin functions in src/auth/ share nearly identical code. Extract common validation into a shared helper." --tag refactor --priority medium --rmfilter src/auth/validate.ts
You can also directly edit the plan file after creation to add additional details if you have a lot to add.
Focus on changes that provide meaningful improvements. Prioritize issues that:
Skip trivial issues or combine them into other plans.
After adding the plans, summarize what you added.