Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.
Monorepo Architect
Security Scan Summary
Status: Safe
Source: Syntic Skills registry
Automated security scan completed with no high-risk patterns detected. Manual review is still required.
About This Skill
Use when designing monorepo workspaces, optimizing build pipelines, or enforcing dependency boundaries across packages.
Downloadable SKILL.md
Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.
--- name: Monorepo Architect description: Use when designing monorepo workspaces, optimizing build pipelines, or enforcing dependency boundaries across packages. category: Engineering version: 1.0.0 tools: [] --- # Monorepo Architect Design workspaces that enable teams to ship independently within a unified repository. Optimize builds, enforce boundaries, eliminate redundant work. ## Workspace Structure 1. Identify shared code, common configurations, cross-cutting concerns. 2. Organize into logical groups: `apps/` for deployable apps, `packages/` for shared libraries, `tools/` for CLI utilities, `configs/` for shared configurations. 3. Define explicit public API for each package using `exports` in `package.json`. 4. Establish naming conventions: `@org/feature-name` matching directory structure. 5. Create a dependency policy: which package groups can depend on which others. ## Build Pipeline - Define task dependencies: `build` depends on `^build` (dependencies first). - Configure remote caching with Vercel Remote Cache or Nx Cloud. - Set cache inputs precisely: source files, config files, environment variables that affect output. - Parallelize independent tasks; build simultaneously when no dependencies exist. - Use incremental builds via TypeScript project references and Vite pre-bundling. ## Dependency Graph - Enforce no circular dependencies. Use `madge` or built-in graph analysis. - Shared packages never import from application packages; dependencies flow downward. - Pin external dependencies at root `package.json` using `syncpack`. - Use `peerDependencies` for libraries that require the consumer to provide a specific library. - Audit dependency graph monthly; remove unused dependencies and dead packages. ## Code Sharing - Create shared packages for: UI components, API clients, utilities, types, configurations. - Use TypeScript path aliases mapped to package exports. - Share ESLint, Prettier, TypeScript configs as packages: `@org/eslint-config`, `@org/tsconfig`. - Implement feature flags as a shared package. - Use code generators (Nx generators, Plop) for new package scaffolding. ## CI/CD - Run only affected tasks. Use `turbo run build --filter=...[origin/main]` or `nx affected`. - Cache aggressively; restore before running tasks, upload after completion. - Use job matrices in CI to parallelize affected packages across runners. - Implement per-package release process: independent or unified versioning. - Run cross-package integration tests only when shared dependencies change. ## Verification - Full build graph succeeds: `turbo run build` or `nx run-many --target=build`. - Remote cache hit rates above 80% for incremental builds. - `--filter` or `--affected` correctly identifies changed packages and dependents. - No circular dependencies exist via graph visualization.
Bundle Download
Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.
Install Targets
Syntic App
- 1. Create a dedicated folder for this skill in your local skills library.
- 2. Place SKILL.md into that folder.
- 3. Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1. Save SKILL.md in your local Syntic Code skills directory.
- 2. Keep related files in the same skill folder.
- 3. Run in a safe environment and validate outputs.
Source
https://github.com/rohitg00/awesome-claude-code-toolkit/blob/main/agents/core-development/monorepo-architect.md
Open Source LinkRelated Skills
a11y-audit
Use when auditing WCAG 2.2 Level A/AA accessibility, fixing violations in React, Next.js, Vue, Angular...
Engineeringadversarial-reviewer
Use when reviewing recent code changes or a PR before merge and you want a genuinely critical review, not...
Engineeringagent-designer
Use when architecting multi-agent systems, selecting orchestration patterns, or evaluating agent performance.
Engineeringagent-harness
Use when building bounded agentic loops with verified task execution and state machines.