monorepo-backend-layout

Community

Structure backend code in monorepos.

Authorpmarashian
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents common structural errors when working with monorepos that have a dedicated backend directory, ensuring code is placed in the correct subdirectories to avoid build and runtime failures.

Core Features & Use Cases

  • Enforces Backend Root: Identifies and uses the designated backend directory (e.g., backend/) as the primary location for all backend application code.
  • Correct Pathing: Ensures API routes are created under backend/src/app/... and library code under backend/src/lib/... (or project-specific equivalents).
  • Use Case: When adding a new API endpoint to a monorepo project with a backend/ directory, this skill guides the AI to place the new route file within backend/src/app/api/... instead of the repository root.

Quick Start

Use the monorepo-backend-layout skill to ensure new backend API routes are created under the correct directory.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: monorepo-backend-layout
Download link: https://github.com/pmarashian/cursor-agent-skills/archive/main.zip#monorepo-backend-layout

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.