Agent skill

triatu-supabase

Supabase data access and security rules for Triatu. Use when editing DB-related code, policies, or adding new tables/queries.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/triatu-supabase

SKILL.md

Triatu Supabase

Quick start

  • Validate inputs with Zod before any DB call.
  • Domain must not talk to Supabase directly.
  • Keep PII out of logs; use lib/logger and debug only in dev.

Workflow

  1. Define interfaces in Domain or Application.
  2. Implement Supabase access in adapters (Infrastructure).
  3. Call adapters from Application use cases.
  4. Update policies and schemas in Supabase; note changes in docs.
  5. Add/adjust tests before code (TDD).

Guardrails

  • No direct infrastructure calls from Domain.
  • Avoid global state unless justified.
  • Record new risks in docs/PROJECT_AUDIT.md.

References

  • docs/SECURITY.md
  • docs/PROJECT_AUDIT.md
  • docs/CORE.md
  • guia.md

Didn't find tool you were looking for?

Be as detailed as possible for better results