Refactoring
Code restructuring and optimization
tdd
by TechDufus
"Systematic TDD methodology for writing tests first. Use when implementing features or fixes with OMC_TDD_MODE enabled, when unsure how to structure tests, or when test-first discipline needs reinforcement. Triggers on: 'tdd', 'test first', 'test driven', 'red green refactor'."
worktree
by TechDufus
"Git worktree automation for isolated feature development. Triggers on: '/worktree create', '/worktree list', '/worktree remove'. Creates isolated working directories with automatic setup."
tooyoung:shitcode
by shiqkuangsan
"Write intentionally bad code for teaching or entertainment. Use when asked to 'add some spice', 'make it worse', 'write shitcode', or for demonstrating anti-patterns."
split-decision
by ElliotJLT
When facing architectural decisions, technology choices, or strategic trade-offs, present options as a structured comparison and require explicit trade-off acknowledgment before proceeding. Triggers on words like "should we", "which approach", "what's the best way", or when Claude is about to recommend one approach over alternatives. Never present a single recommendation without showing viable alternatives first.
stay-in-lane
by ElliotJLT
Before making changes, verifies they match what was actually requested. Activates when about to modify files, add features, or refactor code. Catches scope creep before it happens - no "while I'm here" improvements.
safe-refactor
by ElliotJLT
When refactoring, rewriting, or migrating critical code paths, orchestrate a safe cycle: assess risks → implement → verify → document. Chains pre-mortem and prove-it with built-in implementation phase. Prevents "refactor broke production" disasters. Activates on "refactor", "rewrite", "migrate", or "clean up" for non-trivial code.
skill-optimizer-yashu
by steelan9199
分析并优化其他 Skill 的文档质量问题,包括 frontmatter 格式、渐进式披露结构、文件引用完整性、AI 友好性等检查。何时使用:当用户说"优化这个 skill"、"检查 skill 质量"、"review skill"、"skill 有问题"、"帮我看看这个 skill"、"诊断 skill"时。
git-ops
by rube-de
Git hygiene: clean up merged branches, prune stale remotes, and verify repository state.
refactor
by dirnbauer
Improve code structure and readability without changing external behavior. Covers common code smells (long methods, duplication, nested conditionals, magic numbers), safe refactoring process, design patterns (Strategy, Chain of Responsibility), type safety improvements, and extract method techniques.
refactor-clean
by dirnbauer
Code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyzes and refactors code to improve quality, maintainability, and performance with incremental steps and stable behavior.
javascript-developer
by paulund
Use when building JavaScript applications with modern ES2023+ features, frameworks, and best practices.
text-processor
by dgriffin831
Process and clean text content
autoresearch
by olelehmann100kMRR
"Autonomously optimize any Claude Code skill by running it repeatedly, scoring outputs against binary evals, mutating the prompt, and keeping improvements. Based on Karpathy's autoresearch methodology. Use when: optimize this skill, improve this skill, run autoresearch on, make this skill better, self-improve skill, benchmark skill, eval my skill, run evals on. Outputs: an improved SKILL.md, a results log, and a changelog of every mutation tried."
docs_code
by vuralserhat86
Code comments, JSDoc/TSDoc ve changelog best practices.
dspy-output-refinement-constraints
by OmidZamani
This skill should be used when the user asks to "refine DSPy outputs", "enforce constraints", "use dspy.Refine", "select best output", "use dspy.BestOfN", mentions "output validation", "constraint checking", "multi-attempt generation", "reward function", or needs to improve output quality through iterative refinement or best-of-N selection with custom constraints.
superpowers-tdd
by anthonylee991
Applies tests-first discipline (red/green/refactor) and adds regression tests for bugs. Use when implementing features, fixing bugs, or refactoring.
dough-test-optimization
by terryyin
Speeds up local test feedback through profiling and measured experiments across related tests. Use to optimize slow tests or test-suite performance. Preserves behavioral coverage and confidence while pursuing fewer redundant cases, less code, and cleaner design. With --resolve, triages recorded candidates without profiling or optimizing.
laravel-dependencies-trim-packages
by noartem
Remove unneeded Composer packages and assets to improve boot time, memory, and security surface
complexity-guardrails
by noartem
Keep cyclomatic complexity low; flatten control flow, extract helpers, and prefer table-driven/strategy patterns over large switches
disk-cleaner
by crazynomad
Mac 智能磁盘清理助手,基于 Mole (https://github.com/tw93/Mole) 的用户友好包装器
testing
by sebnow
"Use when implementing automated tests. Enforces empirical testing, test pyramid, TDD practices, concurrent testing. Triggers: writing tests, test planning, implementing test cases, TDD, race conditions."
improve-prompt
by cuipengfei
优化提示词 - 结构化改写后立即执行,禁止扩展范围
red-green-refactor
by sebnow
"Domain-agnostic TDD methodology for iterative improvement. Enforces baseline measurement, minimal changes, and rigorous testing through commitment devices. Use when applying red-green-refactor workflow to any domain: prompts, skills, code, tests. Triggers: TDD methodology, baseline measurement, iterative improvement, red-green-refactor."
hexagonal-architecture-layers-java
by Gentleman-Programming
Hexagonal architecture layering for Java services with strict boundaries. Trigger: When structuring Java apps by Domain/Application/Infrastructure, or refactoring toward clean architecture.