重构

代码重组与优化

显示 385-408 / 共 929 个技能
shiqkuangsan

personal:mole

shiqkuangsan

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

代码评审 17 6个月前
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 7个月前
iannuttall

get-url

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.

数据处理 6 6个月前
lv416e

ask-questions-if-underspecified

lv416e

Clarify requirements before implementing. Use when serious doubts arise.

Lint 与格式化 6 6个月前
BenjaminG

applying-solid-principles

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.

重构 4 7个月前
M4n5ter

ask-questions-if-underspecified

M4n5ter

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

Lint 与格式化 4 8个月前
duyet

engineering-discipline

duyet

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

调试 13 8个月前
unix2dos

code-simplifier

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

代码评审 4 7个月前
greyhaven-ai

grey-haven-tdd-python

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

重构 30 8个月前
cuipengfei

improve-prompt

cuipengfei

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

文档生成 8 6个月前
caidanw

karpathy-guidelines

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.

代码评审 8 6个月前
pmprompt

thinking-in-bets

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.

文件操作 47 7个月前
ahgraber

python-design-modularity

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 工具 5 7个月前
fellipeutaka

tdd

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.

重构 5 6个月前
bnadlerjr

refactoring-code

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

文件操作 5 6个月前
fellipeutaka

clean-code

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.

代码生成 5 6个月前
rnavarych

role-algorithms:graph-algorithms

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.

分析 14 6个月前
z-soulx

learning-notes-organizer

z-soulx

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

Docker 13 7个月前
z-soulx

section-refactor-with-todo-routing

z-soulx

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

CI/CD 13 7个月前
JK-0001

sales-funnel-design

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

MLOps 16 7个月前
aviflombaum

marketing

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

性能 39 7个月前
aviflombaum

business

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

金融 39 7个月前
chanwit

TDG Test-Driven Generation

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 与版本控制 83 10个月前
jackjin1997

clean-code

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

数据处理 12 7个月前