---
name: change-impact-annotate-885ae4b848f9
description: 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.
---

<!-- 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

- 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.


---
Source attribution: SteveGJones
Original project: https://github.com/SteveGJones/ai-first-sdlc-practices/blob/631a626ff044f069e445d40777a0951e491a8132/plugins/sdlc-assured/skills/change-impact-annotate/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2024 Steve Jones

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: SteveGJones
Original project: https://github.com/SteveGJones/ai-first-sdlc-practices/blob/631a626ff044f069e445d40777a0951e491a8132/plugins/sdlc-assured/skills/change-impact-annotate/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering, Legal, Product Management
Roles: Backend Developer, Compliance Officer, Product Manager, QA / Test Engineer, Technical Product Manager
Specialties: Backend
Tools: Tool not specified
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 223e5d38fe9f507b688cbb2dcf83253c212acc00cf8a77f4e6a6482c83bdea45
