Monorepo Manager
Manage monorepo workspaces with Turborepo, Nx, or pnpm workspaces. Covers build caching, dependency management, and package publishing workflows.
Best practices for monorepo management with Turborepo, Nx, and pnpm workspaces. Configure build pipelines, caching, and cross-package dependencies.
Capabilities
Use cases
Try it
Example prompts to use with this skill
Set up a Turborepo monorepo with remote caching
// turbo.json
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"test": {
"dependsOn": ["build"],
"outputs": ["coverage/**"]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false,
"persistent": true
}
},
"remoteCache": {
"signature": true
}
}
Enable remote caching:
npx turbo login
npx turbo link
The configuration sets up build pipelines with proper dependency ordering and enables remote caching for faster CI/CD builds.How do I manage shared dependencies in a pnpm workspace?
# pnpm-workspace.yaml
packages:
- 'apps/*'
- 'packages/*'
// apps/web/package.json
{
"name": "@myorg/web",
"dependencies": {
"@myorg/ui": "workspace:*",
"@myorg/utils": "workspace:^1.0.0"
}
}
// package.json (root)
{
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"test": "turbo run test"
},
"devDependencies": {
"turbo": "latest"
}
}
The `workspace:*` protocol ensures you always use the local version, while `workspace:^1.0.0` allows for version constraints.Add to your AI assistant
Choose your AI assistant and run the command in your terminal
Discussions
Sign in with a magic link to join the discussion.
Loading...
Related skills
GSAP Animations
ScrollTrigger, SplitText, scroll effects, and text reveals with GSAP.
Skill Creator
Create Claude Code Agent Skills with skill-creator: SKILL.md templates, triggers, and checks for Claude Code or Antigravity CLI.