From 6dc3119fe95abc94bc8acf3047c6469a6d270364 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Dec 2025 14:10:54 +0000 Subject: [PATCH 1/2] feat: add /remove-ai-slop command --- .claude/commands/remove-ai-slop.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .claude/commands/remove-ai-slop.md diff --git a/.claude/commands/remove-ai-slop.md b/.claude/commands/remove-ai-slop.md new file mode 100644 index 0000000..6e5b884 --- /dev/null +++ b/.claude/commands/remove-ai-slop.md @@ -0,0 +1,11 @@ +# Remove AI code slop + +Check the diff against main, and remove all AI generated slop introduced in this branch. + +This includes: +- Extra comments that a human wouldn't add or is inconsistent with the rest of the file +- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths) +- Casts to any to get around type issues +- Any other style that is inconsistent with the file + +Report at the end with only a 1-3 sentence summary of what you changed From 41a3e5f89f74e08890b90b4a8f0783dcab964bc4 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Dec 2025 14:42:49 +0000 Subject: [PATCH 2/2] fix: use 'base branch' instead of 'main' in remove-ai-slop command --- .claude/commands/remove-ai-slop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/commands/remove-ai-slop.md b/.claude/commands/remove-ai-slop.md index 6e5b884..30bc0f1 100644 --- a/.claude/commands/remove-ai-slop.md +++ b/.claude/commands/remove-ai-slop.md @@ -1,6 +1,6 @@ # Remove AI code slop -Check the diff against main, and remove all AI generated slop introduced in this branch. +Check the diff against the base branch, and remove all AI generated slop introduced in this branch. This includes: - Extra comments that a human wouldn't add or is inconsistent with the rest of the file