Agent Skills
› NeverSight/learn-skills.dev
› simplify
simplify
GitHub调用 cdd-code-simplifier 代理审查并简化代码,提升清晰度、一致性和可维护性。支持指定范围或默认最近修改的文件,完成后提供摘要并询问是否提交。
Trigger Scenarios
用户希望简化代码以提高可读性或维护性
用户输入 /simplify 命令
Install
npx skills add NeverSight/learn-skills.dev --skill simplify -g -y
SKILL.md
Frontmatter
{
"name": "simplify",
"description": "Manually trigger the cdd-code-simplifier agent to review and simplify code",
"disable-model-invocation": true
}
Run the cdd-code-simplifier agent to review and simplify code for clarity, consistency, and maintainability.
Your Task
Use the Task tool with subagent_type: "cdd-code-simplifier" to run the code simplifier.
Scope determination:
- If guidance was provided after
/simplify, pass it to the agent as part of the prompt - If no guidance provided, have the agent focus on recently modified files (use
git diff --name-only main...HEADorgit statusto identify them)
User guidance: $ARGUMENTS
After the agent completes:
- Review the changes made
- If changes were made, ask if the user wants to commit them
- Provide a brief summary of what was simplified
Examples
/simplify- Simplify recently modified files/simplify focus on build.sh error handling- Simplify with specific guidance/simplify only look at the new functions I added- Narrow the scope
Version History
- e0220ca Current 2026-07-05 22:04


