Documentation
README
Remove AI Code Slop
Check the diff against main and remove AI-generated slop introduced in the branch.
Trigger
Use after completing changes, before committing, or when code feels over-engineered.
Commands
git fetch origin main
git diff origin/main...HEAD --stat
git diff origin/main...HEAD
Workflow
- Run diff commands to see all changes on the branch.
- Identify slop patterns from the focus areas below.
- Apply minimal, focused edits to remove slop.
- Re-run
git diff origin/main...HEADto verify only slop was removed. - Run tests or type-check to confirm behaviour unchanged:
npm test -- --changed --passWithNoTests 2>&1 | tail -10 - Summarise what was cleaned.
Focus Areas
This is the opening of the README. Read the full README on GitHub.