Refactoring

Code restructuring and optimization

Showing 385-408 of 929 skills
shiqkuangsan

personal:mole

by shiqkuangsan

"Mac 深度清理优化命令顾问。根据需求输出可复制的 mo 命令,辅助磁盘分析和配置管理。触发词:mole、mo、清理Mac、磁盘空间、系统优化、卸载App"

Code Review 17 6mo ago
shiqkuangsan

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

Processing 17 7mo ago
iannuttall

get-url

by iannuttall

Fetch any URL as markdown with npx playbooks get. Use whenever you need to retrieve web content from a URL to get clean markdown for analysis or quoting.

Processing 6 6mo ago
lv416e

ask-questions-if-underspecified

by lv416e

Clarify requirements before implementing. Use when serious doubts arise.

Linting 6 6mo ago
BenjaminG

applying-solid-principles

by BenjaminG

This skill should be used when implementing code that requires SOLID principles and clean code practices. It provides detailed guidance on Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles with comparison examples in TypeScript.

Refactoring 4 7mo ago
M4n5ter

ask-questions-if-underspecified

by M4n5ter

Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.

Linting 4 8mo ago
duyet

engineering-discipline

by duyet

Core engineering principles for sustainable, maintainable code. No shortcuts, no hacks. Quality gates before completion.

Debugging 13 8mo ago
unix2dos

code-simplifier

by unix2dos

"代码简化与优化专家/代码简化。Use this agent when you need to simplify, optimize, refactor, or clean up code. This agent helps reduce complexity, improve readability, and ensure code follows best practices like YAGNI, KISS, and DRY principles. Supports two modes: analysis mode (provides simplification suggestions) and execution mode (directly modifies code). Works with any programming language. Examples: <example>Context: User wants to simplify complex code. user: \"这段代码太复杂了,帮我简化一下\" assistant: \"Let me analyze and simplify this code using the code-simplifier agent\" <commentary>Use code-simplifier to reduce complexity and improve readability.</commentary></example> <example>Context: User wants a code review for optimization opportunities. user: \"Review this function for optimization\" assistant: \"I'll use code-simplifier to identify optimization opportunities and suggest improvements\" <commentary>Code-simplifier can analyze and provide optimization recommendations.</commentary></example>"

Code Review 4 7mo ago
greyhaven-ai

grey-haven-tdd-python

by greyhaven-ai

"Python Test-Driven Development expertise with pytest, strict red-green-refactor methodology, FastAPI testing patterns, and Pydantic model testing. Use when implementing Python features with TDD, writing pytest tests, testing FastAPI endpoints, developing with test-first approach, or when user mentions 'Python TDD', 'pytest', 'FastAPI testing', 'red-green-refactor', 'Python unit tests', 'test-driven Python', or 'Python test coverage'."

Refactoring 30 8mo ago
cuipengfei

improve-prompt

by cuipengfei

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

Docs Gen 8 6mo ago
caidanw

karpathy-guidelines

by caidanw

Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.

Code Review 8 6mo ago
pmprompt

thinking-in-bets

by pmprompt

Use when asked to "thinking in bets", "make decisions under uncertainty", "think probabilistically", "avoid resulting", "separate decision quality from outcomes", or "reduce bias in decisions". Helps make explicit bets and evaluate decisions on process, not results. The Thinking in Bets framework (from Annie Duke) applies poker strategy to business and life decisions.

File Ops 47 7mo ago
ahgraber

python-design-modularity

by ahgraber

Use when designing module boundaries, planning refactors, or reviewing architecture in Python codebases. Also use when facing tangled dependencies, god classes, deep inheritance hierarchies, unclear ownership, or risky structural changes.

CLI Tools 5 7mo ago
fellipeutaka

tdd

by fellipeutaka

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

Refactoring 5 6mo ago
bnadlerjr

refactoring-code

by bnadlerjr

