simplify

GitHub

调用 cdd-code-simplifier 代理审查并简化代码,提升清晰度、一致性和可维护性。支持指定范围或自动识别最近修改文件,完成后提供变更摘要并询问是否提交。

.claude/skills/simplify/SKILL.md aaddrick/claude-desktop-debian

Trigger Scenarios

用户请求简化代码 使用 /simplify 命令

Install

npx skills add aaddrick/claude-desktop-debian --skill simplify -g -y
More Options

Non-standard path

npx skills add https://github.com/aaddrick/claude-desktop-debian/tree/main/.claude/skills/simplify -g -y

Use without installing

npx skills use aaddrick/claude-desktop-debian@simplify

指定 Agent (Claude Code)

npx skills add aaddrick/claude-desktop-debian --skill simplify -a claude-code -g -y

安装 repo 全部 skill

npx skills add aaddrick/claude-desktop-debian --all -g -y

预览 repo 内 skill

npx skills add aaddrick/claude-desktop-debian --list

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:

  1. If guidance was provided after /simplify, pass it to the agent as part of the prompt
  2. If no guidance provided, have the agent focus on recently modified files (use git diff --name-only main...HEAD or git status to identify them)

User guidance: $ARGUMENTS

After the agent completes:

  1. Review the changes made
  2. If changes were made, ask if the user wants to commit them
  3. 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

  • 55478e3 Current 2026-08-20 14:08

Same Skill Collection

.claude/skills/lint/SKILL.md
.claude/skills/setup-build-tools/SKILL.md

Metadata

Files
0
Version
48e304e
Hash
6a42e285
Indexed
2026-08-20 14:08

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 07:45
浙ICP备14020137号-1 $Map of visitor$