project-config-mutate

Apply add or remove operations to PROJECT_CONFIG.md with validation and atomic writes.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/KingSharkG/ai-agents-workflow --skill project-config-mutate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-config-mutate
Source: https://github.com/KingSharkG/ai-agents-workflow/tree/main/skills/project-config-mutate
Command: npx skills add https://github.com/KingSharkG/ai-agents-workflow --skill project-config-mutate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables safe, auditable mutations to ai-workflow-data/config/PROJECT_CONFIG.md by applying a single add or remove operation and enforcing gating through the project-config-review process.

Core Features & Use Cases

  • Validation of target-type, value shape, and domain scoping.
  • Atomic write protocol with temporary files and post-write cache regeneration.
  • Diff generation to present changes for review and ensure traceability.

Quick Start

Mutate PROJECT_CONFIG.md by performing an add or remove operation after a review gate approves.

Frequently Asked Questions about project-config-mutate

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

FAQPage Schema
How do I atomically mutate PROJECT_CONFIG.md without breaking validation?

To atomically mutate PROJECT_CONFIG.md, apply targeted add or remove operations through a review gate that enforces target-type validation, generates diffs, and uses a temporary file protocol to ensure safe writes and post-write cache regeneration.

What is the safest way to apply changes to ai-workflow config files?

Safe ai-workflow config changes require an atomic write protocol that validates domain scoping and target-types, generates a diff for traceability, and regenerates caches post-write to prevent state corruption.

How does the project-config-review diff generation process work?

The project-config-review diff generation process works by applying a single add or remove operation to PROJECT_CONFIG.md, validating the value shape and domain scoping, then presenting the resulting diff for review before committing the atomic write.

Can I remove a domain-scoped target-type from PROJECT_CONFIG without causing idempotency issues?

Yes, you can remove domain-scoped target-types from PROJECT_CONFIG without idempotency issues because the mutation process enforces idempotency checks, ensuring repeated remove operations do not corrupt the config or trigger duplicate errors.

Does modifying project config require regenerating the cache after writing?

Modifying project config requires regenerating the cache after writing to ensure the ai-workflow environment immediately reflects the atomic write and domain-scoped mutations without stale data.

Why does my project config mutation fail validation before the review gate?

Project config mutation fails validation before the review gate when the target-type or value shape does not match domain declarations, preventing invalid configurations from reaching the atomic write stage.