Identifies code smells and applies refactoring patterns for OOP and FP codebases. Use when improving code structure, reducing technical debt, cleaning up messy code, or when the user mentions refactoring, code smells, or "make this cleaner".

File Ops 5 6mo ago
fellipeutaka

clean-code

by fellipeutaka

Write clean, readable, and maintainable code following principles from Robert C. Martin's "Clean Code" and Object Calisthenics. Use when writing, reviewing, or refactoring code to improve naming, function design, formatting, error handling, and class structure. Includes code smell detection and refactoring guidance.

Code Gen 5 6mo ago
rnavarych

role-algorithms:graph-algorithms

by rnavarych

Implements graph algorithms — BFS/DFS traversal, shortest paths (Dijkstra, Bellman-Ford, Floyd-Warshall, A*, Johnson's), minimum spanning trees (Kruskal, Prim), topological sort, strongly connected components (Tarjan, Kosaraju), maximum flow (Ford-Fulkerson, Dinic), and bipartite matching (Hopcroft-Karp, Hungarian). Use when solving traversal, shortest path, network flow, connectivity, or scheduling problems.

Analytics 14 6mo ago
z-soulx

learning-notes-organizer

by z-soulx

整理与重构已有学习笔记:重划边界、归类重组、合并冗余、精简口语化表达;优化排版与可读性;为各部分补充引导与注释;按从基础到高级建立学习路径并打通知识关联;同时尽量保留原文 Markdown/HTML 强调标记(如 ==高亮==、、Setext 标题等),输出结构清晰、可检索、便于长期维护的笔记体系。

Docker 13 7mo ago
z-soulx

section-refactor-with-todo-routing

by z-soulx

基于 learning-notes-organizer 的方法论,对指定文件执行"全标题索引+含义/引导注释 + 指定章节重构 + 越界内容路由到合适标题并按需新增待整理容器"的局部重构工作流;用 planning-with-files 输出抽取→规划→映射→交付,范围外章节默认不改,仅做迁移所需最小改动。

CI/CD 13 7mo ago
JK-0001

sales-funnel-design

by JK-0001

Design and optimize a sales funnel for a solopreneur business. Use when mapping how customers move from first awareness to paying customer, identifying where leads drop off, building or improving any stage of the funnel (awareness, consideration, decision, retention), or optimizing conversion rates. Covers funnel architecture, stage-by-stage tactics, conversion benchmarks, solopreneur-specific funnel models (self-serve vs. high-touch), and funnel analytics. Trigger on "sales funnel", "design my funnel", "optimize my funnel", "conversion funnel", "why aren't people buying", "lead to customer", "funnel stages", "improve conversions".

ML Ops 16 7mo ago
aviflombaum

marketing

by aviflombaum

Marketing funnel modeling and conversion metrics. Use for ad spend analysis, CPM/CPC optimization, landing page conversions, waitlist economics, and funnel modeling. Triggers on "ad spend", "cpm", "cpc", "conversion rate", "landing page", "waitlist", "funnel".

Performance 39 7mo ago
aviflombaum

business

by aviflombaum

SaaS unit economics and growth strategy. Use for LTV, CAC, MRR/ARR analysis, payback period, churn analysis, Rule of 40, and SaaS financial modeling. Triggers on "unit economics", "ltv", "cac", "mrr", "arr", "churn", "saas metrics".

Finance 39 7mo ago
chanwit

TDG Test-Driven Generation

by chanwit

Test-Driven Generation uses TDD (Test-Driven Development) techniques to generate tests and code in Red-Green-Refactor loops. Key words to detect are tdg, TDG.

Git & VCS 83 10mo ago
jackjin1997

clean-code

by jackjin1997

"Applies principles from Robert C. Martin's 'Clean Code'. Use this skill when writing, reviewing, or refactoring code to ensure high quality, readability, and maintainability. Covers naming, functions, comments, error handling, and class design."

Processing 12 7mo ago