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

agent-change-walkthroughAgent 变更演练

Agent Skill

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

总安装

372

周安装

16

GitHub Stars

44

下载量

131
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cameroncooke/cameroncooke-skills --skill agent-change-walkthrough

简介

用于生成代码变更后的端到端实现故事,帮助理解修改逻辑与影响范围。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要解释代码工作原理时使用。
  • 基于对话上下文与 Git 历史构建证据链,输出连贯的实现叙述。
  • 安装命令:npx skills add https://github.com/cameroncooke/cameroncooke-skills --skill agent-change-walkthrough。
  • 建议确认权限范围、维护状态及是否触发联网或文件操作后再安装使用。

SKILL.md

Generate one coherent implementation story that explains how the code works end-to-end after the change.

Step 1: Capture implementation intent

Restate the requested change in plain language.

Include:

  • User problem being solved
  • Scope boundaries
  • Explicit non-goals

If requirements are ambiguous, state assumptions before proceeding.

Step 2: Build evidence from conversation + git

Collect both sources before writing:

  1. Conversation context (planning input only)

- Requested outcome - Constraints and acceptance criteria - Domain context needed to interpret the code correctly

  1. Git-based evidence (source of truth for output)

- Changed file list - Diff per changed file (analyze full diffs locally, but only quote the minimum needed hunks in output) - Relevant unchanged context needed to explain behavior

Use commands such as:

git status --short
git diff --name-only
git diff -- <file>
git show -- <file>

Use history only when needed to disambiguate intent:

git log --oneline -- <file>

Never include conversation process, investigation history, or request negotiation as walkthrough steps. The walkthrough must describe implementation behavior only. Never include full file dumps, raw secrets, credentials, tokens, private keys, or copied production payloads in the final output.

Step 3: Build the story stack

Order story steps by dependency-first causality:

  1. Introduce contracts/types/schemas/interfaces before showing call sites that use them
  2. Introduce function/class definitions before showing new call paths that invoke them
  3. Then continue in runtime flow order from trigger to final behavior

If runtime order and dependency order conflict, prefer dependency order and add one short transition sentence that reconnects to runtime flow.

Skip non-essential detail while preserving causal clarity.

Step 4: Write each step as natural developer narrative

For each story step:

  • Use a clear step title that describes behavior (no file path in the heading)
  • Mark the step as UNCHANGED CONTEXT or CHANGED
  • Place Filename:<relative/path/to/file.ext:start_line>`` immediately above each snippet
  • Optionally place Symbol:<function/method/class>`` above each snippet when useful
  • Show a short code snippet
  • For data-shape/model/API changes, include concrete example data (input/output or before/after payload) using sanitized, representative values
  • Explain the step in natural prose as a developer-to-developer walkthrough
  • Explain what this step causes next in the flow
  • Avoid forward references: do not use a field/type/function in a step before showing where it is defined or introduced

Avoid rigid template labels such as Why this step exists: or Impact:. Write readable, connected prose instead. Keep headings and narrative readable; put precise location in the snippet header.

When code changed, prefer mini-diff snippets:

- old behavior
+ new behavior

When the change affects data shape or behavior, add a small Example input/output block after the code snippet to show representative (synthetic) values flowing through the updated code. Do not copy verbatim payloads from logs, production data, or repository fixtures that may contain sensitive information.

Call out semantic effect per changed hunk.

Step 5: Integrate analysis inline

Embed analysis at the relevant story step:

  • Trade-offs chosen at that step
  • Viable alternatives and why not chosen
  • Performance implications
  • Failure modes and compatibility risk

Use natural language callouts in prose; keep them concise and specific.

Step 6: End with concise close-out

After the final story step, add a short close-out with:

  • What changed overall
  • Why behavior is now different
  • What to monitor or validate next

Output contract

Return this structure:

  1. # Implementation Walkthrough
  2. One brief setup paragraph (intent + scope)
  3. Numbered story steps (## Step 1, ## Step 2,...)
  4. ## Final Outcome

Output example

Use this structure:

# Implementation Walkthrough

This change adds source-aware feature behavior for a new UI path while preserving the existing invocation flow.

## Step 1 — User click enters the feature entrypoint [UNCHANGED CONTEXT]
The runtime trigger is still the button click. That handler forwards the input into the existing feature path, so the change does not alter how execution begins.

Filename: `src/ui/button.ts:42`
Symbol: `onClick`

button.onClick = () => startFeature(input)


From here, control moves into `startFeature()`.

## Step 2 — Entrypoint forwards to service [UNCHANGED CONTEXT]
The orchestration layer remains unchanged and continues to delegate work to `run()`. This is important context because it means the new behavior is introduced deeper in the service layer, not at the boundary.

Filename: `src/feature/entry.ts:10`
Symbol: `startFeature`

export function startFeature(input: Input) { return run(input) }


That keeps the original control flow intact and localizes the behavior change.

## Step 3 — Service return payload updated [CHANGED]
This is the functional change: the service now includes source metadata in its return payload so downstream consumers can render source-specific UI behavior.

Filename: `src/feature/service.ts:88`
Symbol: `run`
  • return { state: "pending" }

+ return { state: "ready", source: "agent" }


Example input/output:

{ "input": { "taskId": "t_123", "state": "pending" }, "output_before": { "state": "pending" }, "output_after": { "state": "ready", "source": "agent" } }


The team chose to enrich the existing payload instead of creating a second metadata endpoint, which avoids an extra network hop and synchronization complexity. Performance impact here is negligible because no additional I/O is introduced, but there is a compatibility risk for legacy consumers that assume the old payload shape.

## Step 4 — UI consumes enriched payload [CHANGED]
Rendering now branches on the new `source` field, which is what makes the feature visible to users. This step is where the service-layer change becomes observable behavior.

Filename: `src/ui/render.ts:120`
Symbol: `renderState`

if (data.source === "agent") { showAgentState() }


At this point the flow reaches the updated UI outcome.

## Final Outcome
The feature still starts at the same runtime trigger and follows the same orchestration path, but the changed service payload now drives source-aware rendering. Next validation should confirm that legacy consumers handle the added `source` field safely.

Validation and exit criteria

Complete only when all checks pass:

  • Story begins at runtime trigger and ends at final observable behavior.
  • Every changed file appears in at least one CHANGED story step.
  • Every snippet header uses Filename: relative/path/to/file.ext:start_line format.
  • No forward references: definitions/contracts appear before usages that depend on them.
  • Unchanged-but-critical context appears in UNCHANGED CONTEXT steps.
  • Each changed hunk includes reason + behavioral effect.
  • Data-shape/model/API changes include concrete example input/output with sanitized representative values.
  • Trade-offs, alternatives, performance notes, and risk notes appear at relevant steps.
  • Facts are distinguished from inference.
  • Unknowns are explicitly labeled.
  • Conversation process/history does not appear as a walkthrough step.
  • No claim of validation is made unless validation was actually performed.
  • Snippets and examples contain no credentials, keys, tokens, or other sensitive values.

If any criterion fails, state what is missing and continue refining before finalizing.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.91%
按下载量换算47

Claude

28.26%
按下载量换算37

Cursor

18.33%
按下载量换算24

Gemini CLI

8.79%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills