Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计异常

change-explainer改变解释者

Agent Skill

change-explainer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

456

周安装

19

GitHub Stars

公开资料未说明

下载量

152
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:change-explainer(改变解释者)
来源仓库:https://github.com/sjunepark/custom-skills
仓库路径:skills/change-explainer
安装命令:
npx skills add https://github.com/sjunepark/custom-skills --skill change-explainer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sjunepark/custom-skills --skill change-explainer

简介

change-explainer 专注于解释代码变更的目的与影响,而非执行审查,帮助理解问题背景与系统变化。

  • 适用于需要快速掌握补丁意图、控制流或数据流转变的协作场景。
  • 强调提供清晰心智模型与后续影响说明,避免过度干预实现细节。
  • 应结合具体 diff 上下文使用,不适合替代人工代码评审流程。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Change Explainer

Teach the change, not just the patch mechanics.

The goal is to help the user understand:

  • what problem or purpose the change seems to address
  • what the relevant part of the system now does after the change
  • what changed at a high level
  • how the important edits fit together
  • how control flow, data flow, ownership, or contracts changed
  • what mental model the reader should carry forward
  • what implications matter for readers, callers, or future changes

This is primarily an explanatory skill. Do not turn it into a code review by default. Offer opinions only when the change appears to introduce a material issue or an important tradeoff the user should know about.

First-Class Inputs

Handle these as normal entry points:

  • git diff
  • unstaged or staged local changes
  • a commit
  • a commit range
  • a PR patch or review diff
  • two versions of a file or document

If the user provides another concrete comparison format, adapt the same workflow.

Core Behavior

  1. Start from the reader's question.
  • Identify what the user is trying to understand about the change, not just which files moved.
  • Match the depth to the request.
  • If the user asks broadly, narrow to the smallest useful mental model first.
  1. Build a mental model before hunk details.
  • Begin with the patch's purpose, scope, or visible behavior change.
  • Then explain the main implementation flow.
  • Then cover supporting edits such as helpers, tests, docs, or cleanup.
  • Avoid starting with file-by-file or hunk-by-hunk narration unless the user explicitly wants that.
  1. Teach the changed system, not just the delta.
  • Reconstruct the smallest useful model of the code or document as it works after the patch.
  • Use only the minimum necessary "before" state to make the change legible.
  • For each conceptual change, prefer a before -> after -> why it matters arc over raw patch narration.
  • Name the underlying abstraction, ownership shift, or contract change when one exists.
  1. Anchor on the actual change.
  • Read the diff first.
  • Then read surrounding code, tests, and nearby docs only where needed to explain intent, ownership, or invariants.
  • Do not speculate about the design before checking the code around the changed hunk.
  1. Reorder the explanation for comprehension.
  • Do not explain hunks in raw diff order unless the diff is already easy to follow.
  • Group related edits into a small number of conceptual changes.
  • Prefer an order like:

- what this patch is trying to accomplish - user-visible behavior - interface or contract changes - main control-flow or state changes - data model or persistence changes - tests and docs

  1. Teach relationships, not isolated hunks.
  • Explain how edits connect across files.
  • Show who calls what, where decisions moved, and how data or state now flows differently.
  • If responsibilities were split, merged, or renamed, make that relationship explicit.
  • Say what idea the cluster of edits expresses, not just what lines changed.
  1. Use snippets as the primary evidence.
  • Embed short, focused code snippets directly in the response.
  • Start each snippet with a comment that names the file path it came from.
  • Prefer the smallest snippet that makes the point clear.
  • Use multiple small snippets instead of one large dump when several ideas matter.
  • Show before and after snippets when the contrast helps.
  • Do not send the user to file paths or line numbers unless they explicitly ask for references.
  1. Use ASCII diagrams when flow is easier to see than describe.
  • Add a compact ASCII diagram when it materially improves understanding of:

- control flow across changed components - data flow before vs after - ownership or boundary changes - state transitions affected by the patch

  • Keep diagrams compact, readable, and ASCII-only.
  • Do not add a diagram if prose and snippets already make the point clear.
  1. Separate explanation from judgment.
  • Stay mainly descriptive.
  • Add judgment only for issues that look important enough to change how the user should read the patch:

- correctness risk - behavior regression risk - broken contract or compatibility risk - meaningful security or data-handling concern - a design tradeoff that materially affects future work

  • If there is no important concern, say so plainly and keep the focus on understanding.

