scaffold-monorepo
Scaffold a monorepo with multiple packages or services
Files1
View on GitHubSKILL.md.claude/skills/scaffold-monorepo/SKILL.md
GitHubMonorepo Scaffold
Create a monorepo structure with multiple packages/services.
Input
- Project name:
$0 - Package names:
$1,$2, etc. (or read from architecture doc)
Process
- Create root project structure:
- Root README.md, CLAUDE.md, .gitignore
- Workspace configuration (npm workspaces, Python namespace packages, or similar)
- Shared CI configuration
- Root Makefile with targets for each package
- For each package/service:
- Create package directory with its own manifest
- Stub implementation with proper interfaces
- Package-level tests
- Package-level README
- Set up inter-package references where needed
- Create shared utilities package if common patterns exist
- Docker compose with all services
- Git init + initial commit
Rules
- Each package must be independently testable
- Shared dependencies managed at root level
- Clear boundaries between packages
- CI runs all packages