refactor-structure
Structure refactor workflow
- Inspect the current layout with
tree -h src(ortree -h <specified_dir>) and read the main entry points and largest nearby files. - Reorganize by responsibility to improve cohesion and reduce coupling: split oversized files, group related modules, and add directories only when they make ownership clearer.
- Update imports as you go and preserve existing behavior unless broader changes are explicitly requested.
- Run the lightest relevant verification, such as typecheck or lint, to catch broken imports or module wiring.
- Commit and push the changes, then run either the
open-prorupdate-prskill. - Summarize what moved and why the new structure is easier to maintain.
More from willbooster/agent-skills
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.
61complete-pr
Complete GitHub pull requests by iterating on CI and review feedback until the PR is ready.
54review-all
Run Codex, Claude Code, and Gemini CLI reviews against the current branch concurrently, deduplicate the findings, and report only the review comments that are still valid for the current codebase.
53review-fix-codex
Run Codex code review against the current branch, fix only the review comments that are still valid for the current codebase, and leave invalid comments unchanged.
52review-fix-claude
Run Claude Code review against the current branch, fix only the review comments that are still valid for the current codebase, and leave invalid comments unchanged.
51review-gemini
Run Gemini CLI review against the current branch and report only the review comments that are still valid for the current codebase, without applying fixes.
50