monorepo-structure

Define standard monorepo module layouts with package/{vendor}/{module} paths.

6|Updated Feb 20, 2025
One-click install
npx skills add https://github.com/zerobias-org/module --skill monorepo-structure-zerobias-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monorepo-structure
Source: https://github.com/zerobias-org/module/tree/main/.claude/skills/monorepo-structure
Command: npx skills add https://github.com/zerobias-org/module --skill monorepo-structure-zerobias-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The monorepo-structure skill provides a clear blueprint for organizing multi-module repositories, enabling consistent module boundaries, predictable packaging, and easier onboarding.

Core Features & Use Cases

  • Defines a repeatable module layout: package/{vendor}/{module}/ with api.yml, connectionProfile.yml, connectionState.yml, src/, test/, and package.json
  • Enforces independence between modules and clear vendor/module boundaries to simplify versioning and dependency management
  • Use Case: A team adding a new vendor/module can follow the layout to ensure files exist in the expected places and tests are accessible

Quick Start

Navigate the repository to verify each module follows the package/{vendor}/{module} layout and contains the required files

Frequently Asked Questions about monorepo-structure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the standard directory layout for API client modules in a monorepo?

Monorepo module boundaries are enforced by applying a structured package/{vendor}/{module}/ layout that isolates dependencies and specifies required files like api.yml and package.json for each independent module.

How do I structure a new vendor package in a monorepo?

You structure a new vendor module by creating the package/{vendor}/{module}/ directory path and ensuring all required components like api.yml, connectionState.yml, src/, and test/ are placed correctly to maintain predictable packaging.

How do I enforce module boundaries and dependency isolation in a multi-module repository?

You enforce module boundaries by adhering to the package/{vendor}/{module}/ directory layout, which isolates dependencies within each vendor directory and prevents cross-module boundary violations during packaging and versioning.

When do I need to use a structured monorepo layout for vendor modules?

A structured monorepo layout is needed when managing multiple vendor API client modules, as it provides a repeatable blueprint for file placement, dependency isolation, and consistent packaging across the repository.

What files are required in each vendor module directory for API client packaging?

Each vendor module directory requires api.yml, connectionProfile.yml, connectionState.yml, src/, test/, and package.json files to maintain consistent structure and enable proper API client packaging within the monorepo.

Does monorepo structure work without external dependencies for module packaging?

The monorepo structure works without external dependencies by defining and enforcing module boundaries through its standard package/{vendor}/{module}/ layout and required file components like connectionProfile.yml and src/.