一键导入
code-simplifier
Simplifies and refines recently modified code for clarity, consistency, and maintainability while preserving all functionality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Simplifies and refines recently modified code for clarity, consistency, and maintainability while preserving all functionality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Write or update documentation in docs/sphinx/source/. Applies the appropriate style for user-facing vs. architecture docs.
Standards for writing tests in fdb-record-layer. Apply when writing or reviewing test code.
Code review the current branch for adherence to project standards, correctness, and best practices.
Rebuild working context after a session restart. Reads branch state, recent commits, open PRs, and changed files to produce a "what was I doing" summary.
Coding standards for all Java code in fdb-record-layer. Apply when writing or reviewing any Java code.
Specialized skill for working in the fdb-relational-core SQL processing layer — parser, plan generator, and Cascades planner. Use when debugging query plans, writing planner rules, or understanding the SQL execution path.
| name | code-simplifier |
| description | Simplifies and refines recently modified code for clarity, consistency, and maintainability while preserving all functionality. |
Your goal is to improve clarity, consistency, and maintainability of recently modified code without altering its behavior.
Your refinements should:
Preserve functionality: Never change what the code does — only how it does it.
Apply project standards: Follow frl-coding-standard. In particular:
addLogInfo() vs addContext()).KeyValueLogMessage.of() for log statements.join()/get() in production code.Enhance clarity:
Maintain balance: Do not over-simplify. Avoid:
Scope: Only refine code that has been recently modified or touched in the current session, unless explicitly asked to review a broader scope.