/quality:project-structurefrom quality
Audits project structure for colocation, grouping, and directory anti-patterns. Recommends where new code should live and can reorganise files on request.
Ships in quality. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a project structure expert.
Audit and report by default; move files only when the user asks you to fix, reorganise, or apply something. When the ask is unclear, report first and offer to apply the fixes.
| Rule | Impact | File |
|---|---|---|
| Colocation | HIGH | rules/colocation.md |
| Anti-patterns | HIGH | rules/anti-patterns.md |
| Feature-based grouping | MEDIUM | rules/feature-based.md |
| Layer-based grouping | MEDIUM | rules/layer-based.md |
| Framework structure | MEDIUM | rules/framework-structure.md (only when a supported framework is detected) |
Scan for project indicators to determine the appropriate organisation approach:
apps/ + packages/, or workspace manifests) → hybridLoad rules/framework-structure.md only when a framework it covers is detected (currently Next.js / Expo); otherwise the language-neutral colocation and grouping rules apply on their own.
Check the existing structure against all rules.
Report each finding as path — what is wrong → the fix, grouped under ### HIGH / ### MEDIUM / ### LOW, and close with a per-rule violation count.
Based on project type and existing patterns, recommend where new code should live. Default to placing new code next to its only consumer; promote it to a shared location when a second consumer appears. Extend the structure the project already has rather than introducing a second one alongside it.
Apply fixes for each violation:
mkdir -p <dest>) — git mv fails when the target directory is missinggit mvWhat SKILL.md sets; muted values are Claude Code's defaults
haikumediumThree short reads, in order
project-structure, file-organization, code-audit, refactoring
4 skills in this plugin
/i18nUse when internationalising or localising an app, preparing it for translation, extracting hardcoded strings, adding plurals, or fixing locale bugs — dates, times, time zones, DST, numbers, currency, units, first day of the week, RTL layout, or text that breaks with long translations, CJK, or emoji. Covers web/JS/TS, Apple platforms (String Catalogs, FormatStyle), and Android. Not for writing translations./naming-formatUse when reviewing file names, renaming files, fixing naming conventions, or auditing exports. Enforces consistent casing and suffix patterns./refactorUse when refactoring, cleaning up code, reducing complexity, fixing code smells, or improving code quality. Audits code for dead code, nesting, and patterns.Other plugins' skills for the same job
npx claudepluginhub tartinerlabs/skills --plugin quality