refactor

Automate knowledge vault restructuring from configuration changes with approval.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/GiorgioRicciardiello/LabBrain --skill refactor-giorgioricciardiello
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor
Source: https://github.com/GiorgioRicciardiello/LabBrain/tree/main/core/.claude/skills/refactor
Command: npx skills add https://github.com/GiorgioRicciardiello/LabBrain --skill refactor-giorgioricciardiello

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The refactor Skill automates the restructuring of a knowledge vault based on configuration changes, ensuring consistency between the configuration and the vault's artifacts.

Core Features & Use Cases

  • Configuration Change Detection: Identifies changes between the current configuration and the original derivation record.
  • Restructuring Plan Generation: Provides a detailed plan for restructuring affected artifacts.
  • Content Impact Assessment: Evaluates the impact on existing content and outlines necessary actions.
  • Execution and Validation: Executes the restructuring plan upon approval and validates the results.

Quick Start

Run the /refactor command to initiate the restructuring process.

Frequently Asked Questions about refactor

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

FAQPage Schema
How do I automate knowledge vault restructuring after changing configuration dimensions?

To automate knowledge vault restructuring, the Skill parses configuration files to identify dimension shifts against the original derivation record, generates a detailed restructuring plan, and executes file modifications upon user approval.

What is configuration change detection for a knowledge vault?

Configuration change detection for a knowledge vault compares current configuration settings against the original derivation record to identify dimension shifts, evaluate content impact, and outline necessary restructuring actions.

Do I need access to derivation files to restructure my knowledge vault?

Yes, you need access to derivation files to restructure your knowledge vault. The process requires parsing both current configuration and original derivation files to detect dimension shifts and generate an accurate restructuring plan.

How does a restructuring plan handle existing content impact assessment?

A restructuring plan handles content impact assessment by evaluating how configuration changes affect existing artifacts in the knowledge vault, outlining necessary modifications, and validating results after execution to maintain consistency.

Can I review the restructuring plan before it modifies files in my knowledge vault?

Yes, you can review the restructuring plan before it modifies files. The process generates a detailed plan identifying affected artifacts and evaluates content impact, then requires your explicit approval before executing any changes to the knowledge vault.

What's the best way to update knowledge vault artifacts after a configuration change?

The best way to update knowledge vault artifacts after a configuration change is to automate restructuring by identifying dimension shifts, generating a detailed plan, and executing modifications upon approval to ensure vault consistency.