[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QPPWK5A3WJ1SAYDNR5YD6S":3,"skill-same:01M6QPPWK5A3WJ1SAYDNR5YD6S":62},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M6QPPWK5A3WJ1SAYDNR5YD6S","unslop",null,"Perform sequential slop-cleanup edits in bounded changed-file scope with behavior-preserving rules; do not use for read-only scanning.","theCat69\u002Fla-briguade","theCat69","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F40163881?v=4","01M6QPEW8JP05VD4Q9E4TJDFB3","01M6QPEWCX5VB9ZKJ7E96BXEHQ",1,"MIT","https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Funslop\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"builder","behavior-preserving","bounded","slop","for","read-only","with","scope","do","cleanup","scanning","only","use","behavior","read","Rules","file","2026-11-10 10:12:30",false,"---\nname: unslop\ndescription: Perform sequential slop-cleanup edits in bounded changed-file scope with behavior-preserving rules; do not use for read-only scanning.\nagents:\n  - builder\n---\n\n# Unslop — AI Slop Cleanup\n\n**Philosophy**: slop cleanup is a scalpel, not a rewrite. The invariant is behavior preservation. Lock behavior with tests before removing anything that has side effects. Prefer deletion over addition — every line of code is a liability. Diffs must be small and reversible. Default scope is bounded to changed files only; callers may override to full-codebase mode by explicitly passing `--full` or stating it in the invocation prompt.\n\n---\n\n## Slop Categories\n\nSeven categories the agent must scan for in every changed file:\n\n1. **Dead code** — unreachable branches, unused exports\u002Fvars\u002Ffunctions, stale feature flags, commented-out blocks, debug leftovers (`console.log`, `print`, `debugger`, `TODO`-that-shipped).\n\n2. **Duplication** — copy-paste logic, near-identical functions whose only difference is a constant, repeated config blocks, redundant helper utilities that do the same thing under different names.\n\n3. **Needless abstraction** — pass-through wrappers with no logic, single-use layers whose only job is to call one other thing, speculative indirection (\"we might need this later\"), premature generalization of code that only has one call site.\n\n4. **Boundary violations** — hidden coupling between modules that should not know about each other, misplaced responsibilities (business logic in a view, I\u002FO in a pure function), logic leaking across architectural layers.\n\n5. **Naming** — generic identifiers that obscure the role of a value, operation, or type.\n\n6. **Error handling** — swallowed errors, ambiguous failure values, or unhelpful failure paths.\n\n7. **Weak test coverage** — behavior not locked by any test, assertions that only check \"no error thrown\" without verifying the actual result, missing edge cases on code paths touched in cleanup passes.\n\n---\n\n## Workflow — Sequential Passes\n\nPasses run ONE AT A TIME — never batched. Complete each pass fully before starting the next.\n\n**Pass 1 — Dead code**\nDelete unreachable branches, unused variables and functions, stale feature flags, commented-out code blocks, and debug leftovers. Do NOT touch code that is merely \"not called yet\" if there is evidence it is intentionally scaffolded (e.g. an exported symbol with a docstring, a stub with a TODO explaining upcoming use).\n\n**Pass 2 — Duplication + needless abstraction**\nExtract repeated logic into a single authoritative location. Remove copy-paste branches and pass-through wrappers. Consolidate redundant helpers. Only extract when duplication is exact and the knowledge is the same — do not merge code that merely looks structurally similar but serves different concerns.\n\n**Pass 3 — Local clarity + boundaries**\nRename generic identifiers (`data`, `value`, `temp`, `result`, `obj`, `info`) to intention-revealing names. Ensure errors are explicit and typed — no silent swallowing, no mixed return\u002Ferror values. Remove noise comments (inline \"what\" comments, any commented-out code that survived Pass 1). Fix only local, in-scope boundary violations; flag architectural or cross-scope boundary fixes rather than expanding the change.\n\n**Pass 4 — Test reinforcement**\nVerify that all behavior touched in Passes 1–3 is covered by tests.\n- **Default (flag-only)**: flag each uncovered path explicitly — do NOT write tests. Report each gap with: file, function\u002Fbranch, and reason it is uncovered. The caller decides whether to proceed with writing tests.\n- **Test-writing override**: callers may explicitly request test authoring by stating it in the invocation prompt (e.g. `\u002Funslop-loop` does this). When test writing is explicitly requested, write targeted tests that lock the preserved behavior. Each test must assert a meaningful result — not just \"no error thrown\". Co-locate new tests with existing test files following the project's naming convention.\n\n## Reduce Override (`--reduce`)\n\nWhen the caller explicitly requests reduction mode (`--reduce` or equivalent), change the optimization target from general cleanup to **net codebase-size reduction**.\n\n- Prioritize exact duplication removal, dead code deletion, useless comment removal, redundant helper consolidation, and pass-through wrapper inlining.\n- Local behavior-preserving refactors are allowed only when they **reduce code size** within the bounded scope.\n- De-prioritize rename-only, error-message wording, or style-only cleanup when it does not materially shrink the code.\n- Never introduce a larger abstraction just to make code look cleaner.\n\n## Critical Rules\n\n- **Scope is bounded to changed files by default.** Identify them via `git diff`. Never touch a file that is not in the changed set unless `--full` is active.\n- **Full-codebase override (`--full`)**: when the caller explicitly passes `--full` or states full-codebase scope in the invocation prompt, scope expands to all source files (excluding `.ai\u002F`, `node_modules\u002F`, build artifact directories, and binary files). Use only when the default diff scope is empty or the caller has explicitly requested whole-codebase cleanup.\n- **Run passes sequentially.** Complete Pass 1 before starting Pass 2. Starting Pass 2 without finishing Pass 1 is a violation.\n- **Prefer deletion over addition.** But scope rule takes precedence: if a symbol is not in the changed files set and is not provably dead within those files, flag it for manual review — do NOT delete it speculatively. Deletion without scope evidence is a violation of the scope rule.\n- **Preserve behavior.** Do NOT refactor logic unless the caller explicitly enabled reduction mode and the refactor is local, behavior-preserving, and net-reduces code size. Never restructure architecture or change algorithms.\n- **Lock behavior with tests BEFORE deleting anything that has side effects.** Write the test first, then delete. If test writing is not enabled, flag the deletion and do not make it.\n- **Validate the changed behavior.** Run the project-relevant checks when available. If validation cannot run, report the exact missing prerequisite and remaining risk.\n- **Read-only scanning is handled by the `unslop-reviewer` skill** — do NOT use this skill in read-only contexts. This skill always edits files.\n\n---\n\n## Output (≤ 300 tokens)\n\n- **Changed files** scoped by `git diff`\n- **What was removed** per pass (Pass 1 \u002F Pass 2 \u002F Pass 3 \u002F Pass 4)\n- **Behavior verification** — tests passing \u002F no tests changed \u002F tests added\n- **Remaining risks** — any paths that could not be safely cleaned without architectural changes\n","# Unslop — AI Slop Cleanup\n\n**Philosophy**: slop cleanup is a scalpel, not a rewrite. The invariant is behavior preservation. Lock behavior with tests before removing anything that has side effects. Prefer deletion over addition — every line of code is a liability. Diffs must be small and reversible. Default scope is bounded to changed files only; callers may override to full-codebase mode by explicitly passing `--full` or stating it in the invocation prompt.\n\n---\n\n## Slop Categories\n\nSeven categories the agent must scan for in every changed file:\n\n1. **Dead code** — unreachable branches, unused exports\u002Fvars\u002Ffunctions, stale feature flags, commented-out blocks, debug leftovers (`console.log`, `print`, `debugger`, `TODO`-that-shipped).\n\n2. **Duplication** — copy-paste logic, near-identical functions whose only difference is a constant, repeated config blocks, redundant helper utilities that do the same thing under different names.\n\n3. **Needless abstraction** — pass-through wrappers with no logic, single-use layers whose only job is to call one other thing, speculative indirection (\"we might need this later\"), premature generalization of code that only has one call site.\n\n4. **Boundary violations** — hidden coupling between modules that should not know about each other, misplaced responsibilities (business logic in a view, I\u002FO in a pure function), logic leaking across architectural layers.\n\n5. **Naming** — generic identifiers that obscure the role of a value, operation, or type.\n\n6. **Error handling** — swallowed errors, ambiguous failure values, or unhelpful failure paths.\n\n7. **Weak test coverage** — behavior not locked by any test, assertions that only check \"no error thrown\" without verifying the actual result, missing edge cases on code paths touched in cleanup passes.\n\n---\n\n## Workflow — Sequential Passes\n\nPasses run ONE AT A TIME — never batched. Complete each pass fully before starting the next.\n\n**Pass 1 — Dead code**\nDelete unreachable branches, unused variables and functions, stale feature flags, commented-out code blocks, and debug leftovers. Do NOT touch code that is merely \"not called yet\" if there is evidence it is intentionally scaffolded (e.g. an exported symbol with a docstring, a stub with a TODO explaining upcoming use).\n\n**Pass 2 — Duplication + needless abstraction**\nExtract repeated logic into a single authoritative location. Remove copy-paste branches and pass-through wrappers. Consolidate redundant helpers. Only extract when duplication is exact and the knowledge is the same — do not merge code that merely looks structurally similar but serves different concerns.\n\n**Pass 3 — Local clarity + boundaries**\nRename generic identifiers (`data`, `value`, `temp`, `result`, `obj`, `info`) to intention-revealing names. Ensure errors are explicit and typed — no silent swallowing, no mixed return\u002Ferror values. Remove noise comments (inline \"what\" comments, any commented-out code that survived Pass 1). Fix only local, in-scope boundary violations; flag architectural or cross-scope boundary fixes rather than expanding the change.\n\n**Pass 4 — Test reinforcement**\nVerify that all behavior touched in Passes 1–3 is covered by tests.\n- **Default (flag-only)**: flag each uncovered path explicitly — do NOT write tests. Report each gap with: file, function\u002Fbranch, and reason it is uncovered. The caller decides whether to proceed with writing tests.\n- **Test-writing override**: callers may explicitly request test authoring by stating it in the invocation prompt (e.g. `\u002Funslop-loop` does this). When test writing is explicitly requested, write targeted tests that lock the preserved behavior. Each test must assert a meaningful result — not just \"no error thrown\". Co-locate new tests with existing test files following the project's naming convention.\n\n## Reduce Override (`--reduce`)\n\nWhen the caller explicitly requests reduction mode (`--reduce` or equivalent), change the optimization target from general cleanup to **net codebase-size reduction**.\n\n- Prioritize exact duplication removal, dead code deletion, useless comment removal, redundant helper consolidation, and pass-through wrapper inlining.\n- Local behavior-preserving refactors are allowed only when they **reduce code size** within the bounded scope.\n- De-prioritize rename-only, error-message wording, or style-only cleanup when it does not materially shrink the code.\n- Never introduce a larger abstraction just to make code look cleaner.\n\n## Critical Rules\n\n- **Scope is bounded to changed files by default.** Identify them via `git diff`. Never touch a file that is not in the changed set unless `--full` is active.\n- **Full-codebase override (`--full`)**: when the caller explicitly passes `--full` or states full-codebase scope in the invocation prompt, scope expands to all source files (excluding `.ai\u002F`, `node_modules\u002F`, build artifact directories, and binary files). Use only when the default diff scope is empty or the caller has explicitly requested whole-codebase cleanup.\n- **Run passes sequentially.** Complete Pass 1 before starting Pass 2. Starting Pass 2 without finishing Pass 1 is a violation.\n- **Prefer deletion over addition.** But scope rule takes precedence: if a symbol is not in the changed files set and is not provably dead within those files, flag it for manual review — do NOT delete it speculatively. Deletion without scope evidence is a violation of the scope rule.\n- **Preserve behavior.** Do NOT refactor logic unless the caller explicitly enabled reduction mode and the refactor is local, behavior-preserving, and net-reduces code size. Never restructure architecture or change algorithms.\n- **Lock behavior with tests BEFORE deleting anything that has side effects.** Write the test first, then delete. If test writing is not enabled, flag the deletion and do not make it.\n- **Validate the changed behavior.** Run the project-relevant checks when available. If validation cannot run, report the exact missing prerequisite and remaining risk.\n- **Read-only scanning is handled by the `unslop-reviewer` skill** — do NOT use this skill in read-only contexts. This skill always edits files.\n\n---\n\n## Output (≤ 300 tokens)\n\n- **Changed files** scoped by `git diff`\n- **What was removed** per pass (Pass 1 \u002F Pass 2 \u002F Pass 3 \u002F Pass 4)\n- **Behavior verification** — tests passing \u002F no tests changed \u002F tests added\n- **Remaining risks** — any paths that could not be safely cleaned without architectural changes\n",{"name":5,"agents":40,"description":7},[18],"main","f4f3a02e82412dd181a98c114c6650ec02475d0f","content\u002Fskills\u002Funslop",0,"https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade","https:\u002F\u002Fgithub.com\u002FtheCat69","2026-09-14 16:38:37",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add theCat69\u002Fla-briguade --skill unslop",{"tool":54,"command":55},"bunx","bunx skills add theCat69\u002Fla-briguade --skill unslop",{"tool":57,"command":58},"pnpm","pnpm dlx skills add theCat69\u002Fla-briguade --skill unslop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Funslop\u002FSKILL.md",true,[],[63,79,92,116,131,150],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":35},"01M6QPPPQ49KBWSWH3X9D9R17B","unslop-reviewer","Run a read-only, pass-ordered slop scan covering abstraction and locally fixable boundary findings; never edit files.","https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Funslop-reviewer\u002FSKILL.md",[],[70,5,71,72,21,23,73,74,29,75,76,32,77,78],"unslop reviewer","reviewer","sidekick","scan","files","never","edit","boundary","run",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":35},"01M6QPPJA6P2HDC19FFR3FZB7A","unslop-coder","Apply unslop-reviewer findings as targeted in-scope code edits in pass order; do not run discovery\u002Fscanning in this skill.","https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Funslop-coder\u002FSKILL.md",[],[5,86,87,88,78,89,90,25,91,26,28,71],"coder","unslop coder","code","discovery","apply","as",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":35},"01M6QPP53KFSKE5KGJBGAKD3WW","serena","Semantic code retrieval, editing, refactoring and debugging tools using LSP servers","https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fserena\u002FSKILL.md",[],[94,99,100,101,102,103,104,105,106,107,108,18,109,110,88,111,112,113,114,115],"server","github","open","refactoring","debugging tools","mcp-server","editing","retrieval","false","project","lsp","local","debugging","web","dashboard","MCP","https",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":35},"01M6QPP2M71X18ENVM3R3B6D10","read-image","guidance to read images in a lightweight fashion using cwebp","https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fread-image\u002FSKILL.md",[],[123,32,124,125,126,127,128,18,129,130,86],"image","read image","images","fashion","cwebp","guidance","orchestrator","ask",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":35},"01M6QPNWCSF2V8AGS8KH9D6A54","playwright-cli","Drive browser UI checks with playwright-cli commands, snapshots, and test\u002Fdebug workflows; do not use for backend-only or non-browser tasks.","https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fplaywright-cli\u002FSKILL.md",[],[138,139,140,141,18,29,142,30,86,143,144,145,146,147,148,133,22,24,149,26],"playwright cli","playwright","cli","workflows","backend","ui","browser","tasks","debug","snapshots","test","commands",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":35},"01M6QPNEM5D3N37R8E5YEAAV6D","next-devtools","skill to help you use next-devtools","https:\u002F\u002Fgithub.com\u002FtheCat69\u002Fla-briguade\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fnext-devtools\u002FSKILL.md",[],[157,158,159,160,161,110,51,18,30,86,162,114],"next devtools","devtools","next","latest","you","help"]