[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D7RQ5K7KYN9D1152MS6561":3,"skill-same:01M6D7RQ5K7KYN9D1152MS6561":86},{"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":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6D7RQ5K7KYN9D1152MS6561","quality-sweep",null,"Audit and implement behavior-preserving cleanup across types, dead code, dependencies, errors, and comments","GeorgeQLe\u002Fagentic-skills","GeorgeQLe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21134126?v=4","01M6D2JP418S0VGJGF8M93EC3H","George Le","01M6D2JPBAKYD82TA5FS6HKQ3D",1,"MIT","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-quality\u002Fcodex\u002Fquality-sweep\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"quality","quality sweep","sweep","behavior","implement","app","across","domain","dependencies","alignment","v0","fix","code","directory","cleanup","page","dead code","execution","audit","package","2026-11-10 10:12:30",false,"---\nname: quality-sweep\ndescription: Audit and implement behavior-preserving cleanup across types, dead code, dependencies, errors, and comments\ntype: execution\nversion: v0.1\nrequired_conventions: [alignment-page]\nargument-hint: \"[audit|fix|full] [optional: package, app, directory, or domain]\"\n---\n\n# Quality Sweep\n\nInvoke as `$quality-sweep`.\n\nUse this skill when a project needs a behavior-preserving code quality cleanup campaign across duplication, type hygiene, dead code, dependency boundaries, defensive error handling, legacy paths, and comments. This skill orchestrates cleanup work; use narrower skills like `extract-shared-types`, `dead-code`, `slim-audit`, `hygiene`, `spec-drift`, and `regression-check` when the user asks for only one of those concerns.\n\n## Process\n\n1. **Select mode and scope.**\n   - Parse `$ARGUMENTS` for mode: `audit`, `fix`, or `full`.\n   - Default to `audit` when no mode is provided.\n   - Treat remaining arguments as the target scope: package, app, directory, or domain.\n   - If no scope is provided, inspect the repository and choose the smallest coherent scope before broadening.\n\n2. **Establish baseline and context.**\n   - Read project instructions, manifests, package configs, path aliases, lint\u002Ftypecheck\u002Ftest\u002Fbuild scripts, and relevant docs.\n   - Read specs, roadmap\u002Ftodo\u002Fhistory, changelogs, ADRs, or design notes when present.\n   - In `fix` or `full`, run or record the narrowest relevant baseline checks available before edits.\n   - Respect documented trade-offs and intentional architecture. Do not report documented decisions as cleanup targets.\n\n3. **Run audit lanes.**\n   - **Duplication:** find duplicate or near-duplicate code where consolidation reduces coupling, maintenance cost, or complexity.\n   - **Shared types:** find type definitions that should move to a shared boundary; follow `extract-shared-types` rules for any implementation.\n   - **Unused code:** use code search and available tools such as `knip` to find unused exports, orphaned files, stale dependencies, and unreachable branches.\n   - **Circular dependencies:** use code search and available tools such as `madge` to identify dependency cycles and import-boundary issues.\n   - **Weak types:** find unsafe `any` and unjustified weak typing. Preserve `unknown` at trust boundaries unless a stronger validated type exists.\n   - **Error handling:** audit `try`\u002F`catch` and defensive patterns. Preserve boundary handling, parsing, cleanup, rollback, external-service handling, and error translation.\n   - **Legacy paths:** find deprecated, migration, compatibility, fallback, and alternate code paths that may now be obsolete.\n   - **Comments and stubs:** remove or rewrite AI slop, stale comments, in-motion notes, stubs, larp, and comments that describe previous work instead of current behavior.\n\n4. **Triage every finding.**\n   - `Safe to Fix`: behavior-preserving, statically supported, verified by code search, not public-API-sensitive, and independently revertible.\n   - `Needs Investigation`: plausible but ambiguous, migration-sensitive, weakly covered, or dependent on product intent.\n   - `Do Not Change`: documented decision, necessary fallback, valid boundary handling, or readability-preserving duplication.\n   - Re-read the relevant source before finalizing a finding. Drop findings that cannot be reconfirmed.\n\n5. **Use subagents only for audit-first lanes.**\n   - If the user explicitly requests subagents, or the mode is `full` and the active environment permits subagents, assign lanes as research tasks first.\n   - Subagents should report findings and recommendations before edits.\n   - The main agent owns final triage, integration, edits, and verification.\n   - Direct subagent edits are allowed only when the main agent assigns disjoint file or path ownership.\n\n6. **Implement only approved safe cleanup in `fix` or `full`.**\n   - Do not modify files in `audit` mode.\n   - Batch changes by lane or subsystem.\n   - Avoid broad abstractions unless they reduce real complexity or coupling.\n   - Do not remove public import paths, compatibility shims, migrations, or fallbacks unless evidence shows they are obsolete.\n   - Do not replace `unknown` with weaker or speculative types.\n   - Do not remove error handling that defines a clear boundary, adds actionable context, performs cleanup, or preserves system integrity.\n   - Re-run the narrowest relevant validation after each meaningful batch.\n\n7. **Verify and report.**\n   - Run relevant typecheck, lint, tests, build, dead-code checks, and circular-dependency checks when available.\n   - Distinguish new failures from pre-existing baseline failures.\n   - If validation fails in `fix` or `full`, fix the regression or stop and report the blocker.\n\n## Output\n\n- **Summary:** mode, scope, tools\u002Fchecks used, and overall cleanup potential.\n- **Safe to Fix:** concrete items with file references, evidence, proposed change, and validation path.\n- **Implemented:** for `fix` or `full` only; grouped by batch with files changed.\n- **Needs Investigation:** skipped items and why they need more evidence or product input.\n- **Do Not Change:** suspicious-looking patterns intentionally preserved.\n- **Verification:** commands run, pass\u002Ffail status, and pre-existing failures if any.\n\n## Alignment Page\n\nFollow the shared alignment-page convention via the packaged convention resolver; output path is `alignment\u002Fquality-sweep-{topic}.html`.\n\n## Constraints\n\n- Audit-only by default. Never edit files unless mode is `fix` or `full`.\n- Behavior preservation is the default. Treat public APIs, package exports, migrations, database\u002Fdata compatibility, and external contracts as high risk.\n- Prefer repository-native tooling and existing dependencies. Do not add cleanup tools unless the user explicitly approves.\n- Be conservative with deletion. Static analysis findings must be verified with code search and source inspection.\n- Do not use DRY as a blanket rule. Consolidate only when it reduces real maintenance burden without hiding distinct reasons to change.\n- Keep comments only when they explain intent, constraints, invariants, or non-obvious behavior for a future maintainer.\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n\n","# Quality Sweep\n\nInvoke as `$quality-sweep`.\n\nUse this skill when a project needs a behavior-preserving code quality cleanup campaign across duplication, type hygiene, dead code, dependency boundaries, defensive error handling, legacy paths, and comments. This skill orchestrates cleanup work; use narrower skills like `extract-shared-types`, `dead-code`, `slim-audit`, `hygiene`, `spec-drift`, and `regression-check` when the user asks for only one of those concerns.\n\n## Process\n\n1. **Select mode and scope.**\n   - Parse `$ARGUMENTS` for mode: `audit`, `fix`, or `full`.\n   - Default to `audit` when no mode is provided.\n   - Treat remaining arguments as the target scope: package, app, directory, or domain.\n   - If no scope is provided, inspect the repository and choose the smallest coherent scope before broadening.\n\n2. **Establish baseline and context.**\n   - Read project instructions, manifests, package configs, path aliases, lint\u002Ftypecheck\u002Ftest\u002Fbuild scripts, and relevant docs.\n   - Read specs, roadmap\u002Ftodo\u002Fhistory, changelogs, ADRs, or design notes when present.\n   - In `fix` or `full`, run or record the narrowest relevant baseline checks available before edits.\n   - Respect documented trade-offs and intentional architecture. Do not report documented decisions as cleanup targets.\n\n3. **Run audit lanes.**\n   - **Duplication:** find duplicate or near-duplicate code where consolidation reduces coupling, maintenance cost, or complexity.\n   - **Shared types:** find type definitions that should move to a shared boundary; follow `extract-shared-types` rules for any implementation.\n   - **Unused code:** use code search and available tools such as `knip` to find unused exports, orphaned files, stale dependencies, and unreachable branches.\n   - **Circular dependencies:** use code search and available tools such as `madge` to identify dependency cycles and import-boundary issues.\n   - **Weak types:** find unsafe `any` and unjustified weak typing. Preserve `unknown` at trust boundaries unless a stronger validated type exists.\n   - **Error handling:** audit `try`\u002F`catch` and defensive patterns. Preserve boundary handling, parsing, cleanup, rollback, external-service handling, and error translation.\n   - **Legacy paths:** find deprecated, migration, compatibility, fallback, and alternate code paths that may now be obsolete.\n   - **Comments and stubs:** remove or rewrite AI slop, stale comments, in-motion notes, stubs, larp, and comments that describe previous work instead of current behavior.\n\n4. **Triage every finding.**\n   - `Safe to Fix`: behavior-preserving, statically supported, verified by code search, not public-API-sensitive, and independently revertible.\n   - `Needs Investigation`: plausible but ambiguous, migration-sensitive, weakly covered, or dependent on product intent.\n   - `Do Not Change`: documented decision, necessary fallback, valid boundary handling, or readability-preserving duplication.\n   - Re-read the relevant source before finalizing a finding. Drop findings that cannot be reconfirmed.\n\n5. **Use subagents only for audit-first lanes.**\n   - If the user explicitly requests subagents, or the mode is `full` and the active environment permits subagents, assign lanes as research tasks first.\n   - Subagents should report findings and recommendations before edits.\n   - The main agent owns final triage, integration, edits, and verification.\n   - Direct subagent edits are allowed only when the main agent assigns disjoint file or path ownership.\n\n6. **Implement only approved safe cleanup in `fix` or `full`.**\n   - Do not modify files in `audit` mode.\n   - Batch changes by lane or subsystem.\n   - Avoid broad abstractions unless they reduce real complexity or coupling.\n   - Do not remove public import paths, compatibility shims, migrations, or fallbacks unless evidence shows they are obsolete.\n   - Do not replace `unknown` with weaker or speculative types.\n   - Do not remove error handling that defines a clear boundary, adds actionable context, performs cleanup, or preserves system integrity.\n   - Re-run the narrowest relevant validation after each meaningful batch.\n\n7. **Verify and report.**\n   - Run relevant typecheck, lint, tests, build, dead-code checks, and circular-dependency checks when available.\n   - Distinguish new failures from pre-existing baseline failures.\n   - If validation fails in `fix` or `full`, fix the regression or stop and report the blocker.\n\n## Output\n\n- **Summary:** mode, scope, tools\u002Fchecks used, and overall cleanup potential.\n- **Safe to Fix:** concrete items with file references, evidence, proposed change, and validation path.\n- **Implemented:** for `fix` or `full` only; grouped by batch with files changed.\n- **Needs Investigation:** skipped items and why they need more evidence or product input.\n- **Do Not Change:** suspicious-looking patterns intentionally preserved.\n- **Verification:** commands run, pass\u002Ffail status, and pre-existing failures if any.\n\n## Alignment Page\n\nFollow the shared alignment-page convention via the packaged convention resolver; output path is `alignment\u002Fquality-sweep-{topic}.html`.\n\n## Constraints\n\n- Audit-only by default. Never edit files unless mode is `fix` or `full`.\n- Behavior preservation is the default. Treat public APIs, package exports, migrations, database\u002Fdata compatibility, and external contracts as high risk.\n- Prefer repository-native tooling and existing dependencies. Do not add cleanup tools unless the user explicitly approves.\n- Be conservative with deletion. Static analysis findings must be verified with code search and source inspection.\n- Do not use DRY as a blanket rule. Consolidate only when it reduces real maintenance burden without hiding distinct reasons to change.\n- Keep comments only when they explain intent, constraints, invariants, or non-obvious behavior for a future maintainer.\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n\n",{"name":5,"type":36,"version":44,"description":7,"argument-hint":45,"required_conventions":46},"v0.1","[audit|fix|full] [optional: package, app, directory, or domain]",[47],"alignment-page","master","96e2912af886dd1606b1b97df707715aef062b02","packs\u002Fcode-quality\u002Fcodex\u002Fquality-sweep",0,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills","https:\u002F\u002Fagentic-skills-blush.vercel.app","https:\u002F\u002Fgithub.com\u002FGeorgeQLe","georgeqle.com","George Le is a futurist and serial tech entrepreneur who wants to work toward a world where humanity is free from robotic tasks.","2026-11-10 04:07:24",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add GeorgeQLe\u002Fagentic-skills --skill quality-sweep",{"tool":64,"command":65},"bunx","bunx skills add GeorgeQLe\u002Fagentic-skills --skill quality-sweep",{"tool":67,"command":68},"pnpm","pnpm dlx skills add GeorgeQLe\u002Fagentic-skills --skill quality-sweep","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-quality\u002Fcodex\u002Fquality-sweep\u002FSKILL.md",true,[72,78,82],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"agents\u002Fopenai.yaml","REFERENCE","参考文档",290,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-quality\u002Fcodex\u002Fquality-sweep\u002Fagents\u002Fopenai.yaml",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"ALIGNMENT-PAGE.md",52441,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-quality\u002Fcodex\u002Fquality-sweep\u002FALIGNMENT-PAGE.md",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"CHANGELOG.md",311,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-quality\u002Fcodex\u002Fquality-sweep\u002FCHANGELOG.md",[87,99,109,121,131,141],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":39},"01M6G0NJES15RJKZE6YZ0TSYGF","source-checkout-allowed","Valid source-checkout-only fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fsource-checkout-allowed\u002FSKILL.md",[],[94,95,96,97,29,98],"source checkout allowed","checkout","fixture","only","valid",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":39},"01M6G0NFZ3R1MNB1E3DVTM0WB7","deck-install-valid","Valid deck install fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fdeck-install\u002FSKILL.md",[],[106,107,108,98,96,29],"deck install valid","deck","install",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":39},"01M6G0ND3QZQC4MDZ9NVB97PT2","codex-pack-guard-valid","Valid Codex Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-pack-guard\u002FSKILL.md",[],[116,117,118,98,119,120,96,29],"codex pack guard valid","pack","guard","codex","availability",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":39},"01M6G0NA9YB3NKGZKD3S96JMNB","codex-missing-skill-valid","Valid Codex missing skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-missing-skill-fallback\u002FSKILL.md",[],[128,129,98,119,29,130,96],"codex missing skill valid","missing","fallback",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":39},"01M6G0N7PC0EKFD40ZWQAXSAQ9","codex-base-skill-fallback-valid","Valid Codex base skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-base-skill-fallback\u002FSKILL.md",[],[98,119,130,138,139,140,29,96],"base skill","codex base skill fallback valid","base",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":39},"01M6G0N4VRR2YKZQ6N3Y6S2BQA","claude-pack-guard-valid","Valid Claude Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fclaude-pack-guard\u002FSKILL.md",[],[98,118,117,148,120,29,96],"claude pack guard valid"]