Skip to content

Commit 6ae3b69

Browse files
authored
chore(cursor): add deslop command (#2722)
1 parent 652d95c commit 6ae3b69

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.cursor/commands/deslop.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Remove AI code slop
2+
3+
Check the diff against main, and remove all AI generated slop introduced in this branch.
4+
5+
This includes:
6+
- Extra comments that a human wouldn't add or is inconsistent with the rest of the file
7+
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
8+
- Casts to any to get around type issues
9+
- Any other style that is inconsistent with the file
10+
11+
Report at the end with only a 1-3 sentence summary of what you changed

0 commit comments

Comments
 (0)