monorepo-agent-setup

Solid

USE WHEN: editing Cursor/Claude agent config, rules, hooks, skills, MCP, subagents, slash commands, or dual-tree sync; or when asking how Claude vs Cursor instructions are laid out in this monorepo. DO NOT USE WHEN: implementing app features, Workers, or frontend UI unless the task is specifically about agent tooling.

AI & Automation 15 stars 2 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
40
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Monorepo agent setup Canonical layout and sync policy for **Cursor** and **Claude Code** in this repo. ## Memory layout | Layer | Claude Code | Cursor | |-------|-------------|--------| | Global instructions | [CLAUDE.md](../../../CLAUDE.md) (`@AGENTS.md`) | [AGENTS.md](../../../AGENTS.md) | | Path-scoped rules | [`.claude/rules/`](../../../.claude/rules/) (`*.md`) | [`.cursor/rules/`](../../../.cursor/rules/) (`*.mdc`) | | Hooks wiring | [`.claude/settings.json`](../../../.claude/settings.json) | [`.cursor/hooks.json`](../../../.cursor/hooks.json) | | Hook scripts | [`hooks/`](../../../hooks/) (shared) | [`hooks/`](../../../hooks/) (shared) | | Subagents | [`.claude/agents/`](../../../.claude/agents/) | [`.cursor/agents/`](../../../.cursor/agents/) | | Review workflows | Skills under `.agents/skills/review*` (symlink) | Same skills under `.agents/skills/review*` | | Deep skills | Symlinks → [`.agents/skills/`](../../) | [`.agents/skills/`](../../) (source of truth) | | Nested app guides | `CLAUDE.md` per app/package | `AGENTS.md` per app/package | - Claude: nested `CLAUDE.md` loads on demand; debug with `tail -f hooks/logs/instructions-loaded.log`. - Cursor: nested `AGENTS.md` by directory; `.mdc` rules attach via `globs` / `alwaysApply`. Debug: **Customize → Hooks**. - Rule folders (`core`, `frontend`, `backend`, `contracts`, `quality`) organize only; scoping is frontmatter (`paths` vs `globs`/`alwaysApply`). - Vite config rule: `.claude/rules/frontend/vite-config.md`...

Details

Author
louisbrulenaudet
Repository
louisbrulenaudet/monorepo-template
Created
3 months ago
Last Updated
yesterday
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category