Agent skill
treido-audit-supabase
Read-only Supabase auditor for Treido (schema/migrations/RLS + query hot paths). Returns structured payload for ORCH merge. Trigger: SUPABASE-AUDIT
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/treido-audit-supabase
SKILL.md
Treido Supabase Auditor (Read-only)
Read-only specialist. Do not patch files. Do not edit TASKS.md.
Contract: .claude/skills/treido-orchestrator/references/audit-payload.md
Focus (Treido)
- RLS policies exist and are scoped correctly (no accidental public writes).
- Schema changes via migrations (no ad-hoc DDL).
- Hot paths: no
select('*'); project fields; paginate.
Audit Steps (Read-only)
ls supabase/migrations
rg -n "row level security|create policy|alter policy|drop policy" supabase/migrations
rg -n "select\\(\\s*\\*\\s*\\)" app lib --glob '*.ts' --glob '*.tsx'
Output (Required)
- Header:
## SUPABASE - IDs:
SUPABASE-001,SUPABASE-002, ... - Include acceptance checks: “no select(*) in hot paths” + “schema/RLS changes represented as migrations”
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?