agentleFS
HyperVonHyperVon/agent-guidance-kit/skills/ai-slop-detector/SKILL.md

ai-slop-detector

Skill1 starsChanged 16 days agoApache-2.0View on GitHub

Audit repository artifacts for evidence-backed quality problems that may look reasonable at first glance but are incorrect, misleading, brittle, needlessly complex, unsafe, or costly to maintain or review. Use for AI slop, invented API or configuration claims, misleading tests or documentation, unnecessary complexity, or broad artifact-quality audits. This includes checking claims in guides, READMEs, and tests against the code or configuration they describe. Modify artifacts only when the user explicitly requests cleanup.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 15 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 15

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat slop as an observable artifact-level deficit, never as evidence about authorship, intent, or tool use.

    line 17
  2. Distinctive:

    When cleanup is authorized, make only the smallest safe corrections in scope.

    line 21
  3. Very specific:

    When this hierarchy is adopted, keep the compact evidence-first quality baseline in the target's canonical always-on operating guidance …

    line 23
  4. Distinctive:

    Use one owner skill when it fully covers the request.

    line 52
  5. Distinctive:

    Every finding needs an anchor (path, line, diff, check, contract, or reproduction), the actual or credible impact, the smallest safe …

    line 73
  6. Distinctive:

    Use these as investigation prompts, then verify them against the relevant source of truth.

    line 80
  7. Distinctive:

    Manufactured Defects to Justify Cleanup: After a request to "clean up" or "remove the slop," do not invent defects to satisfy the request.

    line 93
  8. Distinctive:

    Inspect the complete scoped surface: Read the diff before searching broadly.

    line 107
  9. Distinctive:

    Run proportionate local checks: Prefer existing repository checks for parsing, compilation, tests, lint, links, schemas, and skill …

    line 110
  10. Distinctive:

    Treat an unrun check as a verification gap, not a passing result.

    line 112
  11. Distinctive:

    Test the claim: Verify APIs, flags, paths, dependencies, contracts, test independence, error handling, and boundary ownership against …

    line 113
  12. Distinctive:

    Report findings: Prefer a short list of concrete findings over a list of suspicions.

    line 122
  13. Distinctive:

    Never bundle functional enhancements, stylistic reformatting, or architectural renames into a de-slopping cleanup.

    line 127
  14. Distinctive:

    Run the repository's relevant test suite after each atomic correction to prove zero behavioral regressions.

    line 128
  15. Distinctive:

    Fresh evidence before and after: Before the first cleanup edit, run the relevant checks and record the baseline (pass/fail, counts).

    line 129
  16. Distinctive:

    Use the smallest severity that matches the demonstrated outcome:

    line 137

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Evidence-Based AI-Slop Audit

Authority and scope

Treat slop as an observable artifact-level deficit, never as evidence about authorship, intent, or tool use. Emoji, verbosity, unusual formatting, or provider signals are investigation prompts, not evidence of defect or authorship. Default to audit-and-report: do not edit anything unless the user explicitly asks to clean up, fix, or remove findings. When cleanup is authorized, make only the smallest safe corrections in scope.

When this hierarchy is adopted, keep the compact evidence-first quality baseline in the target's canonical always-on operating guidance (normally OPERATING.md). This skill owns the deeper procedure when a request explicitly concerns AI slop, evidence-backed artifact quality, or a broad cross-artifact audit. Do not load or copy this full audit merely to get the baseline, and do not broaden an ordinary implementation task into a full audit without evidence or a matching request.

Review the requested repository, diff, subsystem, or artifact and the relevant source of truth. Depending on scope, this can include source, tests, documentation, skills, rules, configuration, build files, generated artifacts, and diffs. Do not broaden the review merely because another artifact is easy to inspect.

Neighboring skills

  • code-review owns focused diff or subsystem review; use this skill instead for cross-artifact quality and evidence problems.
  • architecture-review owns redesign and refactor-versus-keep recommendations.
  • documentation-review owns a full factual documentation audit against source.
  • rules-and-skills-audit owns structural consolidation, overlap, and routing conflicts in guidance.
  • skill-reviewer owns missing domain depth in a skill; use this skill when the concern is an evidence-backed defect instead.
  • reduce-code-size owns behavior-preserving simplification after a validated size or complexity goal.

Use one owner skill when it fully covers the request. Combine skills only when the user asks for both scopes.

Evidence standard

Report a finding only when an observable deficit is established by one or more of these, in descending strength:

  1. A failing check, reproduction, unsafe behavior, broken flow, or parse/link failure.
  2. A conflict with a verified contract, source behavior, configuration schema, public interface, test requirement, or repository rule.
  3. A local inconsistency with a demonstrated maintenance or correctness cost, such as duplicate mechanisms, a bypassed boundary, or dead instructions.

Style, verbosity, unusual formatting, artifact size, or formulaic language is only an investigation prompt. Do not call it a defect without evidence. Likewise, documentation placement is a finding only when internal rationale or repeated exclusions demonstrably obscure user tasks, displace setup and usage, or duplicate a more appropriate canonical design or security document.

