Loading...
Loading...
Audit a non-technical repo's folder structure for agent-navigability and propose a refactor plan. TRIGGER when user says "review structure", "audit folders", "audit my repo", "check organization", "is my repo agent-friendly", "clean up structure", or runs "/review-structure".
npx skill4agent add d-gangz/dgang-skills review-structureReadCLAUDE.mdREADME.mdGlob**/CLAUDE.mdclients/*/profile.mdGrep--globBash: ls / findfind . -type d -maxdepth 2CLAUDE.mdCLAUDE.mdCLAUDE.mdReadEditGlobGreplsCLAUDE.mdCLAUDE.mddata/sales/pipeline.csvacme-corp/Acme Corp/AcmeCorp/sales/clients/operations/templates/data/scripts/profile.mdcontacts.mdupdates.mdGlob clients/*/profile.mdReadstuff/items/things/2024/q1/agent-docs/glossary.mdagent-docs/architecture.mdconventions.mdCLAUDE.md"When the user uses a term you don't understand, checkfirst. If the term isn't there, ask the user to clarify, then add the definition there."agent-docs/glossary.md
CLAUDE.mdCLAUDE.mdagent-docs/claude-mdCLAUDE.mdCLAUDE.mdmarketing/research/draft-CLAUDE.mdREADME.mdCLAUDE.md.gitignore.envpackage.jsonpyproject.tomlLICENSE.claude/agent-docs/.github/my-business/
├── CLAUDE.md
├── templates/
│ ├── proposal-template.md
│ ├── invoice-template.md
│ └── campaign-brief.md
├── data/
│ ├── client-list.csv
│ └── pipeline.csv
├── docs/
│ ├── sales-process.md
│ ├── brand-guidelines.md
│ └── pricing.md
└── scripts/
├── generate-invoice.py
└── send-proposal.pytemplates/docs/data/scripts/CLAUDE.mdmy-business/
├── CLAUDE.md ← what this repo is, how domains connect; rule: ask + add to agent-docs/glossary.md
├── agent-docs/
│ └── glossary.md ← user-specific vocab, grows over time, read lazily
├── sales/
│ ├── CLAUDE.md ← pricing rules, pipeline stages (domain rules Claude can't infer)
│ ├── templates/
│ ├── pipeline.csv
│ └── scripts/
├── clients/ ← no CLAUDE.md: every client folder mirrors the same shape, Glob discovers it
│ ├── acme-corp/
│ │ ├── CLAUDE.md ← per-client engagement context, contacts (varies per instance)
│ │ ├── profile.md
│ │ ├── contacts.md
│ │ └── updates.md
│ └── beta-inc/
│ ├── CLAUDE.md
│ ├── profile.md
│ ├── contacts.md
│ └── updates.md
├── operations/ ← no CLAUDE.md: `sops/` and `templates/` are self-explanatory
│ ├── sops/
│ └── templates/
└── marketing/
├── CLAUDE.md ← brand voice (behavioral rule that applies to every file written here)
├── brand-voice.md
└── templates/CLAUDE.mdsales/CLAUDE.mdclients/acme-corp/CLAUDE.mdoperations/marketing/CLAUDE.mdls
find . -type d -maxdepth 3 -not -path '*/.*' -not -path '*/node_modules/*'Glob **/CLAUDE.mdReadCLAUDE.mdAskUserQuestionprofile.mdCLAUDE.mdCLAUDE.mdagent-docs/glossary.mdCLAUDE.mdCLAUDE.mdagent-docs/glossary.mdCLAUDE.md.gitignorepackage.json## Structure Audit
### What's working
- [Concrete patterns to keep]
### Issues
**Critical** (blocks navigation):
- [Issue] — at `path/` — [what to do]
**Warning** (slows navigation):
- [Issue] — at `path/` — [what to do]
**Suggestion** (polish):
- [Issue] — at `path/` — [what to do]
### Proposed structure
Before:
[ASCII tree of current shape]
After:
[ASCII tree of proposed shape]
### Changes I'll make
1. Rename `clients/Acme Corp` → `clients/acme-corp` (lowercase, no spaces — so my Glob/Grep tools can find it)
2. Move `templates/proposal-template.md` into `sales/templates/` (group by domain, not file type)
3. Remove `operations/CLAUDE.md` — its content just restates what the folder names already say
Confirm to execute? (yes / skip specific numbers / edit)## Structure Audit
Your repo is agent-navigable.
- Domains are clear: [list inferred domains]
- Names are self-describing and lowercase kebab-case
- Sibling folders mirror each other's shape
- CLAUDE.md placement matches where implicit context exists
- `agent-docs/glossary.md` exists and `CLAUDE.md` includes the ask-and-add rule
- Nesting stays within 3 levels
No changes needed.