module-based-refactor
CommunityTransform flat code to modular architecture.
Software Engineering#git#refactoring#code organization#module architecture#repository restructuring#import management
AuthorAcidicSoil
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of disorganized, flat code repositories by systematically restructuring them into a clean, scalable, and maintainable 5-layer module-based architecture.
Core Features & Use Cases
- Repository Reorganization: Migrates a flat project structure to a standardized module-based layout.
- Import Path Migration: Updates all import statements to reflect the new module structure.
- Git History Preservation: Ensures that all refactoring steps are performed using
git mvto maintain commit history. - Artifact Cleanup: Removes obsolete files, temporary data, and duplicate directories.
- Hidden Folder Consolidation: Merges scattered hidden configuration and data folders into a central location.
- Use Case: You have a Python project with all its modules and tests scattered at the root. This Skill will organize it into
src/package/modules/,tests/modules/, etc., ensuring all imports are correct and git history is preserved.
Quick Start
Use the module-based-refactor skill to reorganize the current repository into a 5-layer module structure.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: module-based-refactor Download link: https://github.com/AcidicSoil/DSPyTeach/archive/main.zip#module-based-refactor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.