Every finding needs an anchor (path, line, diff, check, contract, or reproduction), the actual or credible impact, the smallest safe correction or reason to defer, and a severity based on impact rather than suspected origin. Separate observations, inferences, and unknowns.

Observable quality patterns

Use these as investigation prompts, then verify them against the relevant source of truth. Do not report a pattern merely because it is common in generated artifacts:

  • Invented References: Imports, APIs, flags, configuration, dependencies, or test claims that do not exist in the current source or upstream contracts;
  • Tautological and Mirror Tests: Tests that assert mock return values against mocks (expect(mock).toHaveBeenCalled()) without validating system state transformations, or assertions that pass unconditionally (e.g., asserting is not None on a non-nullable return type);
  • Swallowed Exceptions and Phantom Fallbacks: Blanket try ... catch: pass or returning empty dictionaries/null upon exceptions, concealing network or database failures and causing data corruption downstream;
  • Ghost Configuration and Phantom CLI Flags: Configuration keys, environment variables, or CLI arguments parsed into options objects but never referenced or evaluated in execution logic;
  • Hallucinated Kwargs and Method Signatures: Invoking standard library or third-party methods with non-existent keyword arguments that are silently absorbed by **kwargs without effect;
  • Circular / Duplicate Type Definitions: Redundant parallel type declarations across multiple modules instead of consuming the canonical schema;
  • Dead Code and Phantom Abstractions: Dead or placeholder branches, duplicate helpers, and abstractions without a demonstrated consumer or outcome-level verification;
  • Narrative Documentation: Comments and documentation that narrate obvious code, conceal uncertainty, or state behavior not established by source and checks;
  • Ungrounded UI Changes: UI changes with no product/user/job intent, missing loading/empty/error/success/disabled/permission states, broken focus or keyboard behavior, inaccessible contrast, or unverified responsive and reduced-motion behavior.
  • Manufactured Defects to Justify Cleanup: After a request to "clean up" or "remove the slop," do not invent defects to satisfy the request. Every finding still requires an anchor and a demonstrated impact; a vague "this is messy" label is an investigation prompt, never by itself a confirmed defect or edit authority.

For UI findings, distinguish a product or interaction defect from an optional visual preference. Route a dedicated frontend/accessibility review to frontend-quality-review when it needs a complete UI quality pass.

Workflow

  1. Establish scope and mode. Record the requested inputs, relevant local rules, source-of-truth artifacts, and whether the task is audit-only or an explicitly authorized cleanup.
  2. Inspect the complete scoped surface. Read the diff before searching broadly. Include related tests, configuration, generated files, docs, and guidance when they can change the contract or outcome.
  3. Run proportionate local checks. Prefer existing repository checks for parsing, compilation, tests, lint, links, schemas, and skill frontmatter. Treat an unrun check as a verification gap, not a passing result.
  4. Test the claim. Verify APIs, flags, paths, dependencies, contracts, test independence, error handling, and boundary ownership against current source. For a framework, toolkit, or generator, run or trace the smallest primary consumer flow and compare its files, configuration, dependencies, and context burden with the recurring need it claims to solve. Check whether tests prove that outcome or only prove internal schemas and abstractions, and whether reference-project concepts leaked into generic behavior without an unrelated-target justification. For code and UI, inspect relevant states and failure paths rather than applying a style blacklist. Do not infer motive.
  5. Report findings. Prefer a short list of concrete findings over a list of suspicions. Include strengths or explicit non-issues when they prevent unnecessary churn.
  6. If cleanup was explicitly requested:
    • Make atomic, minimal corrections isolated by defect category (e.g., remove dead branches in one edit; fix swallowed exceptions in another).
    • Never bundle functional enhancements, stylistic reformatting, or architectural renames into a de-slopping cleanup.
    • Run the repository's relevant test suite after each atomic correction to prove zero behavioral regressions.
    • Fresh evidence before and after: Before the first cleanup edit, run the relevant checks and record the baseline (pass/fail, counts). After each atomic correction, re-run not only the test suite but also the original reproduction or failing check that motivated the finding. A cleanup that cannot show the same reproduction passing before and after is not verified.

Severity

Use the smallest severity that matches the demonstrated outcome:

  • P0: credible destructive, security, data-loss, or unsafe external-action risk, or an invented integration that can cause such harm.
  • P1: broken build, contract, lifecycle, boundary, or required behavior.
  • P2: demonstrated misleading content, duplicate mechanism, needless complexity, weak test protection, or stale/broken guidance.
  • P3: reviewability or style issue without demonstrated correctness or maintenance impact; normally defer rather than edit.

Output and stop conditions

Return a report containing the scope and mode, verdict, findings with path:line-style anchors, evidence, impact, correction or deferral, verification status, and unresolved questions. For authorized cleanup, also state the changed paths and checks run.

An audit has no file side effects. Cleanup may change only the explicitly scoped artifacts and must not silently refactor adjacent code, weaken tests, or invent tools, APIs, flags, dependencies, or configuration. Stop and report an evidence gap when a finding cannot be verified, when a correction would change behavior beyond the request, or when the issue belongs to a neighboring owner skill.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.