safe-change

Enforce canonical YAML artifact updates under a resolved structured docs root.

80|2|Updated May 14, 2026
One-click install
npx skills add https://github.com/PriNova/pi-agent-codebase-workflows --skill safe-change
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safe-change
Source: https://github.com/PriNova/pi-agent-codebase-workflows/tree/main/skills/safe-change
Command: npx skills add https://github.com/PriNova/pi-agent-codebase-workflows --skill safe-change

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated, safe-change workflows that enforce canonical YAML artifacts under a resolved structured docs root to prevent architecture drift and ensure auditable updates.

Core Features & Use Cases

  • Structured Artifact API Contract and stable IDs to guarantee traceable changes.
  • Read-before-write and upsert semantics to preserve existing references while updating only changed fields.
  • Enforced evidence requirements and cross-artifact references to maintain data integrity across YAML artifacts.

Quick Start

Initiate a safe-change workflow to modify canonical YAML artifacts under the resolved structured docs root while preserving stable IDs and evidentiary references.

Frequently Asked Questions about safe-change

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent architecture drift when updating YAML artifacts in my codebase?

You can prevent architecture drift by enforcing canonical YAML artifacts under a resolved structured docs root. This workflow uses read-before-write semantics and stable IDs to ensure only changed fields are updated while preserving existing references.

What is the best way to maintain cross-artifact reference integrity when evolving codebase architecture?

Maintaining cross-artifact reference integrity requires enforcing evidence requirements and stable IDs during YAML artifact updates. This approach guarantees traceable changes and preserves data relationships across architecture, data-flow, and risk artifacts.

How do I safely update structured YAML artifacts without overwriting existing data?

You can safely update structured YAML artifacts by applying deterministic upsert semantics. This read-before-write protocol ensures existing references are preserved while only modifying the specific fields that have changed.

Can I use structured artifact workflows for updating risk and data-flow documentation?

Yes, structured artifact workflows apply directly to codebase evolution tasks including updating risk and data-flow artifacts. They enforce canonical YAML formats and evidence requirements under a resolved structured docs root to maintain traceability.

Do I need a specific structured docs root setup to enforce safe-change workflows?

Safe-change workflows operate using the repository's global or repo-local structured docs roots as defined by your workflow rules. You must resolve this structured docs root before enforcing canonical YAML artifact updates to prevent architecture drift.