.agents/skills/code-refactoring-dry/SKILL.md
Remove code duplication by extracting shared logic into reusable components. Use when the same logic appears in multiple places.
npx skillsauth add aspiers/ai-config code-refactoring-dryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Remove code duplication you just introduced by refactoring duplicated code to follow the DRY principle.
Use this skill when:
Review the files you have been working on in this session to find:
If the duplication is not obvious, ask the user to clarify which specific duplication they want addressed before proceeding.
Once the duplication is identified:
After refactoring:
Eliminate unnecessary duplication while maintaining code clarity and functionality. The refactored code should be easier to maintain and modify in the future.
development
Run tests according to repository guidelines. Use after linting passes, before staging changes.
development
Orchestrate the complete development workflow for implementing sub-tasks from a task list. Use for end-to-end feature implementation with quality controls.
development
Implement a single sub-task from a task list. Use when working on feature development with existing task lists.
data-ai
Generate a detailed task list from a PRP. Use after a PRP is created and ready for implementation planning.