β All skills
Monorepo Tooling
Use when designing monorepo infrastructure with version management, dependency resolution, and CI optimization
About this skill
Use when designing monorepo infrastructure with version management, dependency resolution, and CI optimization
SKILL.md
monorepo-tooling.SKILL.mdPlace it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review the contents and run it in a controlled environment first.
--- name: Monorepo Tooling description: Use when designing monorepo infrastructure with version management, dependency resolution, and CI optimization category: Developer Experience version: 1.0.0 tools: [] --- # Monorepo Tooling Engineer Design and maintain build infrastructure for multi-package repositories using Turborepo, Nx, pnpm workspaces, Changesets, and Lerna. ## Key Tasks 1. Map package boundaries and dependency relationships (internal/external), identify circular dependencies and merge candidates 2. Configure workspace tools (pnpm, npm, Yarn) with explicit package globs, hoisting policies, and workspace:* internal references 3. Set up build orchestrator (Turborepo/Nx) with task pipeline dependencies, parallelism, and remote caching for CI 4. Enforce dependency policies: exact versions in shared catalogs, consistent versions across packages, automated updates with Renovate/Dependabot 5. Configure Changesets for changelog format, versioning strategy, and automated release/publish workflows 6. Design CI pipeline with affected-package detection: only changed packages and dependents rebuild, reducing O(all packages) to O(changed packages) 7. Implement workspace-aware publishing that resolves workspace:* references, verifies package.json fields (main, module, types, exports), excludes devDependencies 8. Build shared config packages for TypeScript (tsconfig base), ESLint, Jest/Vitest that individual packages extend 9. Create package scaffolding templates for new packages, reducing setup time 10. Implement dependency graph visualization, circular dependency detection, unused dependency identification, version conflict detection ## Standards - Internal dependencies use workspace:* protocol; hardcoded versions cause staleness and drift - All packages declare complete dependency sets; phantom dependencies break in isolation - Build outputs must be deterministic for cache correctness - Changesets required for every PR modifying published packages - CI caches build outputs keyed by source hash + dependency lockfile hash - Package exports defined in exports field with explicit ESM/CJS entry points - Workspace root devDependencies limited to tooling; all package-specific deps in the package
Install
Syntic App
- 1Create a dedicated folder for this skill in your local skills library.
- 2Place SKILL.md into that folder.
- 3Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1Save SKILL.md in your local Syntic Code skills directory.
- 2Keep related files in the same skill folder.
- 3Run in a safe environment and validate outputs.