managarten/.claude/guidelines
Till JS dd756c4664 docs(database): document the pgSchema isolation rule
pgSchema was enforced in practice across every service (auth, credits,
usr, events, mail, research, subscriptions, analytics) but nowhere
documented as a rule. New services had to reverse-engineer the pattern
from existing code, and the example in the guideline itself still used
raw pgTable() — actively steering readers in the wrong direction.

- New "Schema Isolation" section: the rule, the why, the naming table
  (service → schema), the mana_sync exception, a grep-based verification
  command.
- Updated the "Table Definition Pattern" example to use pgSchema so
  readers copy the right thing.

The root CLAUDE.md already links here from the "Database (PostgreSQL)"
section — no change needed there.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 19:47:37 +02:00
..
ai-tools.md docs(ai-tools): add how-to guide for wiring module tools to the AI agent 2026-04-19 19:15:57 +02:00
authentication.md feat(auth): server-side tier gating via requireTier middleware 2026-04-19 17:38:06 +02:00
code-style.md chore: remove all NestJS backend references, replace with Hono/Bun 2026-03-31 16:52:25 +02:00
database.md docs(database): document the pgSchema isolation rule 2026-04-19 19:47:37 +02:00
design-ux.md chore(lint): audit:theme-tokens guard against bare --muted / --theme-* drift 2026-04-16 00:58:13 +02:00
error-handling.md 💄 style: apply prettier formatting across codebase 2025-12-03 02:02:09 +01:00
expo-mobile.md 💄 style: apply prettier formatting across codebase 2025-12-03 02:02:09 +01:00
hono-server.md refactor: rename nutriphi module to food (Essen) 2026-04-14 15:30:07 +02:00
sveltekit-web.md refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00
testing.md chore(ci): add v8 test coverage tracking (non-blocking baseline) 2026-04-19 19:21:14 +02:00