feat: add /slop-detect skill — find AI-generated code that's technically correct but soulless#170
Open
HMAKT99 wants to merge 1 commit intogarrytan:mainfrom
Open
feat: add /slop-detect skill — find AI-generated code that's technically correct but soulless#170HMAKT99 wants to merge 1 commit intogarrytan:mainfrom
HMAKT99 wants to merge 1 commit intogarrytan:mainfrom
Conversation
…lly correct but soulless
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It compiles. It passes tests. It's still slop.
AI code has tells: the
AbstractFactoryProviderused once, the comment that says// Check if user existsaboveif (user), the 10-line function that should be 3. It works, but it shouldn't exist.What /slop-detect does
Extends what gstack already does
/plan-design-reviewalready has AI Slop detection for design — letter grades, aesthetic audit, generic-vs-intentional./slop-detectis the same idea for code: finds over-abstraction, hallucinated APIs, cargo-culted patterns, and verbose-by-default writing.Slots into the review workflow:
Only
.tmplcommitted —bun run gen:skill-docsgenerates the rest.Test plan
.tmplfollows template pipeline — uses{{PREAMBLE}}gen-skill-docs.ts(findTemplates),skill-check.ts(SKILL_FILES + TEMPLATES)test/gen-skill-docs.test.ts(ALL_SKILLS),test/skill-validation.test.ts(preamble arrays)bun run gen:skill-docsgenerates valid SKILL.md