monorepo

Monorepo Architecture

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "monorepo" with this command: npx skills add alicoder001/agent-skills/alicoder001-agent-skills-monorepo

Monorepo Architecture

Use this skill to create predictable package boundaries, shared tooling, and fast incremental builds.

Use This Skill When

  • Multiple apps share code and release cadence.

  • You need shared packages (ui , types , config , utils ).

  • Build/test/lint pipelines need workspace-level orchestration.

Core Contract

  • Keep deployable apps in apps/ .

  • Keep reusable packages in packages/ .

  • Use workspace protocol dependencies (workspace:* ).

  • Use Turbo pipelines for dependency-aware task execution.

  • Keep environment variables explicit per app/package boundary.

Recommended Structure

apps/ packages/ turbo.json pnpm-workspace.yaml package.json

Implementation Workflow

  1. Workspace Setup
  • Configure pnpm-workspace.yaml .

  • Define root scripts for dev , build , lint , test .

  • Add Turbo pipeline with dependsOn and outputs .

  1. Shared Packages
  • Create packages/ui , packages/types , packages/config .

  • Export public APIs from package roots.

  • Keep package boundaries strict and testable.

  1. App Integration
  • Consume shared packages via workspace deps.

  • Keep app-specific runtime config local to app.

  • Avoid hidden coupling through root-only env assumptions.

  1. Operational Quality
  • Cache-friendly tasks and deterministic outputs.

  • Per-package ownership and CI filters.

  • Versioning/release strategy documented.

Output Requirements for Agent

  • Folder layout proposal.

  • Workspace and Turbo config.

  • Shared package strategy.

  • CI/build command matrix.

References

  • Detailed setup files and command examples: references/guide.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

solid

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

reasoning

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

collaboration

No summary provided by upstream source.

Repository SourceNeeds Review