[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78BP1NWXVTC865KGPPC324C":3,"skill-same:01M78BP1NWXVTC865KGPPC324C":161},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M78BP1NWXVTC865KGPPC324C","code-slop",null,"Detect AI-generated code patterns (\"slop\") in PHP\u002FLaravel and TypeScript\u002FReact source — comment narration, generic naming, premature interfaces, defensive overdose, mock-everything tests, and the absence of human \"scars\". Use when reviewing AI-assisted PRs, auditing code for taste\u002Fquality (not metrics — that's technical-debt), or hardening a code-review checklist. Triggers on \"review for AI slop\", \"find AI patterns\", \"check code feels human\", \"audit code-quality taste\".","projectweb738-dev\u002FBANKDATA_JHON","projectweb738-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F321402929?v=4","01M78BF0E5DXCH964FKTRKZDBT","01M78BF0F66D1WXYXVN7CN29DH",0,"MIT","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-slop\ndescription: Detect AI-generated code patterns (\"slop\") in PHP\u002FLaravel and TypeScript\u002FReact source — comment narration, generic naming, premature interfaces, defensive overdose, mock-everything tests, and the absence of human \"scars\". Use when reviewing AI-assisted PRs, auditing code for taste\u002Fquality (not metrics — that's technical-debt), or hardening a code-review checklist. Triggers on \"review for AI slop\", \"find AI patterns\", \"check code feels human\", \"audit code-quality taste\".\nlicense: MIT\nmetadata:\n  author: agent-skills\n  version: \"1.0.0\"\n---\n\n# Code Slop Detection\n\nTaste-level review of code for AI-generated patterns. Contains 24 rules across 6 categories covering comments, naming, over-engineering, defensive overdose, test slop, and style fingerprints. Where [`technical-debt`](..\u002Ftechnical-debt) measures *quantitative* code debt (complexity, duplication, CVEs), this skill measures the *qualitative* failure mode: code that passes every metric but reads like a tutorial blog post, not like a human wrote it.\n\n## Metadata\n\n- **Version:** 1.0.0\n- **Scope:** PHP \u002F Laravel + TypeScript \u002F React (Node)\n- **Rule Count:** 24 rules across 6 categories\n- **License:** MIT\n\n## Why this skill exists\n\nIndustry data on AI-assisted code (GitClear 2025, cURL bug-bounty shutdown 2025, arXiv 2510.03029):\n\n- **Refactoring collapsed** from 25% to \u003C10% of changes\n- **Copy-paste surged** 8.3% → 12.3%; code duplication rose ~8x\n- **Code-smell rates +42–85%** over human baselines\n- **82% of AI PRs** use generic catch blocks that don't distinguish error types\n- **76% miss timeouts** on external calls\n\nNone of this fails a typical CI lint. It just makes the codebase slowly unmaintainable. This skill is the lens for catching it before it ships.\n\nThe core insight: **reading cost > writing cost now**. The cost of writing code collapsed; the cost of reading it didn't. Code you can't quickly understand is slop, even if it works.\n\n## How to Audit\n\nWhen the user asks \"review for AI slop\", \"audit code-quality taste\", or \"find AI patterns\" — run through this skill's rules as a checklist against the changed files (PR diff) or full repo.\n\n### Audit Step 1: Determine Scope\n\n- If a PR diff is provided: audit only files changed in the diff\n- If files are named: audit those\n- If no scope: audit the whole repo, prioritized by recently-touched files (most likely AI output)\n\n### Audit Step 2: Detect Stack\n\n| Signal | Stack |\n|--------|-------|\n| `composer.json` + `artisan` | PHP \u002F Laravel |\n| `package.json` (with TypeScript\u002FReact deps) | Node \u002F TypeScript \u002F React |\n| Both present | Laravel + Inertia + React |\n\n### Audit Step 3: Run the Slop Checklist\n\nFor each item below, output:\n- **CLEAN** — pattern not present (brief confirmation)\n- **SUSPICIOUS** — present in small amounts; flag and discuss\n- **INFLATED** — present extensively; verbose-but-functional; remediation recommended\n- **CRITICAL** — extensive AI-fingerprint presence; full review needed before merge\n\n#### Comments\n- [ ] No comments that just narrate the code (`\u002F\u002F create user` above `User::create(...)`)\n- [ ] No empty docblocks (`\u002F** Get user *\u002F` above `getUser()`)\n- [ ] No placeholder comments left in (`\u002F\u002F TODO: implement`, `\u002F\u002F your code here`, `\u002F\u002F implementation`)\n- [ ] No closing-brace labels (`} \u002F\u002F end function`, `} \u002F\u002F end if block`)\n\n#### Naming\n- [ ] No generic placeholder names (`data`, `result`, `info`, `temp`, `helper`)\n- [ ] No over-descriptive run-on names (`theUserWhoIsCurrentlyLoggedIn`)\n- [ ] No suffix abuse (`*Helper` \u002F `*Manager` \u002F `*Util` \u002F `*Wrapper` overused without justification)\n- [ ] No type-in-name patterns (`userObject`, `resultArray`, `stringData`)\n\n#### Over-engineering\n- [ ] No interfaces with exactly one implementation (and no plan for a second)\n- [ ] No single-method classes that should be top-level functions\n- [ ] No wrapper functions called once that just delegate\n- [ ] No new dependency added when an existing one does the same job\n\n#### Defensive overdose\n- [ ] No generic `catch (e) { console.error(...) }` blocks around code that can't throw\n- [ ] No null checks for impossible nulls (after non-null assertions \u002F type-guaranteed values)\n- [ ] Real defensive concerns (timeouts on external calls, rate limits) ARE present\n\n#### Test slop\n- [ ] No tests that mock every dependency with no real behavioural assertion\n- [ ] No \"doesn't throw\" tests that just call and check for exceptions\n- [ ] No tests that mirror the implementation's logic (re-encoding rather than verifying)\n- [ ] No snapshot tests standing in for behavioural assertions\n\n#### Style fingerprints\n- [ ] Some formatting drift exists (no codebase looks like every file ran through the most aggressive linter)\n- [ ] No `as any` \u002F `@ts-ignore` \u002F `@ts-expect-error` sprinkled where inference is hard\n- [ ] Repo has some `\u002F\u002F HACK:` \u002F `\u002F\u002F XXX:` \u002F 2am comments somewhere — codebases without scars are suspect\n- [ ] No debug artifacts (`console.log`, `var_dump`, `dd()`, `dump()`) left in production code\n- [ ] No `if (x) return true; else return false` \u002F redundant type annotations on obvious literals\n\n### Audit Step 4: Build the Slop Ledger\n\nEnd the audit with a verdict table:\n\n```\n## Code Slop Ledger\n\n| File | Verdict | Top findings | Suggested action |\n|------|---------|--------------|------------------|\n| app\u002FServices\u002FUserExportService.php | INFLATED | 12 narration comments; 3 closing-brace labels; `*Helper` overuse | Strip comments; rename Helper → split into functions |\n| resources\u002Fjs\u002FPages\u002FOrders\u002FShow.tsx | CRITICAL | 4 `as any`; mock-everything tests; useless wrapper; impossible null checks | Rewrite section; remove tests; revisit type model |\n| app\u002FModels\u002FOrder.php | CLEAN | — | — |\n\n## Summary\n- CLEAN: X files\n- SUSPICIOUS: Y files\n- INFLATED: Z files (top priority: …)\n- CRITICAL: N files (rewrite before merge)\n```\n\n## When to Apply\n\nReference this skill when:\n- Reviewing an AI-assisted PR before merge\n- Auditing a repo that has accepted heavy AI-assisted contributions\n- Onboarding a codebase and assessing whether it reads as human-maintained\n- Hardening a team's code-review checklist against AI slop\n- After a \"vibe coding\" sprint, before declaring features done\n- Setting up CI gates for AI-output quality\n\n## Step 1: Detect Project Stack\n\nMost rules are stack-agnostic in concept, but examples and detection commands differ between PHP and TypeScript.\n\n| Signal | Stack | Tooling |\n|--------|-------|---------|\n| `composer.json` | PHP \u002F Laravel | `phpstan`, `phpcs`, `phpmd`, manual grep |\n| `package.json` | Node \u002F TS \u002F React | `eslint`, `tsc --noEmit`, `knip`, manual grep |\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Comments | CRITICAL | `comments-` |\n| 2 | Naming | CRITICAL | `naming-` |\n| 3 | Over-engineering | HIGH | `over-eng-` |\n| 4 | Defensive overdose | HIGH | `defensive-` |\n| 5 | Test slop | HIGH | `test-` |\n| 6 | Style fingerprints | MEDIUM | `style-` |\n\n## Quick Reference\n\n### 1. Comments (CRITICAL)\n\n- `comments-narration` — Comments that just restate the code on the next line\n- `comments-empty-docblocks` — Generic `\u002F** Get the user *\u002F` over a typed `getUser()` signature\n- `comments-placeholder` — `\u002F\u002F TODO: implement`, `\u002F\u002F your code here`, `\u002F\u002F implementation`, `\u002F\u002F helper function`\n- `comments-closing-brace-labels` — `} \u002F\u002F end function` \u002F `} \u002F\u002F end if block`\n\n### 2. Naming (CRITICAL)\n\n- `naming-generic-placeholders` — `data`, `result`, `info`, `temp`, `helper`, `value`\n- `naming-over-descriptive` — `theUserWhoIsCurrentlyLoggedIn`, `calculateTotalAmountFromItemsList`\n- `naming-suffix-abuse` — `*Helper` \u002F `*Manager` \u002F `*Util` \u002F `*Wrapper` \u002F `*Processor` overused\n- `naming-type-in-name` — `userObject`, `resultArray`, `stringData`, `listOfItems`\n\n### 3. Over-engineering (HIGH)\n\n- `over-eng-premature-interface` — Interface with exactly one implementation and no second on the roadmap\n- `over-eng-single-method-class` — Classes that exist solely to wrap one function\n- `over-eng-useless-wrapper` — Wrapper called from exactly one place, just delegating\n- `over-eng-dependency-creep` — New library when an existing dep already does the job\n\n### 4. Defensive overdose (HIGH)\n\n- `defensive-generic-catch` — `try { ... } catch (e) { console.error(\"error\") }` everywhere\n- `defensive-impossible-null` — Null checks after non-null assertions \u002F type-guaranteed values\n- `defensive-missing-real` — Defensive in the wrong places; missing timeouts\u002Frate-limits where it matters\n\n### 5. Test slop (HIGH)\n\n- `test-mock-everything` — Mock for every dep; the test re-encodes the implementation, not the behaviour\n- `test-doesnt-throw` — Tests that just call the function and assert no exception\n- `test-mirror-implementation` — Tests whose logic mirrors the production code being tested\n- `test-snapshot-abuse` — Snapshot tests replacing behavioural assertions\n\n### 6. Style fingerprints (MEDIUM)\n\n- `style-hyper-consistent` — No formatting drift anywhere; every file looks linter-perfect\n- `style-as-any-escape` — `as any` \u002F `@ts-ignore` \u002F `@ts-expect-error` sprinkled where types are hard\n- `style-no-hack-scars` — Codebase has zero `\u002F\u002F HACK:` \u002F `\u002F\u002F XXX:` markers; no \"geology\"\n- `style-debug-artifacts` — `console.log`, `var_dump`, `dd()`, `dump()` left in production paths\n- `style-trivial-boilerplate` — `if (x) return true; else return false;`, redundant TS type annotations on obvious literals\n\n## Essential Patterns\n\n### The \"would this pass code review?\" filter\n\nFor each code chunk, ask:\n1. **Could I cut a third of these comments and the code would be clearer?** → likely comment slop\n2. **Do the variable names tell me what they hold, or just what type they are?** → likely naming slop\n3. **Could this class be a function?** → likely over-engineering\n4. **Does this catch block actually handle anything, or just log?** → likely defensive overdose\n5. **Does this test fail if I break the function?** → if no, test slop\n6. **Are there any `\u002F\u002F HACK:` \u002F `\u002F\u002F XXX:` markers in the diff?** → if no, suspicious for AI\n\n### Verdict bands (matched to AI-SLOP-Detector's scoring)\n\n| Verdict | Meaning | Action |\n|---|---|---|\n| **CLEAN** | \u003C 5% of lines flagged | Ship |\n| **SUSPICIOUS** | 5–15% flagged | Review changes one more time |\n| **INFLATED** | 15–30% flagged | Strip slop, split commits |\n| **CRITICAL** | > 30% flagged | Rewrite section before merge |\n\n## How to Use\n\nRead individual rule files for detailed conventions and examples:\n\n```\nrules\u002Fcomments-narration.md\nrules\u002Fnaming-generic-placeholders.md\nrules\u002Fover-eng-premature-interface.md\nrules\u002Fdefensive-generic-catch.md\nrules\u002Ftest-mock-everything.md\nrules\u002Fstyle-hyper-consistent.md\n```\n\nEach rule file contains:\n- YAML frontmatter (title, impact, tags)\n- Brief explanation of why the pattern is AI-fingerprint\n- \"Incorrect\" example showing the slop\n- \"Correct\" example showing the human-equivalent\n- Detection guidance (grep \u002F eslint \u002F phpstan \u002F heuristic)\n- Reference link\n\n## References\n\n- GitClear — 2025 Code-Quality Trends Report (refactoring collapse, copy-paste surge)\n- [arXiv 2510.03029 — Investigating the Smells of LLM-Generated Code](https:\u002F\u002Farxiv.org\u002Fabs\u002F2510.03029)\n- Addy Osmani — Comprehension Debt (O'Reilly Radar)\n- Stack Overflow Blog — Eno Reyes Q&A on AI code quality\n\n- [hardikpandya\u002Fstop-slop](https:\u002F\u002Fgithub.com\u002Fhardikpandya\u002Fstop-slop) — sister project for prose slop\n- [flamehaven01\u002FAI-SLOP-Detector](https:\u002F\u002Fgithub.com\u002Fflamehaven01\u002FAI-SLOP-Detector) — Python AST scanner with 27 patterns\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n","# Code Slop Detection\n\nTaste-level review of code for AI-generated patterns. Contains 24 rules across 6 categories covering comments, naming, over-engineering, defensive overdose, test slop, and style fingerprints. Where [`technical-debt`](..\u002Ftechnical-debt) measures *quantitative* code debt (complexity, duplication, CVEs), this skill measures the *qualitative* failure mode: code that passes every metric but reads like a tutorial blog post, not like a human wrote it.\n\n## Metadata\n\n- **Version:** 1.0.0\n- **Scope:** PHP \u002F Laravel + TypeScript \u002F React (Node)\n- **Rule Count:** 24 rules across 6 categories\n- **License:** MIT\n\n## Why this skill exists\n\nIndustry data on AI-assisted code (GitClear 2025, cURL bug-bounty shutdown 2025, arXiv 2510.03029):\n\n- **Refactoring collapsed** from 25% to \u003C10% of changes\n- **Copy-paste surged** 8.3% → 12.3%; code duplication rose ~8x\n- **Code-smell rates +42–85%** over human baselines\n- **82% of AI PRs** use generic catch blocks that don't distinguish error types\n- **76% miss timeouts** on external calls\n\nNone of this fails a typical CI lint. It just makes the codebase slowly unmaintainable. This skill is the lens for catching it before it ships.\n\nThe core insight: **reading cost > writing cost now**. The cost of writing code collapsed; the cost of reading it didn't. Code you can't quickly understand is slop, even if it works.\n\n## How to Audit\n\nWhen the user asks \"review for AI slop\", \"audit code-quality taste\", or \"find AI patterns\" — run through this skill's rules as a checklist against the changed files (PR diff) or full repo.\n\n### Audit Step 1: Determine Scope\n\n- If a PR diff is provided: audit only files changed in the diff\n- If files are named: audit those\n- If no scope: audit the whole repo, prioritized by recently-touched files (most likely AI output)\n\n### Audit Step 2: Detect Stack\n\n| Signal | Stack |\n|--------|-------|\n| `composer.json` + `artisan` | PHP \u002F Laravel |\n| `package.json` (with TypeScript\u002FReact deps) | Node \u002F TypeScript \u002F React |\n| Both present | Laravel + Inertia + React |\n\n### Audit Step 3: Run the Slop Checklist\n\nFor each item below, output:\n- **CLEAN** — pattern not present (brief confirmation)\n- **SUSPICIOUS** — present in small amounts; flag and discuss\n- **INFLATED** — present extensively; verbose-but-functional; remediation recommended\n- **CRITICAL** — extensive AI-fingerprint presence; full review needed before merge\n\n#### Comments\n- [ ] No comments that just narrate the code (`\u002F\u002F create user` above `User::create(...)`)\n- [ ] No empty docblocks (`\u002F** Get user *\u002F` above `getUser()`)\n- [ ] No placeholder comments left in (`\u002F\u002F TODO: implement`, `\u002F\u002F your code here`, `\u002F\u002F implementation`)\n- [ ] No closing-brace labels (`} \u002F\u002F end function`, `} \u002F\u002F end if block`)\n\n#### Naming\n- [ ] No generic placeholder names (`data`, `result`, `info`, `temp`, `helper`)\n- [ ] No over-descriptive run-on names (`theUserWhoIsCurrentlyLoggedIn`)\n- [ ] No suffix abuse (`*Helper` \u002F `*Manager` \u002F `*Util` \u002F `*Wrapper` overused without justification)\n- [ ] No type-in-name patterns (`userObject`, `resultArray`, `stringData`)\n\n#### Over-engineering\n- [ ] No interfaces with exactly one implementation (and no plan for a second)\n- [ ] No single-method classes that should be top-level functions\n- [ ] No wrapper functions called once that just delegate\n- [ ] No new dependency added when an existing one does the same job\n\n#### Defensive overdose\n- [ ] No generic `catch (e) { console.error(...) }` blocks around code that can't throw\n- [ ] No null checks for impossible nulls (after non-null assertions \u002F type-guaranteed values)\n- [ ] Real defensive concerns (timeouts on external calls, rate limits) ARE present\n\n#### Test slop\n- [ ] No tests that mock every dependency with no real behavioural assertion\n- [ ] No \"doesn't throw\" tests that just call and check for exceptions\n- [ ] No tests that mirror the implementation's logic (re-encoding rather than verifying)\n- [ ] No snapshot tests standing in for behavioural assertions\n\n#### Style fingerprints\n- [ ] Some formatting drift exists (no codebase looks like every file ran through the most aggressive linter)\n- [ ] No `as any` \u002F `@ts-ignore` \u002F `@ts-expect-error` sprinkled where inference is hard\n- [ ] Repo has some `\u002F\u002F HACK:` \u002F `\u002F\u002F XXX:` \u002F 2am comments somewhere — codebases without scars are suspect\n- [ ] No debug artifacts (`console.log`, `var_dump`, `dd()`, `dump()`) left in production code\n- [ ] No `if (x) return true; else return false` \u002F redundant type annotations on obvious literals\n\n### Audit Step 4: Build the Slop Ledger\n\nEnd the audit with a verdict table:\n\n```\n## Code Slop Ledger\n\n| File | Verdict | Top findings | Suggested action |\n|------|---------|--------------|------------------|\n| app\u002FServices\u002FUserExportService.php | INFLATED | 12 narration comments; 3 closing-brace labels; `*Helper` overuse | Strip comments; rename Helper → split into functions |\n| resources\u002Fjs\u002FPages\u002FOrders\u002FShow.tsx | CRITICAL | 4 `as any`; mock-everything tests; useless wrapper; impossible null checks | Rewrite section; remove tests; revisit type model |\n| app\u002FModels\u002FOrder.php | CLEAN | — | — |\n\n## Summary\n- CLEAN: X files\n- SUSPICIOUS: Y files\n- INFLATED: Z files (top priority: …)\n- CRITICAL: N files (rewrite before merge)\n```\n\n## When to Apply\n\nReference this skill when:\n- Reviewing an AI-assisted PR before merge\n- Auditing a repo that has accepted heavy AI-assisted contributions\n- Onboarding a codebase and assessing whether it reads as human-maintained\n- Hardening a team's code-review checklist against AI slop\n- After a \"vibe coding\" sprint, before declaring features done\n- Setting up CI gates for AI-output quality\n\n## Step 1: Detect Project Stack\n\nMost rules are stack-agnostic in concept, but examples and detection commands differ between PHP and TypeScript.\n\n| Signal | Stack | Tooling |\n|--------|-------|---------|\n| `composer.json` | PHP \u002F Laravel | `phpstan`, `phpcs`, `phpmd`, manual grep |\n| `package.json` | Node \u002F TS \u002F React | `eslint`, `tsc --noEmit`, `knip`, manual grep |\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Comments | CRITICAL | `comments-` |\n| 2 | Naming | CRITICAL | `naming-` |\n| 3 | Over-engineering | HIGH | `over-eng-` |\n| 4 | Defensive overdose | HIGH | `defensive-` |\n| 5 | Test slop | HIGH | `test-` |\n| 6 | Style fingerprints | MEDIUM | `style-` |\n\n## Quick Reference\n\n### 1. Comments (CRITICAL)\n\n- `comments-narration` — Comments that just restate the code on the next line\n- `comments-empty-docblocks` — Generic `\u002F** Get the user *\u002F` over a typed `getUser()` signature\n- `comments-placeholder` — `\u002F\u002F TODO: implement`, `\u002F\u002F your code here`, `\u002F\u002F implementation`, `\u002F\u002F helper function`\n- `comments-closing-brace-labels` — `} \u002F\u002F end function` \u002F `} \u002F\u002F end if block`\n\n### 2. Naming (CRITICAL)\n\n- `naming-generic-placeholders` — `data`, `result`, `info`, `temp`, `helper`, `value`\n- `naming-over-descriptive` — `theUserWhoIsCurrentlyLoggedIn`, `calculateTotalAmountFromItemsList`\n- `naming-suffix-abuse` — `*Helper` \u002F `*Manager` \u002F `*Util` \u002F `*Wrapper` \u002F `*Processor` overused\n- `naming-type-in-name` — `userObject`, `resultArray`, `stringData`, `listOfItems`\n\n### 3. Over-engineering (HIGH)\n\n- `over-eng-premature-interface` — Interface with exactly one implementation and no second on the roadmap\n- `over-eng-single-method-class` — Classes that exist solely to wrap one function\n- `over-eng-useless-wrapper` — Wrapper called from exactly one place, just delegating\n- `over-eng-dependency-creep` — New library when an existing dep already does the job\n\n### 4. Defensive overdose (HIGH)\n\n- `defensive-generic-catch` — `try { ... } catch (e) { console.error(\"error\") }` everywhere\n- `defensive-impossible-null` — Null checks after non-null assertions \u002F type-guaranteed values\n- `defensive-missing-real` — Defensive in the wrong places; missing timeouts\u002Frate-limits where it matters\n\n### 5. Test slop (HIGH)\n\n- `test-mock-everything` — Mock for every dep; the test re-encodes the implementation, not the behaviour\n- `test-doesnt-throw` — Tests that just call the function and assert no exception\n- `test-mirror-implementation` — Tests whose logic mirrors the production code being tested\n- `test-snapshot-abuse` — Snapshot tests replacing behavioural assertions\n\n### 6. Style fingerprints (MEDIUM)\n\n- `style-hyper-consistent` — No formatting drift anywhere; every file looks linter-perfect\n- `style-as-any-escape` — `as any` \u002F `@ts-ignore` \u002F `@ts-expect-error` sprinkled where types are hard\n- `style-no-hack-scars` — Codebase has zero `\u002F\u002F HACK:` \u002F `\u002F\u002F XXX:` markers; no \"geology\"\n- `style-debug-artifacts` — `console.log`, `var_dump`, `dd()`, `dump()` left in production paths\n- `style-trivial-boilerplate` — `if (x) return true; else return false;`, redundant TS type annotations on obvious literals\n\n## Essential Patterns\n\n### The \"would this pass code review?\" filter\n\nFor each code chunk, ask:\n1. **Could I cut a third of these comments and the code would be clearer?** → likely comment slop\n2. **Do the variable names tell me what they hold, or just what type they are?** → likely naming slop\n3. **Could this class be a function?** → likely over-engineering\n4. **Does this catch block actually handle anything, or just log?** → likely defensive overdose\n5. **Does this test fail if I break the function?** → if no, test slop\n6. **Are there any `\u002F\u002F HACK:` \u002F `\u002F\u002F XXX:` markers in the diff?** → if no, suspicious for AI\n\n### Verdict bands (matched to AI-SLOP-Detector's scoring)\n\n| Verdict | Meaning | Action |\n|---|---|---|\n| **CLEAN** | \u003C 5% of lines flagged | Ship |\n| **SUSPICIOUS** | 5–15% flagged | Review changes one more time |\n| **INFLATED** | 15–30% flagged | Strip slop, split commits |\n| **CRITICAL** | > 30% flagged | Rewrite section before merge |\n\n## How to Use\n\nRead individual rule files for detailed conventions and examples:\n\n```\nrules\u002Fcomments-narration.md\nrules\u002Fnaming-generic-placeholders.md\nrules\u002Fover-eng-premature-interface.md\nrules\u002Fdefensive-generic-catch.md\nrules\u002Ftest-mock-everything.md\nrules\u002Fstyle-hyper-consistent.md\n```\n\nEach rule file contains:\n- YAML frontmatter (title, impact, tags)\n- Brief explanation of why the pattern is AI-fingerprint\n- \"Incorrect\" example showing the slop\n- \"Correct\" example showing the human-equivalent\n- Detection guidance (grep \u002F eslint \u002F phpstan \u002F heuristic)\n- Reference link\n\n## References\n\n- GitClear — 2025 Code-Quality Trends Report (refactoring collapse, copy-paste surge)\n- [arXiv 2510.03029 — Investigating the Smells of LLM-Generated Code](https:\u002F\u002Farxiv.org\u002Fabs\u002F2510.03029)\n- Addy Osmani — Comprehension Debt (O'Reilly Radar)\n- Stack Overflow Blog — Eno Reyes Q&A on AI code quality\n\n- [hardikpandya\u002Fstop-slop](https:\u002F\u002Fgithub.com\u002Fhardikpandya\u002Fstop-slop) — sister project for prose slop\n- [flamehaven01\u002FAI-SLOP-Detector](https:\u002F\u002Fgithub.com\u002Fflamehaven01\u002FAI-SLOP-Detector) — Python AST scanner with 27 patterns\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n",{"name":5,"license":14,"metadata":23,"description":7},{"author":24,"version":25},"agent-skills","1.0.0","main","1d1992f15739dafb1e105b9293d9d4a60f3f940f","bankdata\u002F.agents\u002Fskills\u002Fcode-slop","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON","https:\u002F\u002Fbankdata-jhon.vercel.app","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev","2026-09-01 19:20:34",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add projectweb738-dev\u002FBANKDATA_JHON --skill code-slop",{"tool":39,"command":40},"bunx","bunx skills add projectweb738-dev\u002FBANKDATA_JHON --skill code-slop",{"tool":42,"command":43},"pnpm","pnpm dlx skills add projectweb738-dev\u002FBANKDATA_JHON --skill code-slop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002FSKILL.md",true,[47,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"AGENTS.md","REFERENCE","参考文档",117090,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002FAGENTS.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"README.md",2617,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002FREADME.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"rules\u002F_sections.md",2454,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002F_sections.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"rules\u002F_template.md",670,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002F_template.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"rules\u002Fcomments-closing-brace-labels.md",3552,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fcomments-closing-brace-labels.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"rules\u002Fcomments-empty-docblocks.md",3884,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fcomments-empty-docblocks.md",{"path":74,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":75,"sourceHtmlUrl":76},"rules\u002Fcomments-narration.md",4317,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fcomments-narration.md",{"path":78,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":79,"sourceHtmlUrl":80},"rules\u002Fcomments-placeholder.md",4132,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fcomments-placeholder.md",{"path":82,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":83,"sourceHtmlUrl":84},"rules\u002Fdefensive-generic-catch.md",5617,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fdefensive-generic-catch.md",{"path":86,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":87,"sourceHtmlUrl":88},"rules\u002Fdefensive-impossible-null.md",5426,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fdefensive-impossible-null.md",{"path":90,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":91,"sourceHtmlUrl":92},"rules\u002Fdefensive-missing-real.md",6229,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fdefensive-missing-real.md",{"path":94,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":95,"sourceHtmlUrl":96},"rules\u002Fnaming-generic-placeholders.md",4015,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fnaming-generic-placeholders.md",{"path":98,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":99,"sourceHtmlUrl":100},"rules\u002Fnaming-over-descriptive.md",4160,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fnaming-over-descriptive.md",{"path":102,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":103,"sourceHtmlUrl":104},"rules\u002Fnaming-suffix-abuse.md",5424,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fnaming-suffix-abuse.md",{"path":106,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":107,"sourceHtmlUrl":108},"rules\u002Fnaming-type-in-name.md",4068,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fnaming-type-in-name.md",{"path":110,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":111,"sourceHtmlUrl":112},"rules\u002Fover-eng-dependency-creep.md",4382,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fover-eng-dependency-creep.md",{"path":114,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":115,"sourceHtmlUrl":116},"rules\u002Fover-eng-premature-interface.md",5091,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fover-eng-premature-interface.md",{"path":118,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":119,"sourceHtmlUrl":120},"rules\u002Fover-eng-single-method-class.md",4872,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fover-eng-single-method-class.md",{"path":122,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":123,"sourceHtmlUrl":124},"rules\u002Fover-eng-useless-wrapper.md",4735,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fover-eng-useless-wrapper.md",{"path":126,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":127,"sourceHtmlUrl":128},"rules\u002Fstyle-as-any-escape.md",5098,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fstyle-as-any-escape.md",{"path":130,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":131,"sourceHtmlUrl":132},"rules\u002Fstyle-debug-artifacts.md",5379,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fstyle-debug-artifacts.md",{"path":134,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":135,"sourceHtmlUrl":136},"rules\u002Fstyle-hyper-consistent.md",5155,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fstyle-hyper-consistent.md",{"path":138,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":139,"sourceHtmlUrl":140},"rules\u002Fstyle-no-hack-scars.md",4859,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fstyle-no-hack-scars.md",{"path":142,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":143,"sourceHtmlUrl":144},"rules\u002Fstyle-trivial-boilerplate.md",6009,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Fstyle-trivial-boilerplate.md",{"path":146,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":147,"sourceHtmlUrl":148},"rules\u002Ftest-doesnt-throw.md",4934,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Ftest-doesnt-throw.md",{"path":150,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":151,"sourceHtmlUrl":152},"rules\u002Ftest-mirror-implementation.md",5109,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Ftest-mirror-implementation.md",{"path":154,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":155,"sourceHtmlUrl":156},"rules\u002Ftest-mock-everything.md",6424,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Ftest-mock-everything.md",{"path":158,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":159,"sourceHtmlUrl":160},"rules\u002Ftest-snapshot-abuse.md",5322,"https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fcode-slop\u002Frules\u002Ftest-snapshot-abuse.md",[162,169,176,185,192,200],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":18},"01M78D1BKYFY69R04PNRR5HSZJ","wordpress-pro","Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fwordpress-pro\u002FSKILL.md",[],[],{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":18},"01M78D13G4YF5N0SPXAJRA1JYT","websocket-engineer","Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fwebsocket-engineer\u002FSKILL.md",[],[],{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":180,"licenseFileUrl":181,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":18},"01M78D10XEZAMYSSWTRE2WS9KK","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":18},"01M78D0V06RFFQBT70678K5Y7M","web-design-guidelines","UI\u002FUX best practices and accessibility audit. Use when reviewing UI code, checking accessibility, running accessibility audits, auditing forms, or ensuring web interface best practices. Triggers on \"audit accessibility\", \"check WCAG\", \"review UI\", \"check accessibility\", \"audit design\", \"review UX\", or \"check best practices\".","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":180,"licenseFileUrl":196,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":18},"01M78D0QH26WXXHZW4V54HS0TS","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":18},"01M78D0C3NRETBTGVCFTXG6PSF","vue-expert","Builds Vue 3 components with Composition API patterns, configures Nuxt 3 SSR\u002FSSG projects, sets up Pinia stores, scaffolds Quasar\u002FCapacitor mobile apps, implements PWA features, and optimises Vite builds. Use when creating Vue 3 applications with Composition API, writing reusable composables, managing state with Pinia, building hybrid mobile apps with Quasar or Capacitor, configuring service workers, or tuning Vite configuration and TypeScript integration.","https:\u002F\u002Fgithub.com\u002Fprojectweb738-dev\u002FBANKDATA_JHON\u002Fblob\u002Fmain\u002Fbankdata\u002F.agents\u002Fskills\u002Fvue-expert\u002FSKILL.md",[],[]]