RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/multica-ai/multica

AGENTS.md

AGENTS.md
AGENTS.mdroot

Quality

81/100

Scores the file, not the repository.

Length

364 words

7 headings · 1 code blocks

Repository

44k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
multica-ai/multica/AGENTS.mdRawGitHub
1# Repository Guidelines
2 
3This file provides guidance to AI agents when working with code in this repository.
4 
5> **Single source of truth:** This file is a concise pointer document.
6> All authoritative architecture, coding rules, and conventions
7> live in **CLAUDE.md** at the project root. Read that file first.
8> Use `Makefile`, `package.json`, and `pnpm-workspace.yaml` as the
9> source of truth for the full command list.
10 
11## Quick Reference
12 
13### Architecture
14 
15Go backend + monorepo frontend (pnpm workspaces + Turborepo) with shared packages.
16 
17- `server/` - Go backend (Chi router, sqlc, gorilla/websocket)
18- `apps/web/` - Next.js frontend (App Router)
19- `apps/desktop/` - Electron desktop app
20- `packages/core/` - Headless business logic (Zustand stores, React Query hooks, API client)
21- `packages/ui/` - Atomic UI components (shadcn/Base UI, zero business logic)
22- `packages/views/` - Shared business pages/components
23- `packages/tsconfig/` - Shared TypeScript config
24 
25### State Management (critical)
26 
27- **React Query** owns all server state (issues, members, agents, inbox, workspace list)
28- **Zustand** owns client/view state (view filters, drafts, modals, desktop tab state); current workspace identity is route-driven and only mirrored for platform plumbing
29- All Zustand stores live in `packages/core/` - never in `packages/views/` or app directories
30- WS events update React Query for server data; store writes are only for clearing client-owned pointers with a single responder/self-event guard
31 
32### Package Boundaries (hard rules)
33 
34- `packages/core/` - zero react-dom, zero localStorage, zero process.env
35- `packages/ui/` - zero `@multica/core` imports
36- `packages/views/` - zero `next/*`, zero `react-router-dom`, use `NavigationAdapter` for routing
37- `apps/web/platform/` - only place for Next.js APIs
38 
39### Database Migrations (hard rules)
40 
41- Never add database foreign keys or cascading actions. Enforce relationships and perform dependent cleanup explicitly in the application layer, using transactions when the operation must be atomic.
42- Every index created by a migration, including unique indexes and indexes on new tables, must use `CREATE [UNIQUE] INDEX CONCURRENTLY`. Keep each concurrent index build in its own single-statement migration file.
43 
44### Commands
45 
46```bash
47make dev # Auto-setup + start everything
48pnpm typecheck # TypeScript check
49pnpm test # TS unit tests (Vitest)
50make test # Go tests
51make check # Full verification pipeline
52```
53 
54See CLAUDE.md for the authoritative rules and common commands.
55 

Commands it names

  • make dev
  • pnpm typecheck
  • pnpm test
  • make test
  • make check
  • pnpm-workspace.yaml

Sections

  • Repository Guidelines
  • Quick Reference
  • Architecture
  • State Management (critical)
  • Package Boundaries (hard rules)
  • Database Migrations (hard rules)
  • Commands

What it covers

testsecuritydatabasedo-not

Stack — with the evidence

turborepo

(1.00)

monorepo

(1.00)

playwright

(1.00)

docker

(1.00)

pnpm

(0.85)

go

(0.80)

node

(0.70)

react

(0.70)

nextjs

(0.70)

react-native

(0.70)

expo

(0.70)

postgres

(0.70)

tailwind

(0.70)

vitest

(0.70)

eslint

(0.70)

desktop-app

(0.70)

typescript

(0.60)

javascript

(0.60)

github-actions

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
multica-ai
Language
—
License
—
Archived
no

All configs in this repo

Also in multica-ai/multica

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
multica-ai/multicaCLAUDE.md · 44kCLAUDE.mdturborepoplaywright+17setuptestlint-formatstyle+993/100today
multica-ai/multicaapps/mobile/CLAUDE.md · 44kCLAUDE.mdtypescriptreact-native+17setupbuildlint-formatarch+981/1003 days ago
Diff against CLAUDE.md Diff against apps/mobile/CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
bagisto/bagistoAGENTS.md · 28kAGENTS.mdphplaravel+8setupbuildteststyle+7100/1003 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-frontend/AGENTS.md · 95AGENTS.mdtypescriptpython+14setupbuildtestlint-format+6100/1002 days ago
unoplat/unoplat-code-confluenceunoplat-code-confluence-query-engine/AGENTS.md · 95AGENTS.mdtypescriptpython+13setupbuildtestlint-format+598/1002 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack