一键导入
folder-org
Project code structure and file organization. Use when creating files, organizing components, or deciding where code should live. (project)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Project code structure and file organization. Use when creating files, organizing components, or deciding where code should live. (project)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Smart git commit with short, concise messages
Create and checkout a new git branch with smart validation and GitHub issue integration
Create a GitHub issue with title and description (auto-assigned)
Push branch and create GitHub pull request (auto-assigned)
Run security audit with GitLeaks pre-commit hook setup and code analysis
Update and maintain CLAUDE.md and README.md documentation
| name | folder-org |
| description | Project code structure and file organization. Use when creating files, organizing components, or deciding where code should live. (project) |
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-exports