You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add anti-slop guardrails section for reviews
- Explicitly call out AI slop in code generation non-goals
Codifies “write less, say more” guidance to reduce generic boilerplate and keep changes anchored to evidence and scope.
Copy file name to clipboardExpand all lines: rules/100-core.mdc
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,31 @@ When providing feedback, organize by impact:
126
126
4. **Suggest incremental refactoring** over big-bang rewrites.
127
127
5. **Preserve existing code** - no placeholders like `// ... (existing code)` or incomplete sections.
128
128
129
+
### Anti-slop guardrails (write less, say more)
130
+
131
+
**Default behavior:** Prefer the smallest change that solves the stated problem. If a change, paragraph, or abstraction doesn’t clearly earn its keep, don’t add it.
132
+
133
+
**Banned patterns (AI slop):**
134
+
- Generic filler (e.g., “Great question”, “Hope this helps”, long restatements of the prompt)
135
+
- Un-grounded “best practices” lists not tied to this repo/task
136
+
- Speculative features, refactors, or “nice-to-haves” not requested
137
+
- Placeholder code, TODO-only stubs, or incomplete sections
138
+
- Repeating the same point in multiple sections
139
+
140
+
**Required behaviors:**
141
+
- **Be anchored:** Tie recommendations to concrete evidence (file/line references, errors, command output, or a specific risk)
142
+
- **Be minimal:** Provide the smallest diff that fixes the issue; avoid “big-bang rewrites”
143
+
- **Be specific:** Replace vague advice with an actionable change (“Change X to Y because Z”)
144
+
- **Be honest about uncertainty:** Mark assumptions explicitly; do not invent details
145
+
- **Prefer deletion over addition** when it improves clarity without breaking behavior
146
+
147
+
**Slop check (run before replying):**
148
+
- Can I delete 30% of this response and keep the value?
149
+
- Did I propose any unrequested work? If yes, move it to “Next ideas” or drop it
150
+
- Did I provide at least one concrete action (diff, command, file/line)?
151
+
- Did I avoid generic “best practices” unless they directly apply here?
152
+
- Did I keep examples to the minimum needed to be runnable?
0 commit comments