agentleFS
bryanus1bryanus1/agent-skills/skills/workflow/explain-change/SKILL.md

explain-change

Skill0 starsChanged 19 days agoMITView on GitHub

After an AI implements a change (/opsx:apply, idd-apply or any plan), compares the real diff against the original proposal and sums up the decisions the AI made that were not specified: assumptions, extra scope, contracts, dependencies and shortcuts. Read-only.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user:

    line 36
  2. Very specific:

    Do not use it: if the user asks to implement the plan (idd-apply) or to assess general quality/bugs without comparing against a proposal …

    line 40
  3. Distinctive:

    Follow references/proposal-sources.md for the flow the project uses:

    line 47
  4. Very specific:

    IDD: read the spec and the ## 🛠️ Implementation Plan section (together with ### Deviations and the later 🔄 IDD Progress comments) in …

    line 49
  5. Very specific:

    Generic: use the plan agreed in the conversation, a .md file the user names, or the issue/PR description.

    line 50
  6. Distinctive:

    No proposal to compare against: if there is no verifiable spec, plan or earlier description, stop and ask the user which document or …

    line 51
  7. Very specific:

    If the implementation was already committed on the current branch, also compare against the base branch (main, master or develop):

    line 61
  8. Distinctive:

    If the code implemented the proposal exactly with no relevant hidden decisions, say so plainly as Faithful to the proposal without making …

    line 87
  9. Very specific:

    Read-only by default: do not modify source code, tests, design.md or issues/PRs during the audit.

    line 95
  10. Distinctive:

    Strict focus on the delta: do not summarize what the proposal already asked for.

    line 97
  11. Very specific:

    Traceable evidence: every finding cites file:line and the proposal section or requirement it diverges from or adds to.

    line 98
  12. Distinctive:

    Never invent a proposal: if there is no proposal/plan to compare against, ask for it before evaluating.

    line 99
  13. Distinctive:

    Honest when fully faithful: if the AI followed the proposal without deviating or improvising relevant decisions, say so without padding it …

    line 100

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Explain Change (explicar-cambio)

🎯 Purpose

Audits what was actually implemented after an AI ran /opsx:apply, idd-apply or any work plan. It compares the real diff against the original proposal and sums up only the decisions the AI made on its own without them being specified: assumptions, defaults, altered contracts, new dependencies, extra scope and shortcuts.

It is strictly read-only: it gives you visibility before you accept the change or open a PR, without editing code or rewriting documents without your confirmation.


⚡ When to Trigger

Use this skill when the user:

  • Has just run /opsx:apply, idd-apply or an assisted implementation and asks what the AI did or decided ("explicar-cambio", "which decisions did the AI make that weren't in the proposal?", "audit the change against the plan").
  • Wants to check how faithful the code on disk or on the current branch is to a spec/plan (OpenSpec, IDD or a .md document).

Do not use it if the user asks to implement the plan (idd-apply) or to assess general quality/bugs without comparing against a proposal (code-quality-review or pr-plain-review).


📋 Workflow

Step 1: Find the Original Proposal

Follow references/proposal-sources.md for the flow the project uses:

  1. OpenSpec: find the active change in openspec/changes/<name>/ (proposal.md, design.md, specs/**/*.md and tasks.md), skipping openspec/changes/archive/ unless explicitly asked. If there are several active changes, ask which one to audit (you can suggest the one that matches the branch or the modified files, and ask for confirmation).
  2. IDD: read the spec and the ## 🛠️ Implementation Plan section (together with ### Deviations and the later 🔄 IDD Progress comments) in Notion, Linear, GitHub Issues/Projects or docs/specs/*.md. Items from earlier versions use the Spanish markers (## 🛠️ Plan de Implementación, ### Desviaciones, 🔄 Progreso IDD); read both.
  3. Generic: use the plan agreed in the conversation, a .md file the user names, or the issue/PR description.
  4. No proposal to compare against: if there is no verifiable spec, plan or earlier description, stop and ask the user which document or requirements to compare against; never invent a proposal.

Step 2: Collect the Change Actually Implemented (read-only)

Inspect what really exists in the repository:

git status --short
git diff --stat
git diff
git ls-files --others --exclude-standard

If the implementation was already committed on the current branch, also compare against the base branch (main, master or develop):

git log <base>..HEAD --oneline
git diff <base>...HEAD

For new files or structural changes, read the whole file when you need to understand dependencies, types or side effects.

Step 3: Compare Proposal vs. Real Code (both directions)

  1. In the code but NOT in the proposal (implicit decisions): review each modified/added file and classify any undeclared decision into the 6 categories of references/decision-taxonomy.md:
    • Extra scope (files, refactors or features outside the proposal).
    • Contracts and data (migrations, schemas, endpoints, HTTP codes or public types that were not specified).
    • Behavior and defaults (limits, timeouts, fallbacks, error messages or edge cases the AI chose).
    • Architecture and dependencies (added packages, patterns or layers missing from the design).
    • Security, permissions and configuration (auth, RLS, relaxed/tightened validations, environment variables).
    • Shortcuts, trade-offs and debt (TODOs, as any, skipped/weakened tests, tasks ticked as done when only partly done).
  2. In the proposal but NOT done, or done differently: clearly separate deviations that were already documented/agreed (e.g. in ### Deviations or 🔄 IDD Progress comments) from silent omissions or changes.

Step 4: Prioritize by Need for Human Validation

  1. Filter out everything the proposal did specify, to focus only on the undeclared delta.
  2. Classify each decision with references/decision-taxonomy.md:
    • 🔴 Needs your validation: affects security, data, public contracts, dependencies, large scope or money.
    • 🟡 Worth reviewing: business/UX assumptions, arbitrary limits, collateral refactors or technical debt.
    • 🟢 Minor implementation detail: reasonable local decisions (internal names, private helpers), grouped in a short summary without noise.

Step 5: Deliver the Report and Closing Options

  1. Present the report in the canonical format of references/decision-taxonomy.md.
  2. If the code implemented the proposal exactly with no relevant hidden decisions, say so plainly as Faithful to the proposal without making up findings.
  3. Close by asking which decisions they accept (offering to record them in design.md or in the plan's deviations section only after confirmation) and which they want to revert or adjust.

⚠️ Critical Rules

  1. Reply in the user's language, even though this skill is written in English. The report template is in English; render it in the user's language.
  2. Read-only by default: do not modify source code, tests, design.md or issues/PRs during the audit.
  3. No self-justification: even if you ran /opsx:apply or idd-apply yourself in earlier turns, audit the diff on disk as a skeptical third party. Do not trust your memory or justify a change unless it is explicitly written in the proposal.
  4. Strict focus on the delta: do not summarize what the proposal already asked for; the value of this skill is surfacing only what was not specified or what deviated.
  5. Traceable evidence: every finding cites file:line and the proposal section or requirement it diverges from or adds to.
  6. Never invent a proposal: if there is no proposal/plan to compare against, ask for it before evaluating.
  7. Honest when fully faithful: if the AI followed the proposal without deviating or improvising relevant decisions, say so without padding it with trivia.

📚 References

  • Proposal sources: how to find and read OpenSpec proposals, IDD plans (Notion, Linear, GitHub, local) and generic plans.
  • Decision taxonomy and report: the 6 categories, 🔴/🟡/🟢 criteria, report template and a full example.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.