重构

代码重组与优化

显示 433-456 / 共 984 个技能
TechDufus

tdd

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'."

重构 174 8个月前
TechDufus

worktree

TechDufus

"Git worktree automation for isolated feature development. Triggers on: '/worktree create', '/worktree list', '/worktree remove'. Creates isolated working directories with automatic setup."

认证鉴权 174 9个月前
shiqkuangsan

tooyoung:shitcode

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."

数据处理 17 8个月前
ElliotJLT

split-decision

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.

数据处理 62 9个月前
ElliotJLT

stay-in-lane

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.

调试 62 9个月前
ElliotJLT

safe-refactor

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.

数据处理 62 9个月前
steelan9199

skill-optimizer-yashu

steelan9199

分析并优化其他 Skill 的文档质量问题,包括 frontmatter 格式、渐进式披露结构、文件引用完整性、AI 友好性等检查。何时使用:当用户说"优化这个 skill"、"检查 skill 质量"、"review skill"、"skill 有问题"、"帮我看看这个 skill"、"诊断 skill"时。

代码评审 10 8个月前
rube-de

git-ops

rube-de

Git hygiene: clean up merged branches, prune stale remotes, and verify repository state.

CLI 工具 10 8个月前
dirnbauer

refactor

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.

代码生成 33 8个月前
dirnbauer

refactor-clean

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.

性能 33 8个月前
paulund

javascript-developer

paulund

Use when building JavaScript applications with modern ES2023+ features, frameworks, and best practices.

性能 3 8个月前
dgriffin831

text-processor

dgriffin831

Process and clean text content

文档生成 3 8个月前
olelehmann100kMRR

autoresearch

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."

代码生成 981 7个月前
vuralserhat86

docs_code

vuralserhat86

Code comments, JSDoc/TSDoc ve changelog best practices.

注释 43 9个月前
OmidZamani

dspy-output-refinement-constraints

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.

数据处理 124 9个月前
anthonylee991

superpowers-tdd

anthonylee991

Applies tests-first discipline (red/green/refactor) and adds regression tests for bugs. Use when implementing features, fixing bugs, or refactoring.

代码生成 838 9个月前
terryyin

dough-test-optimization

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.

性能 4 27天前
noartem

laravel-dependencies-trim-packages

noartem

Remove unneeded Composer packages and assets to improve boot time, memory, and security surface

代码生成 13 9个月前
noartem

complexity-guardrails

noartem

Keep cyclomatic complexity low; flatten control flow, extract helpers, and prefer table-driven/strategy patterns over large switches

重构 13 9个月前
crazynomad

disk-cleaner

crazynomad

Mac 智能磁盘清理助手,基于 Mole (https://github.com/tw93/Mole) 的用户友好包装器

CLI 工具 27 9个月前
sebnow

testing

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."

调试 8 8个月前
cuipengfei

improve-prompt

cuipengfei

优化提示词 - 结构化改写后立即执行,禁止扩展范围

文档生成 8 8个月前
sebnow

red-green-refactor

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."

调试 8 8个月前
Gentleman-Programming

hexagonal-architecture-layers-java

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.

代码生成 659 8个月前