file-restructurer

Restructure project files with dry-run previews and rollback backups.

Updated Dec 19, 2025
One-click install
npx skills add https://github.com/u9401066/copilot-capability-manager --skill file-restructurer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-restructurer
Source: https://github.com/u9401066/copilot-capability-manager/tree/main/.claude/skills/file-restructurer
Command: npx skills add https://github.com/u9401066/copilot-capability-manager --skill file-restructurer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complex manual work of reorganizing project structures by automatically moving files, updating imports, and ensuring functionality remains intact.

Core Features & Use Cases

  • Smart Reorganization: Automatically restructures folders, splits modules, and updates all affected import statements while maintaining full backup and rollback capabilities.

Quick Start

Restructure the current project to follow DDD architecture principles.

Frequently Asked Questions about file-restructurer

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

FAQPage Schema
How do I restructure a messy codebase to improve file organization?

Restructure your project by automatically moving files into organized folders, splitting modules, and updating all import paths while maintaining backups. This approach reorganizes large repositories according to best practices like domain-driven design without manual refactoring of each file.

Can I reorganize my project structure without breaking imports?

Yes, file restructuring automatically updates all affected import statements across your codebase when moving files. The skill handles import-path updates as part of the reorganization, ensuring no broken references remain after restructuring.

How do I apply DDD architecture to an existing project?

Use automated project restructuring to reorganize your files and modules according to domain-driven design principles. The skill analyzes your current structure, generates a restructuring plan following DDD patterns, and executes the changes with full backup and rollback support.

What happens if a project restructuring goes wrong?

Project restructuring includes safe backup and rollback mechanisms. Before execution, you can preview changes with dry-run previews to verify the plan, and rollback to your original structure if needed after restructuring completes.

Can I preview changes before restructuring my entire project?

Yes, dry-run previews let you see all planned file movements, module splits, and import updates before execution. This allows you to verify the restructuring plan matches your goals before making permanent changes to your codebase.

How do I split large modules into smaller, maintainable pieces?

Module splitting is handled automatically during project restructuring, which moves related files into separate folders and updates imports accordingly. The skill reorganizes monolithic modules into focused, modularized components while preserving functionality.