name: safe-generated-file-updates description: Update generated artifacts safely without drifting from pipeline source of truth. Use when generated files or snapshots are modified. metadata: owner: shadcnui-foundry version: "1.0"
Safe Generated File Updates
When to use this skill
Use for any task touching generated outputs or snapshots.
Rules
- Do not hand-edit generated output as source of truth.
- Regenerate via pipeline/CLI when behavior changes are intended.
- Confirm generated headers and
irHashpresence. - Update snapshots only when output changes are intentional.
- Use
gen(<scope>): ...commit message for generated updates.
Verification
- Re-run relevant package tests and cross-framework snapshots.
- Confirm no unrelated generated files changed unexpectedly.