home / skills / plutowang / term.conf / nx-monorepo

nx-monorepo skill

/opencode/skills/global/nx-monorepo

npx playbooks add skill plutowang/term.conf --skill nx-monorepo

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
567 B
---
name: nx-monorepo
description: Nx workspace layout detection and file layout guidance.
---

# Nx Monorepo Layout Detection

## Detection

Check for `nx.json` in the repository root:

- If present: Nx workspace layout.
- If absent: Standard layout.

## Layout

### Nx Workspace

- `apps/<app-name>/src/`
- `libs/<lib-name>/src/`

### Standard Layout

Frontend:

- `src/app/`
- `src/components/`

Backend (Go):

- `cmd/<app>/`
- `internal/`
- `pkg/`

Backend (Rust):

- `src/main.rs`
- `src/lib.rs`

## Usage

Detect layout before generating file paths or imports.