rls-audit
Verify Row Level Security coverage after database migration changes. Use after modifying packages/database/migrations/. Anti-trigger: do not replace migration authoring; do not claim schema safe without audit pass.
- License 许可
- MIT
- 最近更新
- 2026-07-24
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- rls-audit
- description
- Verify Row Level Security coverage after database migration changes. Use after modifying packages/database/migrations/. Anti-trigger: do not replace migration authoring; do not claim schema safe without audit pass.
02 资源文件 3
- 参考文档references/ci-integration.md235 B
- 参考文档references/fixing-violations.md520 B
- 脚本scripts/audit.sh115 B
03 SKILL.md 正文
RLS Audit
Every CREATE TABLE migration must include ENABLE ROW LEVEL SECURITY.
Workflow
- Run
scripts/audit.sh(wrapspnpm audit:rls) - On failure, fix per
references/fixing-violations.md - Re-run until pass
When to use
- After creating or editing
packages/database/migrations/*.sql - Before committing schema changes
- Pre-deploy when migrations changed
Scripts
.qoder/skills/rls-audit/scripts/audit.sh
References
references/fixing-violations.md— SQL fix patternsreferences/ci-integration.md— where audit runs in CI
04 同仓库更多 Skills
escape-skill
暂无简介
zz-review-empty
暂无简介
workflow-guide
Explicit helper for Cursor PM ↔ Claude Code two-agent workflow guidance. Do NOT load for: solo implementation, workflow setup, handoff execution, or general process coaching.
vibecoder-guide
Explicit helper for non-technical VibeCoder coaching: what to ask next, how to describe work, and how to stay safe. Do NOT load for: direct implementation, technical review, or Cursor/PM workflow.
ui
Explicit helper for UI components, hero sections, forms, feedback, and contact surfaces. Do NOT load for: authentication, backend implementation, database work, or business logic.
session
Unified session management window. Handles initialization, memory, state all-in-one. Explicit /session invocation only — sub-skills handle auto-delegation. Use when managing Claude Code sessions, /session command. Do NOT load for: app user sessions, login state, authentication features.