AgentSkillsCN

simplify-diff

在不改变原有行为的前提下,使现有变更更加精简。适用于被要求简化或缩减差异时使用。

SKILL.md
--- frontmatter
name: simplify-diff
description: "Make an existing change more concise without altering behavior. Use when asked to simplify or reduce a diff."

Simplify Diff

Workflow

  • Review the provided file/snippet and the existing change intent.
  • Inline helpers, remove redundant logic, and keep behavior identical.
  • Avoid unrelated edits and keep the diff minimal.
  • Summarize the simplifications made.