verify-change

verify-change is a skill for Claude Code from rockyflux/yq-workflow. It costs 65 tokens per session (1,057 once invoked), scanned A, a copy of verify-change, MIT.

A change-checking skill that examines code edits, affected modules, tests, documentation, and the reason for the change. It treats a change as code plus the records needed to understand it later.

In plain words
What is it for?
Use it before or after modifying a module, during refactoring, or before committing to review affected files, documentation, tests, and change history.
Why use it?
It helps reveal when a substantial edit lacks updated documentation, tests, or an assessment of its impact.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it before or after modifying a module, during refactoring, or before committing to review affected files, documentation, tests, and change history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rockyflux/yq-workflow/verify-change
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rockyflux/yq-workflow --skill verify-change
Clone the repo
git clone --depth 1 https://github.com/rockyflux/yq-workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for verify-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockyflux/yq-workflow/verify-change/github.svg)](https://agentmods.dev/skills/rockyflux/yq-workflow/verify-change)
Your own site
<a href="https://agentmods.dev/skills/rockyflux/yq-workflow/verify-change"><img src="https://agentmods.dev/badge/skills/rockyflux/yq-workflow/verify-change/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for verify-change

Your own site · 80×15
<a href="https://agentmods.dev/skills/rockyflux/yq-workflow/verify-change"><img src="https://agentmods.dev/badge/skills/rockyflux/yq-workflow/verify-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01057
Opus 5 $0.00032 $0.00528
Sonnet 5 $0.00013 $0.00211
Haiku 4.5 $0.00006 $0.00106

Measured 5d ago against content hash 689a9c0573f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

verify-change scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/change_analyzer.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to verify-change — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/skills/tools/verify-change/SKILL.md · 141 lines

What it actually says

⚖ 校验关卡 · 变更校验

核心原则

变更 = 代码改动 + 文档更新 + 理由记录
无理由的变更是隐患,无记录的变更是灾难
每一次变更都是历史,每一个决策都要留痕

自动分析

运行变更分析脚本(跨平台):

# 在 skill 目录下运行
node scripts/change_analyzer.js                    # 分析工作区变更(默认)
node scripts/change_analyzer.js --mode staged      # 分析暂存区变更
node scripts/change_analyzer.js --mode committed   # 分析已提交变更
node scripts/change_analyzer.js -v                 # 详细模式
node scripts/change_analyzer.js --json             # JSON 输出

检测能力

自动检测项

检测项 说明
文件分类 自动识别代码/文档/测试/配置文件
模块识别 识别受影响的模块
文档同步 检测代码变更是否同步更新文档
测试覆盖 检测代码变更是否有对应测试
影响评估 评估变更规模和影响范围

触发警告的情况

  • ⚠️ 代码变更 > 50 行但 DESIGN.md 未更新
  • ⚠️ 代码变更 > 30 行但无测试更新
  • ⚠️ 新增文件但 README.md 未更新
  • ⚠️ 配置文件变更未记录
  • ℹ️ 删除文件需确认引用已清理

变更前置检查

在修改任何模块前,必须:

  1. 读取 README.md — 理解模块定位
  2. 读取 DESIGN.md — 理解现有决策
  3. 评估影响范围 — 此变更影响哪些部分
  4. 确认变更理由 — 为什么要改

变更后置检查

代码修改完成后,必须:

README.md 更新检查

  • 模块职责是否变化 → 更新职责描述
  • 依赖关系是否变化 → 更新依赖说明
  • 使用方式是否变化 → 更新示例代码

DESIGN.md 更新检查

  • 新增设计决策 → 记录决策及理由
  • 修改现有设计 → 记录变更及原因
  • 引入新限制 → 更新已知限制
  • 添加变更记录 → 更新变更历史

变更记录格式

在 DESIGN.md 的变更历史中添加:

## 变更历史

### [日期] - [变更标题]

**变更内容**: 简述改了什么

**变更理由**: 为什么要改

**影响范围**: 影响哪些功能/模块

**决策依据**: 为何选择此方案(如适用)

自动触发时机

场景 触发条件
设计级变更 修改架构、接口、数据结构
重构完成 重构任务完成时
代码变更 > 30 行 较大规模代码修改
提交前 代码提交前检查

校验流程

1. 运行 change_analyzer.js 自动分析
2. 识别变更文件和受影响模块
3. 检查文档同步状态
4. 评估变更影响
5. 输出变更校验报告

校验报告格式

## 变更校验报告

### 变更概览
- 变更文件数: N
- 代码变更行数: +X / -Y
- 受影响模块: [模块列表]

### 文档同步状态
- README.md: ✓ 已同步 / ⚠️ 需更新
- DESIGN.md: ✓ 已同步 / ⚠️ 需更新

### 测试覆盖
- 测试文件变更: ✓ 有 / ⚠️ 无

### 结论
可提交 / 需补充文档后提交

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 141 lines · 65 tokens per session scan A 689a9c0573f6

Subscribe to this mod's changes

verify-change is a skill published in the GitHub repository rockyflux/yq-workflow (2 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 1,057 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to verify-change, differing in 0 lines, and is treated as a copy.