- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
improving-tests
by alexei-led
Review, refactor, and improve test quality. Use when user says "improve tests", "refactor tests", "test coverage", "combine tests", "table-driven", "parametrize", "test.each", "eliminate test waste", or wants to optimize test structure.
improve-prompt
by melodic-software
Improve and optimize prompts using Anthropic's 4-step prompt improvement workflow
observe
by saadshahd
On-demand codebase health check. Use when "observe", "health check", "is the codebase healthy", "check for drift", "system status", or before starting a large feature.
design
by booch
Software design principles and patterns. This skill should be used when making architectural decisions, designing classes or modules, or evaluating code structure. Use proactively when discussing SOLID principles, coupling, cohesion, connascence, refactoring structure, class design, module boundaries, dependency injection, or the Four Rules of Simple Design. (user)
rewrite-history
by doodledood
'Rewrite branch into clean, narrative-quality commits. Creates backup, reimplements on fresh branch, verifies byte-identical, then replaces original branch history.'
clean-slop
by doodledood
Find and remove AI-generated slop (useless comments, verbose patterns, unnecessary abstractions).
auto-optimize-prompt
by doodledood
'Iteratively auto-optimize a prompt until no issues remain. Uses prompt-reviewer in a loop, asks user for ambiguities, applies fixes via prompt-engineering skill. Runs until converged.'
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.
software-architecture
by liyecom
软件架构设计模式与最佳实践
code-implementer
by galz10
Pickle Rick's "God Mode" Implementation Skill. Executes technical plans with rigorous verification. Use when you are ready to write code, run tests, and iterate through implementation phases.No Jerry-work allowed.
ruthless-refactorer
by galz10
Expertise in Senior Principal Engineering refactoring. Use when you need to eliminate technical debt, remove "AI Slop," simplify complex logic, and ensure DRY code.
tdd
by acedergren
"Test-driven development workflow — write failing tests first, implement minimum code, run full suite, commit. Use when implementing features, fixing bugs, or adding test coverage. Includes mock bootstrap phase for projects with mockReset:true."
latex-thesis-zh
by bahayonghang
中文学位论文 LaTeX 助手(博士/硕士论文)。 Use when writing, reviewing, or improving Chinese LaTeX theses (PhD/Master). Use when user mentions 编译, 格式, 去AI化, 标题, 参考文献, 模板, 一致性, or any Chinese thesis quality task. 支持多种学校模板和 GB/T 7714 国标格式。 触发词(可独立调用任意模块): - "compile", "编译", "xelatex" → 编译模块 - "structure", "结构", "映射" → 结构映射模块 - "format", "格式", "国标", "GB/T" → 国标格式检查模块 - "expression", "表达", "润色", "学术表达" → 学术表达模块 - "logic", "coherence", "逻辑", "衔接", "methodology", "方法论" → 逻辑衔接与方法论深度模块 - "long sentence", "长句", "拆解" → 长难句分析模块 - "bib", "bibliography", "参考文献" → 参考文献模块 - "template", "模板", "thuthesis", "pkuthss" → 模板检测模块 - "deai", "去AI化", "人性化", "降低AI痕迹" → 去AI化编辑模块 - "title", "标题", "标题优化", "生成标题" → 标题优化模块 - "consistency", "一致性", "术语" → 一致性检查模块
drilling-logistics
by kishorkukreja
When the user wants to optimize oil and gas drilling operations, manage rig logistics, or coordinate upstream supply chains. Also use when the user mentions "well planning," "rig scheduling," "drilling supply chain," "mud logistics," "tubular management," "offshore logistics," "drilling materials management," or "completion operations." For midstream and downstream, see energy-logistics. For fuel distribution, see fuel-distribution.
cross-docking
by kishorkukreja
When the user wants to implement cross-docking operations, optimize transshipment, or reduce warehouse storage. Also use when the user mentions "crossdock," "transshipment," "flow-through distribution," "dock-to-dock," "consolidation center," or "break-bulk operations." For general warehouse design, see warehouse-design. For dock scheduling, see dock-door-assignment.
dsd-route-optimization
by kishorkukreja
When the user wants to optimize Direct Store Delivery (DSD) routes, plan delivery schedules for retail stores, or improve route efficiency for CPG distribution. Also use when the user mentions "DSD routing," "store delivery optimization," "retail route planning," "delivery windows," "merchandising routes," or "field sales routing." For general vehicle routing, see vehicle-routing-problem. For last-mile delivery, see last-mile-delivery.
cruise-supply-chain
by kishorkukreja
When the user wants to optimize cruise ship supply chains, manage ship provisioning, or improve maritime operations. Also use when the user mentions "cruise logistics," "ship provisioning," "maritime supply chain," "port operations," "cruise inventory," "galley management," "ship chandling," or "cruise procurement." For hotel operations, see hotel-inventory-management. For hospitality procurement, see hospitality-procurement.
dock-door-assignment
by kishorkukreja
When the user wants to optimize dock door assignments, schedule truck arrivals, or minimize yard congestion. Also use when the user mentions "dock scheduling," "door assignment," "yard management," "truck scheduling," "cross-dock optimization," or "appointment scheduling." For cross-docking operations, see cross-docking. For yard management, see yard-management.
food-beverage-supply-chain
by kishorkukreja
When the user wants to optimize food and beverage supply chains, manage perishability, ensure food safety, or handle retail distribution. Also use when the user mentions "food supply chain," "beverage distribution," "HACCP," "food safety," "perishable logistics," "shelf life management," "FEFO," "farm to fork," "CPG distribution," "grocery supply chain," or "fresh produce logistics." For retail allocation, see retail-allocation. For promotional planning, see promotional-planning.
fuel-distribution
by kishorkukreja
When the user wants to optimize retail fuel distribution, manage gasoline and diesel delivery, or plan petroleum product logistics. Also use when the user mentions "gas station supply," "fuel delivery routing," "petroleum retail," "tank truck scheduling," "fuel terminal operations," "wholesale fuel distribution," or "retail fuel network." For upstream, see drilling-logistics. For midstream, see energy-logistics.
boy-scout
by ertugrul-dmr
Use when fixing, editing, changing, debugging, or working with any Python code. Applies the Boy Scout Rule—always leave code cleaner than you found it. Orchestrates other clean code skills as needed.
disk-cleaner
by crazynomad
Mac 智能磁盘清理助手,基于 Mole (https://github.com/tw93/Mole) 的用户友好包装器
hotel-inventory-management
by kishorkukreja
When the user wants to optimize hotel room inventory, manage rate strategies, or improve revenue management. Also use when the user mentions "hotel revenue management," "room allocation," "yield management," "dynamic pricing," "overbooking optimization," "distribution channel management," or "hotel capacity planning." For tour operations, see tour-operations. For hospitality procurement, see hospitality-procurement.