Workflow

  1. Identify the comparison unit.
  • Confirm whether you are explaining local changes, a specific commit, a commit range, a PR patch, or a file-to-file comparison.
  • If the comparison is ambiguous, infer the most likely source from the task and available context.
  1. Read the change before the surroundings.
  • Start with the diff or patch.
  • Pull in neighboring code only where the diff alone does not explain behavior, ownership, or invariants.
  1. Build conceptual buckets.
  • Merge scattered hunks that serve one idea.
  • Split one large diff into separate conceptual changes when it mixes different concerns.
  • Name each bucket by its purpose, not by the file it touched.
  1. Organize the explanation as a lesson.
  • Start with the highest-level purpose of the patch.
  • Then explain the changed system or document in the smallest useful scope.
  • Then move through the main behavior or contract changes.
  • Then explain the supporting implementation details that make those changes work.
  • Keep tests and docs near the concept they validate rather than treating them as a disconnected appendix.
  1. Teach each conceptual bucket with a stable pattern.
  • Prefer before -> after -> why when the contrast materially helps.
  • If the old state is less important, explain the post-change design first and then name the delta.
  • Explicitly say what new mental model the reader should adopt for this part of the patch.
  1. Teach with evidence.
  • For each conceptual change, include a small snippet, before/after contrast, pseudocode summary, or compact ASCII diagram when appropriate.
  • Explain why the snippet matters.
  • Connect the evidence back to the larger mental model of the patch.
  1. Close the loop, not just the walkthrough.
  • Summarize what the patch changed in the reader's mental model.
  • Mention the most important thing to remember about the new behavior, boundary, or contract.
  • Then mention what the change means for callers, operators, maintainers, or future edits.
  • Label inferences as inferences when they are not directly stated in the code or tests.
  1. Add warnings only when warranted.
  • If a critical or important issue stands out, include it in a compact note.
  • Do not pad the answer with minor style opinions or speculative nitpicks.

Snippet Rules

  • Use fenced code blocks for snippets.
  • Put the source file path in the first line of the snippet as a comment.
  • Match the comment style to the language when practical, for example // src/auth/session.ts or # app/models/user.rb.
  • If the language is unclear, use a neutral comment style or label the snippet in surrounding prose.
  • Keep each snippet narrowly scoped to the point being explained.
  • Prefer the changed lines plus just enough surrounding context to make them legible.
  • If a long function changed, excerpt the relevant branch, condition, signature, or data shape instead of pasting the whole function.
  • When comparing versions, make the contrast obvious:
// src/auth/session.ts
// before
if (!session) return null;

// after
if (!session || session.expiresAt < now) return null;
  • If the exact old code is unavailable, show the current code and explain the inferred delta without pretending to quote the previous version.

Diagram Rules

  • Use diagrams only when they make the patch easier to understand.
  • Use compact ASCII diagrams that render clearly in plain Markdown.
  • Do not use Mermaid.
  • Keep them small and purpose-built for one idea.
  • Favor these diagram types:

- before/after flow - module relationship map - state transition sketch - data transformation pipeline

  • Put the diagram near the explanation it supports.
  • Explain the diagram briefly instead of assuming it is self-explanatory.

Example:

Before: Route -> Repo
After:  Route -> Service -> Repo

This works when the important change is a new ownership boundary rather than a line-by-line code delta.

Output Shape

Use this shape unless the user asks for something else:

Big Picture

  • One short paragraph on what this patch is trying to do and where it matters.

How the Change Works

  • Explain each conceptual change in logical learning order.
  • Use embedded snippets as evidence.
  • Add a compact ASCII diagram if it makes the flow or relationships clearer.
  • Focus on behavior, boundaries, and movement of control or data.

Key Ideas

  • Call out the few abstractions, invariants, contracts, or design decisions that make the patch make sense.

What to Remember

  • State the new mental model in one short paragraph or a few tight bullets.
  • Favor the one or two points that will help the reader understand future edits in this area.

Important Implications

  • List only the consequences that materially affect usage, behavior, compatibility, testing, or maintenance.

Important Concerns

  • Include only if there is a critical or important issue.
  • If there is no such issue, omit this section or say there are no material concerns.

Communication Rules

  • Optimize for learning, not exhaustiveness.
  • Prefer a coherent lesson over a file-by-file or hunk-by-hunk tour.
  • Do not default to flat bullet lists like "change 1, change 2, change 3" unless the user explicitly wants a recap.
  • Do not let the explanation collapse into "file A changed X, file B changed Y" narration without naming the concept those edits serve.
  • Do not default to review language like "finding" or "severity" unless the user explicitly wants review mode.
  • Do not mention file names or line numbers as the primary navigation aid.
  • Keep the explanation concrete enough that the user does not need to open an editor just to follow the answer.
  • When inferring intent or tradeoffs, say that you are inferring from the change.
  • If the user seems to want a concise overview, stay high-level.
  • If the user clearly wants deeper teaching, go further into mechanisms and tradeoffs.

Example Triggers

  • "Walk me through my unstaged changes and explain them in an order that makes sense."
  • "Explain this diff like I'm joining the review late. Start with the big picture, then show me how the patch works."
  • "I don't want a file-by-file recap. Teach me this commit with snippets."
  • "Compare these two versions and explain the implementation change in the easiest order to learn."
  • "Help me understand what changed, why, and what it implies. Show snippets, not file references."

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.93%
按下载量换算52

Claude

31.89%
按下载量换算48

Cursor

17.31%
按下载量换算26

Gemini CLI

9.6%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills