一键导入
source-command-cleanup
Clean technical debt, refactor, optimize, and simplify codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Clean technical debt, refactor, optimize, and simplify codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Abuse prevention - rate limiting, moderation, bad actors. Use when fighting abuse.
Account security - MFA, sessions, recovery. Use when protecting user accounts.
Admin panel - RBAC, config, admin tools. Use when building admin UI.
Application security - OWASP, validation, secrets. Use when securing the app.
Authentication patterns - sign-in, SSO, passkeys, sessions. Use when implementing auth flows.
Billing - Stripe, webhooks, subscriptions. Use when implementing payments.
| name | source-command-cleanup |
| description | Clean technical debt, refactor, optimize, and simplify codebase |
Use this skill when the user asks to run the migrated source command cleanup.
Scan codebase for technical debt and code smells. Clean, refactor, optimize.
Code Smells:
Technical Debt:
Optimization:
One commit per logical cleanup:
refactor(auth): extract validateToken functionperf(db): batch user queries to fix N+1chore: remove unused imports and commented codeReport: Lines removed, complexity reduced, performance gains.