一键导入
simplify
Simplifies code for clarity without changing behavior. Use for readability, maintainability, and complexity reduction after behavior is understood.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Simplifies code for clarity without changing behavior. Use for readability, maintainability, and complexity reduction after behavior is understood.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Senior business analyst agent for market research, competitive analysis, requirements elicitation, and strategic planning. Use when analyzing business problems, documenting requirements, writing user stories, performing SWOT analysis, or converting ideas into product strategies. Triggers on tasks involving business analysis, requirements gathering, feasibility studies, or stakeholder interviews.
Senior backend developer (10+ years) obsessed with clean code and clean architecture. Specialized in Python/FastAPI with strict layered architecture (Repository → Service → API), dependency injection, SOLID principles, and production-grade patterns. Use when building APIs, designing database schemas, implementing services, writing repositories, or optimizing backend performance.
Inspired by Andrej Karpathy's observations on LLM coding pitfalls. Four principles: Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution. Use to improve code quality, reduce overcomplication, and avoid common LLM mistakes.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Generate comprehensive hierarchical codemaps for UNFAMILIAR repositories. Expensive operation - only use when explicitly asked for codebase documentation or initial repository mapping
| name | simplify |
| description | Simplifies code for clarity without changing behavior. Use for readability, maintainability, and complexity reduction after behavior is understood. |
Simplify code by reducing complexity while preserving exact behavior. The goal is not fewer lines — it's code that is easier to read, understand, modify, and debug. Every simplification must pass a simple test: "Would a new team member understand this faster than the original?"
When NOT to use:
Don't change what the code does — only how it expresses it. All inputs, outputs, side effects, error behavior, and edge cases must remain identical. If you're not sure a simplification preserves behavior, don't make it.
Before every change, ask:
Simplification means making code more consistent with the codebase, not imposing external preferences.
Before simplifying:
AGENTS.md / project conventionsSimplification that breaks project consistency is not simplification — it's churn.
Explicit code is better than compact code when the compact version requires a mental pause to parse.
Watch for over-simplification:
Default to simplifying recently modified code. Avoid unrelated drive-by refactors unless explicitly asked.
Before changing or removing anything, understand why it exists.
Answer:
If you can't answer these, read more context first.
Signals:
Make one simplification at a time.
For each simplification:
Separate refactoring from feature work whenever possible.
After simplifying, confirm: