project-structure
1
总安装量
1
周安装量
#55053
全站排名
安装命令
npx skills add https://github.com/kubrickcode/workflow-toolkit --skill project-structure
Agent 安装分布
claude-code
1
Skill 文档
Project Structure Guide
Monorepo
project-root/
âââ src/ # All services/apps
âââ infra/ # Shared infrastructure
âââ docs/ # Documentation
âââ .devcontainer/ # Dev Container configuration
âââ .github/ # Workflows, templates
âââ .vscode/ # VSCode settings
âââ .claude/ # Claude settings
âââ .gemini/ # Gemini settings
âââ package.json # Root package.json. For releases, version management
âââ go.work # Go workspace (when using Go)
âââ justfile # Just task runner
âââ .gitignore
âââ .prettierrc
âââ .prettierignore
âââ README.md
NestJS
project-root/
âââ src/
â âââ domains/
â âââ common/
â âââ config/
â âââ database/
â âââ app.module.ts
â âââ main.ts
âââ tests/
âââ package.json
âââ tsconfig.json
React
project-root/
âââ src/
â âââ pages/ # Page modules
â âââ domains/ # Domain-shared code
â âââ components/ # Common UI components
â âââ layouts/ # Layout-related
â âââ libs/ # Feature libraries (auth, api, theme)
â âââ shared/ # Pure utilities
â âââ app.tsx
â âââ main.tsx
âââ public/
âââ package.json
âââ vite.config.ts
âââ tsconfig.json
Next.js
project-root/
âââ app/
â âââ (routes)/ # Pages (route groups)
â âââ actions/ # Server Actions (internal mutations)
â âââ api/ # API Routes (external integrations only)
âââ components/ # Shared components
âââ lib/ # Utilities and clients
âââ public/ # Static assets
âââ middleware.ts # Edge/Node.js middleware
âââ next.config.js
âââ package.json
âââ tsconfig.json
Go
project-root/
âââ cmd/ # Execution entry points (main.go)
âââ internal/ # Private packages
âââ pkg/ # Public packages
âââ configs/ # Configuration files
âââ scripts/ # Utility scripts
âââ tests/ # Integration tests
âââ docs/ # Documentation
âââ go.mod
âââ go.sum
NPM
project-root/
âââ cli/ # CLI execution entry point
âââ internal/ # Private packages
âââ pkg/ # Public packages
âââ configs/ # Configuration files
âââ scripts/ # Utility scripts
âââ tests/ # Integration tests
âââ docs/ # Documentation
âââ dist/ # Build artifacts
âââ package.json
âââ tsconfig.json
âââ README.md
IDE Extension
project-root/
âââ extension/ # Extension entry point (activate/deactivate)
âââ internal/ # Private packages
âââ pkg/ # Public packages
âââ view/ # WebView (if applicable)
âââ configs/ # Configuration files
âââ scripts/ # Utility scripts
âââ tests/ # Integration tests
âââ public/ # Static resources (icons, etc.)
âââ dist/ # Build artifacts
âââ package.json
âââ tsconfig.json
âââ .vscodeignore
Chrome Extension
project-root/
âââ background/ # Service Worker (Background Script)
âââ content/ # Content Scripts
âââ popup/ # Popup (Extension UI)
âââ internal/ # Private packages
âââ pkg/ # Public packages
âââ configs/ # Configuration files
âââ scripts/ # Utility scripts
âââ tests/ # Integration tests
âââ public/ # Static resources
âââ dist/ # Build artifacts
âââ package.json
âââ tsconfig.json