One-click install
npx skills add https://github.com/LopeWale/amplLABS --skill refactor-lopewale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor
Source: https://github.com/LopeWale/amplLABS/tree/main/.claude/skill-sources/refactor
Command: npx skills add https://github.com/LopeWale/amplLABS --skill refactor-lopewale

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams safely plan and execute vault restructuring by detecting configuration drift between live config and derivation records.

Core Features & Use Cases

  • Detect drift between ops/config.yaml and ops/derivation.md
  • Plan restructuring for every changed dimension and cascade changes to related artifacts
  • Regenerate affected skills, update the context, templates, and derivation records
  • Validate changes with kernel checks and generate auditable documentation

Quick Start

Review the proposed plan and approve to execute the refactor.

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 live config and derivation records?

Vault restructuring compares live configuration with the derivation baseline to detect drift. This process reveals discrepancies across dimension categories like granularity, organization, linking, processing, navigation, maintenance, schema, and automation to propose a safe, auditable restructuring plan.

What is the best way to safely plan a full-scale vault refactor?

Planning a vault refactor safely requires cascading impact analysis and an approval gate. This ensures consistency across skills, templates, context files, and derivation records by validating changes with kernel checks before any restructuring plan is executed.

Can I plan restructuring for a specific dimension category like schema or navigation?

Yes, vault restructuring supports per-dimension focus for granular changes. You can target specific dimension categories such as schema, navigation, granularity, organization, linking, processing, maintenance, or automation independently without requiring a full-scale refactor.

How do I regenerate affected artifacts after a configuration drift?

To regenerate affected artifacts after configuration drift, you execute an approved restructuring plan. This cascades changes to update context, templates, and derivation records while regenerating affected skills to ensure comprehensive consistency across the vault's artifacts.

Does vault restructuring require validation steps before executing changes?

Vault restructuring requires validation steps with kernel checks before executing changes. The planning process incorporates an approval gate and cascading impact analysis to verify consistency across skills, templates, context files, and derivation records, generating auditable documentation.