refactor

Detect configuration drift between ops/config.yaml and ops/derivation.md to plan vault restructuring.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/wtyler2505/ProtoPulse --skill refactor-wtyler2505
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor
Source: https://github.com/wtyler2505/ProtoPulse/tree/main/.agents/skills/refactor
Command: npx skills add https://github.com/wtyler2505/ProtoPulse --skill refactor-wtyler2505

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects and resolves drift between live configuration (ops/config.yaml) and the derivation baseline (ops/derivation.md), enabling safe, audited vault refactors.

Core Features & Use Cases

  • Drift detection between config.yaml and derivation.md
  • Generate an actionable restructuring plan covering affected artifacts (skills, templates, context)
  • Execute approved changes with rollback, validation, and changelog updates
  • Triggered by /refactor or restructure vault commands; supports focused dimension changes

Quick Start

Invoke /refactor to begin drift assessment and review the proposed plan.

Frequently Asked Questions about refactor

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

FAQPage Schema
How do I detect configuration drift between my config.yaml and derivation baseline?

You can detect configuration drift by comparing ops/config.yaml against ops/derivation.md to identify mismatches, enabling safe and audited vault refactors before executing changes.

What is the best way to plan a safe vault restructuring when dimension shifts occur?

Planning a vault restructuring involves generating an actionable plan covering affected artifacts like skills, templates, and context, enforcing an approval gate before any changes are applied.

How do I execute reversible configuration changes across skills and templates?

Execute reversible changes by archiving state, regenerating skills, and updating context and derivation records, with built-in rollback and validation ensuring safe artifact modifications.

Can I trigger a vault refactor automatically when feature flags require coordinated updates?

Yes, invoking the /refactor command triggers drift assessment and proposes a restructuring plan for coordinated updates across skills, templates, context, and knowledge when feature flags shift.

What happens if a vault restructuring fails during execution?

If restructuring fails, the system performs safe, reversible changes by utilizing the rollback mechanism, validating updates and restoring archived state to maintain derivation baseline integrity.