Monorepo Manager
Manage monorepo workspaces with Turborepo, Nx, or pnpm workspaces. Covers build caching, dependency management, and package publishing workflows.
Apply best practices for monorepo management with Turborepo, Nx, and pnpm workspaces. Configure build pipelines, optimize caching strategies, manage cross-package dependencies, and streamline your development workflow.
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
curl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/monorepo-manager.md -o ~/.gemini/skills/monorepo-manager.mdCopycurl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/monorepo-manager.md -o ~/.claude/skills/monorepo-manager.mdCopycurl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/monorepo-manager.md -o ~/.cursor/skills/monorepo-manager.mdCopycurl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/monorepo-manager.md -o ~/.windsurf/skills/monorepo-manager.mdCopycurl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/monorepo-manager.md -o ~/.copilot/skills/monorepo-manager.mdCopyDiscussions
Sign in with GitHub to join the discussion.
Loading...
Related skills
GSAP Animations
Create production-ready GSAP animations with ScrollTrigger, SplitText, and other plugins. Build scroll effects, text animations, hero entrances, and micro-interactions.
MCP Builder
Build MCP (Model Context Protocol) servers that let LLMs interact with external services.