code-organizer
$
npx mdskill add hrconsultnj/claude-plugins/code-organizerRestructures messy projects into conventional layouts by detecting frameworks, analyzing files, and updating imports.
- Helps developers organize disorganized codebases into clean, framework-specific directory structures.
- Depends on a fetch command for loading encrypted step files with caching and authentication.
- Decides actions by analyzing file types and mapping them to appropriate directories based on detected conventions.
- Presents results through a multi-step process including planning, execution, and verification phases.
SKILL.md
.github/skills/code-organizerView on GitHub ↗
---
name: code-organizer
description: Restructure a messy project into conventional file layout based on detected framework. Analyzes, plans, executes with import updates, and verifies.
argument-hint: "[--dry-run] [--aggressive] [--naming kebab|camel|pascal] [--preserve path,path] [--no-graph]"
---
Restructure a disorganized project into a clean, conventional file layout. Detects what each file is (component, hook, type, service, utility), maps it to the right directory for the detected framework, and executes the moves with import path updates.
## Content Loading
Load each step through the fetch command (handles caching, decryption, and auth):
```bash
"~/.composure/bin/composure-fetch.mjs" skill composure code-organizer {step-filename}
```
**Do NOT read cache files directly** — they are encrypted at rest. Always use the fetch command above.
## Steps
| # | File |
|---|------|
| 1 | `00-gate.md` |
| 2 | `01-load-conventions.md` |
| 3 | `02-analyze.md` |
| 4 | `03-plan.md` |
| 5 | `04-execute.md` |
| 6 | `05-verify.md` |
More from hrconsultnj/claude-plugins
- app-architectureComplete architecture guide for building features from database to UI. Routes to frontend/, fullstack/, mobile/, backend/, or sdks/ based on detected stack. Covers decomposition, multi-tenant isolation, auth model, query patterns, and component patterns.
- audit-depsFocused dependency CVE audit — reports vulnerabilities with version info and safe upgrade commands.
- backlogManage the tasks-plans/ workspace — add items to backlog, ideas, or reference. Process queued work. Organize by topic, not flat dumps.
- build-graphBuild or update the code review knowledge graph, generate the visualization, and open it. Run this first to initialize, or let hooks keep it updated automatically.
- calibrateCalibrate test bench — detect test framework, read existing test conventions, generate .claude/testbench.json config. Query Context7 for test framework reference docs. Run once per project.
- ci-generateGenerate CI/CD workflow from detected stack. GitHub Actions, GitLab CI, or Bitbucket Pipelines. Includes lint, typecheck, test, build, and deploy stages.
- ci-validateValidate CI/CD workflow files. Runs actionlint for GitHub Actions, checks for common mistakes, and reports issues with fix suggestions.
- deps-checkCheck dependency health -- known CVEs, outdated packages, unsafe versions. Recommends the highest safe version, not just "latest". Blocks Critical CVEs via Composure commit gate.
- design-forgeThis skill should be used when the user asks to "add premium animations", "create a canvas visualization", "build a glassmorphism panel", "add a custom cursor", "create a generative background", "build an interactive card", "add scroll progress", "add sound design", "create a Three.js hero", "build a creative portfolio", "add particle effects", "add scanlines", "add a typewriter effect", "design a landing page", "implement advanced animations", "add 3D elements", "design using Next.js Conf patterns", "create interactive experience", "add Framer Motion animations", "add GSAP scroll animations", "integrate Spline 3D", or needs guidance on premium web design patterns, creative coding, generative art, micro-interactions, accessibility for animations, or bespoke interactive experiences beyond standard UI components.
- dockerfileGenerate or validate Dockerfiles with security best practices. Multi-stage builds, non-root user, layer caching, .dockerignore.