From mk
Organizes files and enforces naming conventions for project layouts. Works in advisory mode (returns correct paths) or organize mode (scans, proposes, and restructures directories).
How this skill is triggered — by the user, by Claude, or both
Slash command
/mk:project-organization [directories or files to organize]When to use
Use when organizing plan/report outputs into the correct project directories.
[directories or files to organize]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Standardize file locations, naming conventions, and directory structure for projects.
Standardize file locations, naming conventions, and directory structure for projects.
Explicit: /mk:project-organization [targets]
Operates in Phase 6 (Reflect) or advisory mode (called by any skill). Output supports the documenter agent.
| Mode | Trigger | Behavior |
|---|---|---|
| Advisory | Other skills reference this skill | Return correct path + naming for file type |
| Organize | User invokes directly | Scan → propose → confirm → execute |
references/directory-rules.md, check naming conventions{path}/{name}.{ext}## Project Organization: {scope}
**Mode:** {advisory | organize}
**Files scanned:** {N}
**Issues found:** {N}
### Changes
| From | To | Reason |
|------|------|--------|
| {old path} | {new path} | {rule violated} |
### Final Structure
{tree view of organized directories}
| Reference | When to load | Content |
|---|---|---|
| directory-rules.md | Steps 2-4 — categorizing + naming | Directory categories, naming patterns, nesting logic |
| Failure | Recovery |
|---|---|
| File conflict (target exists) | Ask user: overwrite, rename, or skip |
| Protected path (.git, .env, node_modules) | Skip silently — never touch |
| No files found in target | Report "No files found in {path}" |
.git/, node_modules/, .env files.gitignore patternsmk: prefix conventions for .claude/skills/ directoriesname in package.json and the directory name can diverge silently — a workspace package at packages/auth-service/ with "name": "@company/auth" is referenced by consumers as @company/auth, but path aliases, Docker build contexts, and some bundlers resolve by directory name; mismatch causes "cannot find module" errors that only appear after a fresh install in CI.tsconfig.json path aliases are NOT honored by test runners without separate config — paths: { "@/*": ["src/*"] } in tsconfig.json resolves in tsc and Vite but Vitest and Jest use their own module resolvers; tests using @/ aliases silently fall through to node_modules lookup and fail with "Cannot find module '@/utils'" unless moduleNameMapper (Jest) or alias (Vitest) is configured separately.undefined at runtime — src/utils/index.ts re-exporting from src/components/ which imports from src/utils/ creates a circular dependency that bundlers resolve non-deterministically; the symptom is a component that is undefined when imported via the alias but defined when imported by relative path.src/) vs relative imports (../../) inconsistency prevents reliable refactoring — mixing both styles means automated refactoring tools (VS Code "move file", ts-morph) update only the form they recognize; half the import sites break silently on any file move; enforce one style via ESLint import/no-relative-parent-imports or import/no-absolute-path..gitignore patterns not applying to already-tracked files causes dist/ to appear in PRs — if dist/ was committed before being added to .gitignore, git continues tracking it; git rm -r --cached dist/ is required to untrack it, and omitting this step means every build output change appears as a diff in PRs.npx claudepluginhub ngocsangyem/meowkit --plugin mkOrganizes repository structure by detecting conventions, auditing file placement, and executing move plans with import-path updates.
Enforces file organization standards from CLAUDE.md/PROJECT.md with auto-fix on file create/move and directory create events.
Organizes project directories by mapping folders to work breakdowns or disposition rules, grouping files that change together. Use for repo layout, deciding file placement, or cleaning up messy folders.