Change impact annotate

From SteveGJones/ai-first-sdlc-practices · View interactive version

Change impact annotate is an AI agent skill from the GitHub repository SteveGJones/ai-first-sdlc-practices. 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.

How to use this skill

Skill file

<!-- implements: DES-assured-skills-006 -->

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

Steps

  1. Inspect the diff. Identify the touched files and (best-effort) the touched functions.
  1. Map files to module IDs using programs.yaml.
  1. Map touched functions to cited artefact IDs by parsing existing # implements: annotations.
  1. Compute the next CHG number. Scan docs/change-impacts/CHG-*.md; new ID = max + 1.
  1. Generate a draft. Use the change-impact.md template, pre-filled with:
  1. Prompt the user to fill in the empty fields. Surface verification approach as the highest-stakes field (this is the regulator's primary check).
  1. Save. Write to docs/change-impacts/CHG-<NNN>.md.
  1. Re-run change_impact_gate to verify the record covers all touched code files.
  1. Remind. "Approval signature is required before merge — the framework records it; the human authorises it."

Done criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.