[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JPVVSENYRKTDYNKQR2ZX2J":3,"skill-same:01M6JPVVSENYRKTDYNKQR2ZX2J":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6JPVVSENYRKTDYNKQR2ZX2J","code-slop-cleanup",null,"Strip AI slop from a branch diff before PR — judge each hunk against the surrounding file's conventions, remove without changing behavior, re-run tests. Removal only: hunting bugs → code-reviewing; structural improvement → refactoring; repo-wide audit → technical-debt-review; pruning tests → test-suite-design.","SWEStash\u002Fswe-workflow-skills","SWEStash","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272895713?v=4","01M6JNRQ84JN5WFK9S1V5H4G46","SWE Stash","01M6JNRQCM45X8WPNHY30TSAB0",1,"MIT","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fqa\u002Fskills\u002Fcode-slop-cleanup\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"code slop cleanup","cleanup","slop","code","remove","re","hunting","judge","structural","technical-debt","clean","only","design","branch","hunk","refactoring","plan","audit","run","review","2026-11-10 10:12:30",false,"---\nname: code-slop-cleanup\ndescription: \"Strip AI slop from a branch diff before PR — judge each hunk against the surrounding file's conventions, remove without changing behavior, re-run tests. Removal only: hunting bugs → code-reviewing; structural improvement → refactoring; repo-wide audit → technical-debt-review; pruning tests → test-suite-design.\"\nwhen_to_use: \"Triggers: deslop, AI slop, slop cleanup, tighten this diff, remove AI artifacts, clean the diff before PR, debug leftovers, stray PLAN.md, obvious comments, unnecessary try\u002Fcatch, backwards-compat shim nobody asked for, diff hygiene.\"\n---\n\n# Code Slop Cleanup\n\nStrip the residue AI-assisted coding leaves in a branch — obvious comments, defensive theater, debug leftovers, stray files, hedging shims — so the diff that reaches review contains only the change itself. Runs after implementation, before `git-workflow`\u002F`code-reviewing`. This pass **removes**; it never redesigns.\n\n## ⛔ The Iron Law\n\n**Remove only what you can prove is slop — never change behavior. If a removal could change behavior, keep the code and flag it instead.**\n\nSlop cleanup that deletes a load-bearing check trades clutter for a bug — a strictly worse codebase. When in doubt, the code stays and the doubt goes in the report.\n\n## Workflow\n\n### Step 1: Scope the Diff\n\nStart from the branch state vs the default branch: `git diff \u003Cbase>...HEAD --stat`\n(`main`, or `master` in older repos).\n\nRun the full `git diff \u003Cbase>...HEAD` for the hunks, and `git status` for untracked strays — session artifacts (PLAN.md, scratch scripts, checked-in generated\u002Fderived build artifacts) often aren't in the diff yet. Only changed\u002Fadded code is in scope: pre-existing slop belongs to `technical-debt-review`, not this pass.\n\n**\"Make the branch presentable\" is two jobs; this is one of them.** What the diff should\n*contain* is this pass. How the work is *arranged* — squashing a thrash of wip commits,\nrewriting messages, drafting the PR description — is `git-workflow`. Do the removals and\nhand the history over; a tidy diff spread across fourteen meaningless commits is still not\nreviewable, and rearranging commits does not delete a debug log.\n\n### Step 2: Judge Each Hunk Against Its Surroundings\n\nSlop is relative — the same construct is correct in one place and slop in another. For each candidate, read the surrounding file and ask: is this **abnormal for this file's conventions and this codepath's trust level?** A try\u002Fcatch at a process boundary is protection; the same try\u002Fcatch deep in a validated internal path is theater. See [references\u002Fslop-patterns.md](references\u002Fslop-patterns.md) for the full catalog with per-pattern \"when it's NOT slop\" columns.\n\n### Step 3: Classify by Severity\n\n- **High**: debug leftovers, silent-failure handlers, stray working files\n- **Medium**: defensive theater on trusted paths, generic TODOs, unrequested backwards-compat shims, duplication of existing helpers\n- **Medium**: also unanchored internal terminology (`Phase 2`, `CP1.3`, `finding #17`) that no git-tracked doc defines — rewrite to the meaning\n- **Low**: comment slop, dead weight (unused imports, `=== true`, redundant returns), style inconsistent with the file\n\nMisplaced rationale — the multi-line header essay explaining a *system* instead of\nthe code beneath it — is detected here but **routed, not deleted**: the reasoning\nbelongs in an ADR, and deleting it loses something nothing else records.\n\n### Step 4: Strip — Deletions Only, Production Code Only\n\nApply removals highest severity first. Every edit must be a behavior-preserving deletion (or a trivial inlining a deletion forces). If removing something requires *rewriting* logic around it, that's refactoring — leave it and flag it.\n\n**The two test rules:**\n1. A test failing after a production-code removal is the oracle saying the removal changed behavior. **Revert the removal. Never edit the test.**\n2. Slop *inside test files* (redundant tests, trivial asserts, mock-testing) is flagged and routed to `test-suite-design` — never deleted here. A test's value can't be judged from the diff alone.\n\n### Step 5: Re-Run the Tests\n\nRun the project's test suite fresh and read the output (`verification-before-completion`). Green is the proof the removals were behavior-preserving; a failure means Step 4's rule 1 applies to the offending removal.\n\n### Step 6: Report the Tightened Diff\n\nShow what was removed, grouped by category with counts, plus a **flagged-not-removed** list: anything kept under the Iron Law's doubt clause, test-file slop routed to `test-suite-design`, suspected bugs routed to `code-reviewing`\u002F`bug-investigating`.\n\n## Prevention: Reuse Before Write\n\nThe biggest slop category — duplication — is created at generation time and only caught (expensively) at review time, because a single diff hunk hides the copies that already exist elsewhere. This is the canonical counter, and `code-reviewing` points reviewers back here:\n\n- **Before writing any new helper, grep the codebase for an existing one** — name fragments, the operation's key terms, the module where it would live. AI assistants generate what looks plausible instead of searching for what exists; searching first is the cheap counter.\n- **Before writing the third near-copy of a block, extract the seam instead.** The recurring shapes — an N-arg setup\u002Fwiring ritual pasted at every entry point, parallel functions differing only by a noun or constant, byte-identical mappers across sibling modules — are cheap to write locally and expensive to maintain. The moment you're about to paste-and-tweak, that's the signal to factor.\n\n## Boundaries — What This Skill Never Does\n\n- **Never adds code** — no new abstractions, no \"while I'm here\" improvements.\n- **Found a bug?** Flag it and route to `code-reviewing`\u002F`bug-investigating`. Fixing bugs mid-cleanup makes both the cleanup and the fix unreviewable.\n- **Structural cleanup** → `refactoring`. Most slop cleanup is a micro-refactor, and the two chain naturally: strip slop first, then refactor what remains — but extraction, moving, and re-abstraction are the refactoring skill's discipline (test-protected, one transformation at a time).\n- **Whole-repo slop** → `technical-debt-review` with its slop debt categories.\n\n## Rationalizations to Reject\n\n| Excuse | Reality |\n|--------|---------|\n| \"This check might catch something someday\" | If nothing upstream can produce that state, it's theater — and it hides the real bugs by normalizing noise. |\n| \"The comments help junior developers\" | Restating comments rot and mislead; code clarity helps juniors. Keep why-comments, cut what-comments. |\n| \"This 12-line header explains the architecture — I'll delete it as comment slop\" | It's misplaced, not worthless. Deleting it destroys reasoning nothing else records. Flag it for the ADR and leave the code alone. |\n| \"Phase 3 is obviously meaningful, leave the reference\" | Check before assuming: if no tracked doc defines it, it points at a conversation the reader wasn't in. Rewrite it to what it means. |\n| \"I'll just fix this bug while I'm here\" | Cleanup and fixes in one pass make both unreviewable. Flag it, route it, finish the cleanup. |\n| \"Strip it all — defensive code is slop\" | A boundary check is not slop. Over-removal breaks behavior, the one thing this pass must never do. |\n| \"This test is obviously redundant, I'll just delete it\" | \"Obviously\" is a guess; proof requires the behavior map. Route to `test-suite-design`. |\n\n## Red Flags — Stop and Revert\n\n- You modified a conditional's logic instead of deleting something.\n- A test failed and you're editing the test.\n- You deleted a test.\n- You removed validation at a public, API, or user-input boundary.\n- You added anything.\n\n## Cross-Skill References\n\n- `refactoring` — structural improvement after the slop is gone; this skill deletes, that one reshapes\n- `code-reviewing` — the review this pass prepares the diff for; bugs found here route there\n- `test-suite-design` — pruning test-file slop with behavior-map proof\n- `technical-debt-review` — repo-scoped slop audit (type\u002Fconfig\u002Fdoc-drift debt)\n- `git-workflow` — the pre-PR self-review this pass feeds into\n- `verification-before-completion` — the fresh-test-run gate behind Step 5\n","# Code Slop Cleanup\n\nStrip the residue AI-assisted coding leaves in a branch — obvious comments, defensive theater, debug leftovers, stray files, hedging shims — so the diff that reaches review contains only the change itself. Runs after implementation, before `git-workflow`\u002F`code-reviewing`. This pass **removes**; it never redesigns.\n\n## ⛔ The Iron Law\n\n**Remove only what you can prove is slop — never change behavior. If a removal could change behavior, keep the code and flag it instead.**\n\nSlop cleanup that deletes a load-bearing check trades clutter for a bug — a strictly worse codebase. When in doubt, the code stays and the doubt goes in the report.\n\n## Workflow\n\n### Step 1: Scope the Diff\n\nStart from the branch state vs the default branch: `git diff \u003Cbase>...HEAD --stat`\n(`main`, or `master` in older repos).\n\nRun the full `git diff \u003Cbase>...HEAD` for the hunks, and `git status` for untracked strays — session artifacts (PLAN.md, scratch scripts, checked-in generated\u002Fderived build artifacts) often aren't in the diff yet. Only changed\u002Fadded code is in scope: pre-existing slop belongs to `technical-debt-review`, not this pass.\n\n**\"Make the branch presentable\" is two jobs; this is one of them.** What the diff should\n*contain* is this pass. How the work is *arranged* — squashing a thrash of wip commits,\nrewriting messages, drafting the PR description — is `git-workflow`. Do the removals and\nhand the history over; a tidy diff spread across fourteen meaningless commits is still not\nreviewable, and rearranging commits does not delete a debug log.\n\n### Step 2: Judge Each Hunk Against Its Surroundings\n\nSlop is relative — the same construct is correct in one place and slop in another. For each candidate, read the surrounding file and ask: is this **abnormal for this file's conventions and this codepath's trust level?** A try\u002Fcatch at a process boundary is protection; the same try\u002Fcatch deep in a validated internal path is theater. See [references\u002Fslop-patterns.md](references\u002Fslop-patterns.md) for the full catalog with per-pattern \"when it's NOT slop\" columns.\n\n### Step 3: Classify by Severity\n\n- **High**: debug leftovers, silent-failure handlers, stray working files\n- **Medium**: defensive theater on trusted paths, generic TODOs, unrequested backwards-compat shims, duplication of existing helpers\n- **Medium**: also unanchored internal terminology (`Phase 2`, `CP1.3`, `finding #17`) that no git-tracked doc defines — rewrite to the meaning\n- **Low**: comment slop, dead weight (unused imports, `=== true`, redundant returns), style inconsistent with the file\n\nMisplaced rationale — the multi-line header essay explaining a *system* instead of\nthe code beneath it — is detected here but **routed, not deleted**: the reasoning\nbelongs in an ADR, and deleting it loses something nothing else records.\n\n### Step 4: Strip — Deletions Only, Production Code Only\n\nApply removals highest severity first. Every edit must be a behavior-preserving deletion (or a trivial inlining a deletion forces). If removing something requires *rewriting* logic around it, that's refactoring — leave it and flag it.\n\n**The two test rules:**\n1. A test failing after a production-code removal is the oracle saying the removal changed behavior. **Revert the removal. Never edit the test.**\n2. Slop *inside test files* (redundant tests, trivial asserts, mock-testing) is flagged and routed to `test-suite-design` — never deleted here. A test's value can't be judged from the diff alone.\n\n### Step 5: Re-Run the Tests\n\nRun the project's test suite fresh and read the output (`verification-before-completion`). Green is the proof the removals were behavior-preserving; a failure means Step 4's rule 1 applies to the offending removal.\n\n### Step 6: Report the Tightened Diff\n\nShow what was removed, grouped by category with counts, plus a **flagged-not-removed** list: anything kept under the Iron Law's doubt clause, test-file slop routed to `test-suite-design`, suspected bugs routed to `code-reviewing`\u002F`bug-investigating`.\n\n## Prevention: Reuse Before Write\n\nThe biggest slop category — duplication — is created at generation time and only caught (expensively) at review time, because a single diff hunk hides the copies that already exist elsewhere. This is the canonical counter, and `code-reviewing` points reviewers back here:\n\n- **Before writing any new helper, grep the codebase for an existing one** — name fragments, the operation's key terms, the module where it would live. AI assistants generate what looks plausible instead of searching for what exists; searching first is the cheap counter.\n- **Before writing the third near-copy of a block, extract the seam instead.** The recurring shapes — an N-arg setup\u002Fwiring ritual pasted at every entry point, parallel functions differing only by a noun or constant, byte-identical mappers across sibling modules — are cheap to write locally and expensive to maintain. The moment you're about to paste-and-tweak, that's the signal to factor.\n\n## Boundaries — What This Skill Never Does\n\n- **Never adds code** — no new abstractions, no \"while I'm here\" improvements.\n- **Found a bug?** Flag it and route to `code-reviewing`\u002F`bug-investigating`. Fixing bugs mid-cleanup makes both the cleanup and the fix unreviewable.\n- **Structural cleanup** → `refactoring`. Most slop cleanup is a micro-refactor, and the two chain naturally: strip slop first, then refactor what remains — but extraction, moving, and re-abstraction are the refactoring skill's discipline (test-protected, one transformation at a time).\n- **Whole-repo slop** → `technical-debt-review` with its slop debt categories.\n\n## Rationalizations to Reject\n\n| Excuse | Reality |\n|--------|---------|\n| \"This check might catch something someday\" | If nothing upstream can produce that state, it's theater — and it hides the real bugs by normalizing noise. |\n| \"The comments help junior developers\" | Restating comments rot and mislead; code clarity helps juniors. Keep why-comments, cut what-comments. |\n| \"This 12-line header explains the architecture — I'll delete it as comment slop\" | It's misplaced, not worthless. Deleting it destroys reasoning nothing else records. Flag it for the ADR and leave the code alone. |\n| \"Phase 3 is obviously meaningful, leave the reference\" | Check before assuming: if no tracked doc defines it, it points at a conversation the reader wasn't in. Rewrite it to what it means. |\n| \"I'll just fix this bug while I'm here\" | Cleanup and fixes in one pass make both unreviewable. Flag it, route it, finish the cleanup. |\n| \"Strip it all — defensive code is slop\" | A boundary check is not slop. Over-removal breaks behavior, the one thing this pass must never do. |\n| \"This test is obviously redundant, I'll just delete it\" | \"Obviously\" is a guess; proof requires the behavior map. Route to `test-suite-design`. |\n\n## Red Flags — Stop and Revert\n\n- You modified a conditional's logic instead of deleting something.\n- A test failed and you're editing the test.\n- You deleted a test.\n- You removed validation at a public, API, or user-input boundary.\n- You added anything.\n\n## Cross-Skill References\n\n- `refactoring` — structural improvement after the slop is gone; this skill deletes, that one reshapes\n- `code-reviewing` — the review this pass prepares the diff for; bugs found here route there\n- `test-suite-design` — pruning test-file slop with behavior-map proof\n- `technical-debt-review` — repo-scoped slop audit (type\u002Fconfig\u002Fdoc-drift debt)\n- `git-workflow` — the pre-PR self-review this pass feeds into\n- `verification-before-completion` — the fresh-test-run gate behind Step 5\n",{"name":5,"description":7,"when_to_use":44},"Triggers: deslop, AI slop, slop cleanup, tighten this diff, remove AI artifacts, clean the diff before PR, debug leftovers, stray PLAN.md, obvious comments, unnecessary try\u002Fcatch, backwards-compat shim nobody asked for, diff hygiene.","main","800dc9ad0ca2914d6ad15b8c5159d9b57bb104c2","plugins\u002Fqa\u002Fskills\u002Fcode-slop-cleanup","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills","https:\u002F\u002Fgithub.com\u002FSWEStash","A stash of things we felt like building","2026-11-12 00:14:33",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add SWEStash\u002Fswe-workflow-skills --skill code-slop-cleanup",{"tool":58,"command":59},"bunx","bunx skills add SWEStash\u002Fswe-workflow-skills --skill code-slop-cleanup",{"tool":61,"command":62},"pnpm","pnpm dlx skills add SWEStash\u002Fswe-workflow-skills --skill code-slop-cleanup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fqa\u002Fskills\u002Fcode-slop-cleanup\u002FSKILL.md",true,[66,72],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fevals.json","REFERENCE","参考文档",8357,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fqa\u002Fskills\u002Fcode-slop-cleanup\u002Fevals\u002Fevals.json",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fslop-patterns.md",10113,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fqa\u002Fskills\u002Fcode-slop-cleanup\u002Freferences\u002Fslop-patterns.md",[77,104,129,152,177,200],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":39},"01M6JQFADV3T1MS9V1BNZS1232","writing-skills","Use when authoring, editing, or reviewing a skill in this library — a new SKILL.md, one that under-triggers, or hardening an existing one. Covers description and listing-budget rules, frontmatter, progressive disclosure, the 3-eval rule, and pressure-testing against rationalizations.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],"writing","writing skills","testing","eval","write","edit","Budget","authoring","new skill","library","frontmatter","editing","triggers","use","Existing","Rules","write a skill","when","listing","progressive disclosure",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6JQF5DGMXPMQQVZBP8DH9SY","working-agreement","Define and validate how a multi-session project is run — where plans, status and decisions live, session routines, new work, milestone close. README\u002FCONTRIBUTING → project-documentation.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fworking-agreement\u002FSKILL.md",[],[111,112,113,114,115,116,117,118,119,120,121,37,122,123,124,125,126,127,96,128],"working agreement","project","definition of done","done","milestone","documentation","work","progress","how","contributing","close","sync","status","live","do","README","session","routines",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":39},"01M6JQF0SMRHN82RBSWMABC4J0","verification-before-completion","Evidence gate before any claim that work is done, fixed, passing, or deployed. Route here when a message declares the work finished or asks to commit, push, merge, ship, or close it out, including a brief sign-off, and before git-workflow or release-management act on it. Writing the commit message or PR text itself → git-workflow.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[136,137,138,139,140,141,84,142,114,143,144,145,117,146,121,147,148,149,150,151],"verification","verification before completion","brief","ready","fix","claim","workflow","commit","text","route","message","merge","release","git","act","ship",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":39},"01M6JQEVGE9NJZ11DV60AE6VWC","ui-ux-design","Design user experiences from an engineer's perspective — user flows, wireframes, interaction patterns, responsive strategy, navigation, loading\u002Ferror\u002Fempty states. Triggers: design the UI, user flow, wireframe, how should this screen look, loading state, error state, empty state, responsive design, navigation, page layout, form design, mockup.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-ux-design\u002FSKILL.md",[],[31,159,160,161,162,163,164,165,166,167,168,169,119,170,171,172,173,174,175,176],"ux","ui","ui ux design","error","states","loading","flows","engineer","interaction","layout","responsive design","screen","flow","patterns","mockup","responsive","form","page",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":39},"01M6JQEN4HVFTZWQYWGTDS76K9","threat-modeling","Design-time security analysis of a system or feature before it's built — trust boundaries, attack surface, STRIDE per element, abuse cases, prioritized mitigations that become security requirements. Triggers: threat model, STRIDE, trust boundary, attack surface, what could go wrong security-wise, security design review, abuse case, secure this design, security requirements. Reviewing EXISTING code\u002Fconfig for vulnerabilities → security-audit; use this skill while the design is still on the whiteboard.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fthreat-modeling\u002FSKILL.md",[],[184,185,186,187,188,189,31,190,191,192,22,38,193,36,194,195,196,197,198,199],"modeling","threat modeling","threat","model","time","element","whiteboard","security analysis","analysis","threat model","security-audit","secure","config","go","security","trust",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":39},"01M6JQEFT7VT3FQM16170EG9FW","test-suite-design","Design comprehensive test suites for existing code — strategy across unit\u002Fintegration\u002Fe2e, fixtures, factories, helpers. Triggers: add tests, write tests for, increase coverage, test this module, testing strategy, test plan, what tests do I need, test infrastructure, test helpers, this has no tests. Not for TDD — use tdd-workflow.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftest-suite-design\u002FSKILL.md",[],[31,207,208,209,210,211,86,212,213,142,22,214,35,88,215,216,125,217,218,96],"test suite","test","test suite design","coverage","unit","write tests","testing strategy","across","add","infrastructure","test plan","for"]