code-reorganizer

Analyze codebases and generate a reorganization plan with a proposed folder structure.

1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/danzam98/claude-skills-toolkit --skill code-reorganizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-reorganizer
Source: https://github.com/danzam98/claude-skills-toolkit/tree/main/skills/code-reorganizer
Command: npx skills add https://github.com/danzam98/claude-skills-toolkit --skill code-reorganizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers tidy scattered code files by proposing a logical, intuitive folder structure and a concrete plan to reorganize, improving maintainability and onboarding.

Core Features & Use Cases

  • Analyze a codebase to identify tangles, redundancies, and disorganized folders.
  • Generate a concrete reorganization plan that outlines new folder layout, file grouping, and naming conventions.
  • Produce a remediation plan document (PROPOSED_CODE_FILE_REORGANIZATION_PLAN.md) and guidance for updating affected code references.

Quick Start

Describe the target project, its current structure, and any constraints to generate a comprehensive reorganization plan.

Frequently Asked Questions about code-reorganizer

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

FAQPage Schema
How do I reorganize scattered code files into a logical folder structure?

To reorganize code files, this skill analyzes your current project structure to identify tangles and redundancies, then generates a concrete reorganization plan outlining a new folder layout, file grouping, and naming conventions.

What is the best way to plan a refactor for a large codebase with multiple modules?

Planning a refactor for large codebases involves analyzing evolving dependencies and scattered files to produce a remediation document, ensuring an end-to-end workflow that proposes a maintainable structure and documents required changes to calling code.

How do I generate a project organization plan to improve code maintainability?

You generate a project organization plan by describing your target project, current structure, and constraints, which yields a comprehensive reorganization plan and a markdown document detailing required file movements.

Can I use this to update affected code references after reorganizing folders?

Yes, the reorganization process includes guidance for updating affected code references, ensuring that the proposed file grouping and folder layout changes document all required modifications to calling code.

Does this code structure analysis work for projects with evolving dependencies?

Yes, the code structure analysis is designed for large codebases with multiple modules and evolving dependencies, identifying redundancies and proposing an intuitive folder structure to improve onboarding and maintainability.