Scratch Refactoring For Code Understanding
Legacy CodeWorking Effectively with Legacy Code
Guide a developer through throwaway refactoring — restructure code freely without tests to understand it, then DISCARD. Use whenever a developer says 'I don't understand this code', 'this code is too complex to change safely', 'need to read legacy code', 'can't figure out what this does', 'overwhelmed by legacy', 'code archaeology', 'understand before change'. Also activates for 'scratch refactoring', 'throwaway refactoring', 'code comprehension', 'code reading technique', 'feature sketch', 'effect sketch', 'notes on legacy code'.
Install
1. Add marketplace
› /plugin marketplace add bookforge-ai/bookforge-skills
2. Install plugin
› /plugin install working-effectively-with-legacy-code@bookforge-skills
3. Use the skill
› /scratch-refactoring-for-code-understanding
CC-BY-SA · Open sourceGitHub
What You'll Need
ReadEditBashGrep (optional)
Source Book

Working Effectively with Legacy Code
Michael C. Feathers
View on ClawhHub