Skip to content
Back to skills

Monorepo Management Skill

ASecurity

Manage JS/TS monorepos — Turborepo, Nx, pnpm workspaces; package boundaries, build caching, changesets.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
devopstypescriptgoreactnextjsdevopsperformancedocumentation

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add darellchua2/opencode-config-template --skill monorepo-management-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Monorepo Management Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Monorepo Management Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/darellchua2-monorepo-management-skill/badge)](https://www.skillsdirectory.com/skills/darellchua2-monorepo-management-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: monorepo-management-skill
description: >-
  Manage JS/TS monorepos — Turborepo, Nx, pnpm workspaces; package boundaries,
  build caching, changesets.
license: Apache-2.0
compatibility: opencode
category: DevOps
---

## What I do

Structure JS/TS monorepos: tool selection (Turborepo vs Nx vs pnpm-only), workspace layout, shared config packages, enforced package boundaries, build caching, changesets.

## When to use me

- Setting up or restructuring a monorepo (apps/ + packages/ split, shared configs)
- Cross-package breakage risk, cache misses, or boundary drift (apps importing package internals)

**Related:** `performance-optimization-skill` (profiling/bundles) · `civiltekk-documentation-sync-skill` (doc sync across packages).

## House conventions

**Layout**: `apps/*` (deployables) + `packages/*` (shared: `ui`, `utils`, `typescript-config`, `eslint-config`). Internal deps use `"@repo/x": "workspace:*"`.

**Shared TS config**: `packages/typescript-config/{base,nextjs,react-library}.json`; app tsconfigs extend `@repo/typescript-config/nextjs.json` via `"extends"`. Same pattern for ESLint (`@repo/eslint-config`).

**Enforced boundaries** (`eslint-plugin-boundaries`, `boundaries/element-types`): apps must import package ENTRY POINTS, never `packages/*/src/**` internals; `packages/ui` must not depend on `apps/*`. Message strings say why — the rule is teaching, not just blocking.

**OpenCode LSP (root config)**: a root `opencode.json` with `"lsp": {"typescript": {}, "eslint": {}}` gives ambient cross-package diagnostics (a `packages/ui` change breaking `apps/web` surfaces live). Servers trigger per-file by extension; one root config covers the whole workspace — no per-package config. Token cost is real in large repos: monitor, scope servers, or set `"lsp": false` to disable. Refs: opencode.ai/docs/lsp, /docs/config.

**Caching**: Turborepo local cache by default; remote cache (Vercel) for CI speedup; pipeline defined in `turbo.json` (`build` depends on `^build`). pnpm-workspace.yaml defines package globs; root package.json drives scripts.

> Removed 2026-09: step-by-step tool-selection essays, full turbo.json/pnpm-workspace/package.json listings, ESLint flat-config walkthroughs, task-pipeline deep-dives, changesets tutorial, common-issue troubleshooting — vendor docs the model knows; what remains is the house layout, boundary rules, and the root-LSP integration pattern.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…