agentsclimarketplace

Monorepo

Skill TheBeardedBearSAS/claude-craft/.claude/skills/monorepo

Monorepo management (Nx, Turborepo, pnpm workspaces) — task orchestration, caching, code sharing. Use when setting up monorepo, optimizing builds, or managing multi-package projects.From its SKILL.md

Install
npx -y skills add TheBeardedBearSAS/claude-craft --skill monorepo

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, as published. Nobody here has run it

Monorepo — Nx, Turborepo, pnpm Workspaces

Monorepo moderne avec caching distribué, task orchestration.

Tools

Nx — Graph-based, plugins, enterprise
Turborepo — Simple, fast, Vercel
pnpm workspaces — Léger, fast
Lerna — Legacy (migrer)

Turborepo

{ "pipeline": {
  "build": { "dependsOn": ["^build"], "outputs": ["dist/**"] },
  "test": { "cache": true }
}}
pnpm turbo build                 # Cache
pnpm turbo test --filter=...@main

Nx

nx affected --target=build
nx graph

Code Sharing

monorepo/
├── packages/ (ui, utils, config)
├── apps/ (web, api, mobile)
import { Button } from '@monorepo/ui';

Caching

Local — Dev | Remote — Team (Vercel, Nx Cloud) | Distributed — CI

npx turbo login && npx turbo link  # Turborepo
npx nx connect-to-nx-cloud         # Nx

pnpm Workspaces

packages: ['packages/*', 'apps/*']

Best Practices

Atomic commits | Versioning (changesets) | CI (affected) | Shared configs (root)


Voir @.claude/skills/tooling/SKILL.md

Keep looking

Skills are one crate of 619,758. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.