Awesome-omni-skill fix-code
Properly fix code issues by following the quality assurance guidelines. Ensures comprehensive fixes across all related locations.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/fix-code" ~/.claude/skills/diegosouzapw-awesome-omni-skill-fix-code && rm -rf "$T"
manifest:
skills/development/fix-code/SKILL.mdsource content
Code Fix Helper
A skill for properly fixing code issues. Follows the core principles in
.claude/rules/fix-guidelines.instructions.md to perform comprehensive and efficient fixes.
Fix Flow
Follow the common flow in
.claude/rules/fix-guidelines.instructions.md.
Code-Specific Fix Guidelines
Code Deletion & Refactoring
- Search all instances of the target pattern (verify with Grep)
- Identify affected tests and documentation
- Fix all related locations at once
- Run build and tests
Variable & Function Name Changes
- Search all usage locations of the target (Grep + file type filter)
- Check reference documentation as well
- Change all at once
- Verify build
Error Handling & Logic Fixes
- Search for the same pattern elsewhere
- Check related call sites
- Fix all at once
- Run tests
Self-Review (Code-Specific)
After fixing, verify the following:
- All affected locations have been fixed
- The fix is correct
- No build errors
- All tests pass
- Follows existing code style
- Documentation needs updating as well?
Practical Example
❌ Bad example: Fix only 1 location - Fix only the reported location ✅ Good example: Search and fix all locations 1. Use Grep to search all instances of the same pattern 2. Fix the same pattern across all found files at once 3. Fix related tests as well 4. Run build and tests