一键导入
change-amplification
Find architecture debt in change history by identifying change amplification and missing boundaries
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Find architecture debt in change history by identifying change amplification and missing boundaries
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | change-amplification |
| description | Find architecture debt in change history by identifying change amplification and missing boundaries |
Use this skill to review change history as architecture evidence. The goal is not to criticize individual PRs or commits, but to identify missing module boundaries, owners, contracts, or drift checks that repeatedly make one conceptual change spread across scattered files.
Analyze change units. A change unit is the reviewable unit that best captures one intended conceptual change.
Supported input modes:
prs: merged PRs. This is the default when PR metadata is available.commits: commits in an explicit revision range.range: a git revision range; infer PRs or commits from available metadata.auto: prefer merged PRs, then fall back to commits.If no input mode is specified, use the last 50 merged PRs when available. If PR metadata is unavailable and no revision range is provided, ask for the evidence set instead of guessing.
For each change unit, inspect the title or subject, description or body, changed files, tests, configs, docs, prompts, and any compatibility paths added or changed.
Review the change units as architecture evidence.
Find PRs that show change amplification: one intended change forced edits across multiple conceptually separate places because the architecture did not name one clear owner, contract, or boundary.
Reject change units where the breadth was justified by a genuinely cross-cutting feature, or where the change unit was itself a refactor.
Rank candidates by expected future leverage: prioritize missing boundaries that are likely to cause repeated future edits, regressions, or inconsistent behavior.
For each candidate, report:
Output a ranked backlog of architectural debt with change-unit evidence.
Do not output a list of bad PRs or bad commits. Output a list of missing boundaries.
Use this structure:
# Change Amplification Backlog
## 1. <missing boundary or owner>
- Evidence: <PR title and link, or commit hash and subject>
- Intended change: <single conceptual change>
- Amplification evidence: <specific paths and why they are separate concerns>
- Why this is architectural: <missing boundary, owner, or contract>
- Better architecture: <smallest localizing change>
- Mechanical prevention: <test, type, lint, or contract check>
- Deletion criterion: <compatibility path to remove>
- Expected leverage: <why this should pay off>
## Rejected Breadth
- <PR title and link, or commit hash and subject>: <why the breadth was
justified or why it was a refactor>