skills/folder-org/SKILL.md
Project code structure and file organization. Use when creating files, organizing components, or deciding where code should live. (project)
npx skillsauth add ruchernchong/claude-kit folder-orgInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Place code as close to where it's relevant as possible. Things that change together should be located together.
Group by domain - all related code in one place:
src/features/
├── auth/
│ ├── components/
│ ├── hooks/
│ ├── auth.service.ts
│ └── auth.test.ts
├── users/
└── products/
Group by technical layer:
src/
├── controllers/
├── services/
├── models/
├── routes/
└── middleware/
apps/ # Applications
├── web/
├── api/
packages/ # Shared libraries (by domain, not language)
├── types/
├── utils/
└── ui/
| Type | Location |
|------|----------|
| Shared types | types/ or packages/types/ |
| Utilities | lib/ or utils/ (split by domain) |
| Config | config/ or root |
| Unit tests | Colocate: foo.test.ts next to foo.ts |
| E2E tests | e2e/ or tests/e2e/ |
| Mocks/fixtures | __mocks__/ or test/mocks/ |
| Type | Convention |
|------|------------|
| Files | kebab-case.ts |
| Unit tests | *.test.ts |
| E2E tests | *.e2e.ts |
| Schemas | *.schema.ts |
utils.ts, helpers.ts - split by domain__tests__/ - colocate insteadindex.ts with 50+ re-exportstools
Update a GitHub issue with new title, body, labels, or assignees
development
Audit and fix Tailwind CSS anti-patterns. Enforces spacing direction (bottom-only), size-* usage, gap preference, 8px grid, and other best practices.
documentation
Update and maintain CLAUDE.md and README.md documentation
development
Run security audit with GitLeaks pre-commit hook setup and code analysis