About
This skill restructures any codebase into a modular, domain-oriented architecture, organizing code under `src/<pkg>/modules/` and related documents in parallel. It orchestrates subagents like Explore and Plan to analyze, plan, and execute the refactoring autonomously. Use it when you need to systematically reorganize a repository by business discipline for improved maintainability.
Quick Install
Claude Code
Recommendednpx skills add vamseeachanta/workspace-hub -a claude-code/plugin add https://github.com/vamseeachanta/workspace-hubgit clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/discipline-refactorCopy and paste this command in Claude Code to install this skill
GitHub Repository
Frequently asked questions
What is the discipline-refactor skill?
discipline-refactor is a Claude Skill by vamseeachanta. Skills package instructions and resources that Claude loads on demand, so Claude can perform discipline-refactor-related tasks without extra prompting.
How do I install discipline-refactor?
Use the install commands on this page: add discipline-refactor to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does discipline-refactor belong to?
discipline-refactor is in the _internal category.
Is discipline-refactor free to use?
Yes. discipline-refactor is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
The brainstorming skill transforms initial ideas into detailed specifications through iterative questioning and collaborative dialogue. It helps developers explore design options, evaluate trade-offs, and create shared understanding before implementation. This prevents rework by systematically refining concepts into actionable plans.
This mandatory workflow scans code for legal risks like client names or proprietary references before cross-review. It blocks the review cycle if violations are found, requiring fixes first. Use it as a pre-gate for PR creation, code porting, or any cross-review trigger.
This skill handles repository structure documentation updates after cleanup operations. It automatically updates directory trees, removes references to deleted folders, and documents architectural changes like `.claude/` folders and consolidated scripts. Use it to maintain accurate structure sections in README files following repository reorganization.
This skill identifies legacy directories and files that should be removed or consolidated during repository cleanup. It provides a specific checklist for developers, including paths like `.agent-os/` and `.drcode/` that are obsolete or have been moved to new locations. Use this reference when cleaning up a Claude Code project to ensure proper migration and deletion of outdated assets.
