Skip to main content
GeneralSteveGJones

change-impact-annotate

Guide the team through writing a change-impact record for IEC 62304 / FDA / ISO 26262 ASIL C+ projects. Surfaces the affected REQ/DES/TEST/CODE artefacts and captures human-attested verification approach.

Stars
38
Source
SteveGJones/ai-first-sdlc-practices
Updated
2026-05-11
Slug
SteveGJones--ai-first-sdlc-practices--change-impact-annotate
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/SteveGJones/ai-first-sdlc-practices/HEAD/plugins/sdlc-assured/skills/change-impact-annotate/SKILL.md -o .claude/skills/change-impact-annotate.md

Drops the SKILL.md into .claude/skills/change-impact-annotate.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Skill: change-impact-annotate

Use this skill before pushing a code change that touches a regulated-context project where change_impact_gate is enabled. Produces a docs/change-impacts/CHG-NNN.md record that satisfies the gate.

Inputs

  • The unstaged or just-staged code changes (read from git diff)

Steps

  1. Inspect the diff. Identify the touched files and (best-effort) the touched functions.

  2. Map files to module IDs using programs.yaml.

  3. Map touched functions to cited artefact IDs by parsing existing # implements: annotations.

  4. Compute the next CHG number. Scan docs/change-impacts/CHG-*.md; new ID = max + 1.

  5. Generate a draft. Use the change-impact.md template, pre-filled with:

    • Discovered REQs, DESs, TESTs, code locations, modules
    • Empty fields for: change summary, downstream effects, verification approach, approver
  6. Prompt the user to fill in the empty fields. Surface verification approach as the highest-stakes field (this is the regulator's primary check).

  7. Save. Write to docs/change-impacts/CHG-<NNN>.md.

  8. Re-run change_impact_gate to verify the record covers all touched code files.

  9. Remind. "Approval signature is required before merge — the framework records it; the human authorises it."

Done criteria

  • CHG-<NNN>.md written.
  • All touched code files cited in the record.
  • change_impact_gate passes.