agentleFS
mab-gomab-go/xmind-mcp/.agents/skills/verify-changes/SKILL.md

verify-changes

Skill9 starsChanged 24 days agoMITView on GitHub

Runs the project's full build, test, and lint workflow, checks that the changed behavior actually works, and updates documentation the change affects. Use when invoked via /verify-changes, after completing implementation work, before committing, or when the user says "verify", "check", or "are we done".

12 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use intelligent-routing, design-spec and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SKB3002Skill

    intelligent-routing

    Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

    Also in 3 projects that use this

  • jornalistainclusivoSkill

    design-spec

    How to author a DESIGN.md file — the machine-readable design-token + human-rationale format that must exist before any UI is built. YAML front-matter token schema (colors, typography, spacing, rounded, components), type system, token references, and canonical section order.

    Also in 3 projects that use this

  • xenitV1Skill

    bash-linux

    Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

    Also in 3 projects that use this

  • xenitV1Skill

    red-team-tactics

    Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.

    Also in 3 projects that use this

  • xfstudioSkill

    rust-pro

    Master Rust 1.75+ with modern async patterns, advanced type system

    Also in 3 projects that use this

  • +7 more from xenitV1

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 17 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 17

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the project's agent instructions (e.g.

    line 8
  2. Distinctive:

    Check prerequisites: If the project has a setup or health-check command, or its checks need services (a database, containers, a local …

    line 12
  3. Very specific:

    Identify the verification commands: Check the project's agent instructions (AGENTS.md), Makefile, or CI config for the canonical …

    line 13
  4. Distinctive:

    Fix failures: If any step fails, diagnose and fix the issue, then re-run from the top.

    line 15
  5. Distinctive:

    Never weaken a test, assertion, constraint, or lint rule to make it pass.

    line 16
  6. Distinctive:

    Never remove, stub, or disable existing behavior to clear an error.

    line 17
  7. Distinctive:

    Never resolve a dependency conflict by downgrading until the warnings stop.

    line 18
  8. Distinctive:

    If a fix makes an error disappear and you cannot explain why, say so instead of moving on.

    line 19
  9. Distinctive:

    If a check reports stale generated files, regenerate them and include them in the change.

    line 20
  10. Distinctive:

    Check documentation: If the project's agent instructions include a map of which changes require which doc updates, follow it.

    line 22
  11. Distinctive:

    Make doc updates: if needed. Edit AGENTS.md directly, never a CLAUDE.md symlink that points to it.

    line 32
  12. Distinctive:

    Re-run verification: if doc changes touched source files (e.g.

    line 33
  13. Distinctive:

    Do not skip verification because "it's a small change." Small changes break builds too.

    line 43
  14. Distinctive:

    Do not mark verification complete if there are known failures the user has not acknowledged.

    line 44
  15. Distinctive:

    Do not report work as done just because it compiles.

    line 45
  16. Distinctive:

    Do not run only tests without also running lint, or vice versa.

    line 46
  17. Distinctive:

    Do not silently suppress warnings or skip flaky tests without flagging them.

    line 47
  18. Distinctive:

    Do not replace working code with a comment describing what the code would do.

    line 48

“Common” is measured: kept by at least 6 in 10 of the 10 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

Verify Changes

Read the project's agent instructions (e.g. AGENTS.md), plus any nested AGENTS.md in directories you changed, before applying this skill, so the correct verification commands and documentation requirements are known.

Procedure

  1. Check prerequisites. If the project has a setup or health-check command, or its checks need services (a database, containers, a local server), get those working first. A missing tool or service is an environment problem to fix, not a reason to skip a check.
  2. Identify the verification commands. Check the project's agent instructions (AGENTS.md), Makefile, or CI config for the canonical build/test/lint commands. Common patterns: make build test lint, npm test, cargo clippy && cargo test. Prefer the command CI runs.
  3. Run them. Execute the full suite. Do not skip steps or run partial checks.
  4. Fix failures. If any step fails, diagnose and fix the issue, then re-run from the top. Repeat until clean. While fixing:
    • Never weaken a test, assertion, constraint, or lint rule to make it pass. Fix the code or the data.
    • Never remove, stub, or disable existing behavior to clear an error. If behavior truly has to go, stop and say so.
    • Never resolve a dependency conflict by downgrading until the warnings stop. Resolve to a coherent set of versions, or report the conflict.
    • If a fix makes an error disappear and you cannot explain why, say so instead of moving on.
    • If a check reports stale generated files, regenerate them and include them in the change.
  5. Check behavior. A passing build is not evidence of correct behavior. Where practical, exercise what you changed (the relevant test, a CLI command, a request against a running service) and note what you observed. In this project, /xmind-mcp-smoke-test exercises the tool surface end to end through a running server. Run it for changes to a tool's arguments, responses, or behavior when the MCP client is connected to the build under test; otherwise say it was not run.
  6. Check documentation. If the project's agent instructions include a map of which changes require which doc updates, follow it. Otherwise, use these defaults:

    • New/removed files -- project structure docs
    • New utilities or helpers -- reference tables or API docs
    • New conventions established -- convention docs
    • New config or skill files -- reflect in agent instructions if they affect agent behavior
    • New package or module -- a README, from the project's template if it has one

    Generated doc sections (content between generator markers) are updated by running the project's generator, never by hand. Run its drift check if it has one, then confirm the hand-written text around the generated sections still holds.

    docs/example.xmind is generated by make gen-example, which assigns fresh UUIDs on every run. Regenerate it only when cmd/gen-example changes; regenerating it otherwise only adds churn.

  7. Make doc updates if needed. Edit AGENTS.md directly, never a CLAUDE.md symlink that points to it. Only update docs when something actually changed; no cosmetic edits to show compliance.
  8. Re-run verification if doc changes touched source files (e.g. doc comments in code, embedded docs, generated sections).

Report

  • State what changed and what behavior that change could affect. Call out changes to public contracts, configuration, or dependency wiring explicitly.
  • Report the verification commands you ran and their results, including anything skipped and why.
  • List any commented-out code or TODO markers left in the changed code. The compiler cannot see unfinished work; the report should.

Anti-patterns

  • Do not skip verification because "it's a small change." Small changes break builds too.
  • Do not mark verification complete if there are known failures the user has not acknowledged.
  • Do not report work as done just because it compiles.
  • Do not run only tests without also running lint, or vice versa. Run the full suite.
  • Do not silently suppress warnings or skip flaky tests without flagging them.
  • Do not replace working code with a comment describing what the code would do. "In a real implementation ..." is a defect, not a placeholder.

Related skills

  • This is a natural prerequisite for /commit-message.

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.