change

change is a command for Claude Code from infra403/agentic-engineering-lab. It costs 83 tokens per session (3,988 once invoked), scanned A, original, MIT.

A command for changing an already implemented project through impact analysis, design, implementation, and regression testing. Regression testing checks that new changes have not broken existing behavior.

In plain words
What is it for?
Use it to add features, improve existing behavior, refactor modules, fix bugs, inspect the impact of a request, or review the history of previous changes.
Why use it?
It shows which existing requirements, APIs, data structures, files, and services a change may affect before code is edited. This lowers the risk of fixing one area while silently breaking another.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the product-design plugin — 3 skills, 4 commands, 10 agents shipped together

Good fit Use it to add features, improve existing behavior, refactor modules, fix bugs, inspect the impact of a request, or review the history of previous changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/infra403/agentic-engineering-lab/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.

Clone the repo
git clone --depth 1 https://github.com/infra403/agentic-engineering-lab

Made for: Claude Code.

Or install product-design, the plugin that ships this one along with the rest of its 3 skills, 4 commands, 10 agents.

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 change

README.md
[![agentmods](https://agentmods.dev/badge/commands/infra403/agentic-engineering-lab/change/github.svg)](https://agentmods.dev/commands/infra403/agentic-engineering-lab/change)
Your own site
<a href="https://agentmods.dev/commands/infra403/agentic-engineering-lab/change"><img src="https://agentmods.dev/badge/commands/infra403/agentic-engineering-lab/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 change

Your own site · 80×15
<a href="https://agentmods.dev/commands/infra403/agentic-engineering-lab/change"><img src="https://agentmods.dev/badge/commands/infra403/agentic-engineering-lab/change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,988 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 original No closer match found 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.00083 $0.03988
Opus 5.5 $0.00033 $0.01595
Sonnet 5.5 $0.00017 $0.00798
Haiku 4.5 $0.00008 $0.00399

Measured 1mo ago against content hash 6f0cb19fe06c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 1mo ago.

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.

claude-code/plugins/product-design-plugin/commands/change.md · 437 lines

How it starts

The opening of the file, as written. The whole thing — 437 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/change 命令

核心理念

先设计再实现,先影响分析再动手。 在已有 checkpoint + 运行中代码库上做增量变更,不是从零开始。 每次变更都经过 G-E 收敛循环验证设计质量,再通过 RALPH 循环实现。

与 /implement 的关系

/implement = 从 checkpoint 出发,全量实现(Phase 0→1→2→3)
/change    = 在已实现的项目上,增量变更(分析→设计→实现→回归)

/implement 建造房子
/change    改造房间

/change 复用 /implement 的全部基础设施(agents、hooks、rules、scripts), 但增加了影响分析和增量设计两个前置阶段。


使用方式

# 完整流程(4 阶段)
/change 新增 whale alert:检测大额交易推送 webhook 通知

# 仅分析影响(不实现)
/change analyze 新增 whale alert 功能

# 从设计结果继续实现(已有 change-request)
/change implement CR-003

# 查看变更历史
/change log

# bug fix 快捷模式(跳过完整设计,但仍有影响分析)
/change fix 钱包初始化超时未重试

变更类型

类型 触发词 设计深度 示例
feature 新增、添加、支持 完整(4 阶段) "新增 whale alert 功能"
enhance 修改、优化、改进 中等(影响分析 + 增量设计) "优化钱包初始化并发数"
refactor 重构、拆分、合并 中等(影响分析 + 架构评审) "拆分 ingestion 模块"
fix 修复、bug、问题 轻量(影响分析 + 直接实现) "修复扫链 reorg 处理"

4 阶段流程

Stage A: ANALYZE(影响分析)
  │ 主 session 执行,可与用户交互
  │
  │ 1. 读取变更描述 → 分类(feature/enhance/refactor/fix)
  │ 2. 扫描现有 checkpoint-1~5 → 找到相关 FR、聚合、API、DDL
  │ 3. 扫描现有代码库 → 找到受影响的文件和模块
  │ 4. 检测新增环境依赖(新 infra / 新 API / 新 RPC)
  │ 5. 生成影响报告 → 展示给用户确认
  │
  │ 产出:change-request-{N}.yaml(影响范围 + 变更计划 + 新增环境依赖)
  │
Stage B: DESIGN(增量设计)
  │ Agent(change-analyst) — G-E 收敛循环
  │
  │ 1. 根据变更类型,增量更新相关 checkpoint:
  │    - feature → 追加 FR 到 checkpoint-1,可能更新 2/3/4
  │    - enhance → 修改已有 FR,更新 checkpoint-4
  │    - refactor → 更新 checkpoint-2/3,可能更新 4
  │    - fix → 通常不更新 checkpoint(除非是设计缺陷)
  │ 2. Generator 提出 checkpoint 变更 → Evaluator 评审一致性
  │ 3. 用户确认 checkpoint 变更
  │
  │ 产出:更新后的 checkpoint 文件 + change-request 状态更新
  │
    ──── 如果有新增环境依赖 → 环境询问(见下方) ────

Stage C: IMPLEMENT(增量实现)
  │ 复用 impl-lead + RALPH 循环
  │
  │ 1. impl-lead 只处理 change-request 中的变更范围
  │ 2. 如果需要新 DDL → impl-skeleton 执行增量迁移
  │ 3. 如果需要新 verify scripts → impl-deploy 更新脚本
  │ 4. RALPH 内层循环:RED → GREEN → REVIEW → DEPLOY → COMMIT
  │ 5. 每个变更功能一个 commit(Conventional Commits)
  │
  │ commit 格式根据变更类型:
  │   feature → feat({module}): {description}
  │   enhance → feat({module}): {description}
  │   refactor → refactor({module}): {description}
  │   fix → fix({module}): {description}
  │
Stage D: REGRESS(回归验证)
  │ 主 session + impl-reviewer
  │
  │ 1. 全量测试(不仅仅是变更部分)
  │ 2. 全量 smoke test
  │ 3. impl-reviewer 对变更代码做独立评审
  │ 4. 检查未被变更但被影响的模块是否仍通过
  │ 5. 更新 change-request 状态 → completed

Read the full file on GitHub · 437 lines

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. 1mo ago First seen · 437 lines · 83 tokens per session scan A 6f0cb19fe06c

Subscribe to this mod's changes

change is a command published in the GitHub repository infra403/agentic-engineering-lab (5 stars, last pushed 5mo ago), licensed MIT. It adds 83 tokens to every session and 3,988 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.