Data integrity constraints
Skill jukrap/ai-agent-playbook/skills/database/data-integrity-constraints
Reusable AI agent skills, project templates, and guardrails for safer software maintenance and delivery.
npx -y skills add jukrap/ai-agent-playbook --skill data-integrity-constraintsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when changing database constraints, keys, triggers, stored procedures, repair scripts, reconciliation queries, or application/database invariants.
SKILL.md
1.0 KB, as published. Nobody here has run it
Data Integrity Constraints
Use this as the primary database skill for enforcing, repairing, or reviewing data invariants.
Workflow
- Identify the invariant, owner, current enforcement layer, affected data, callers, reports, jobs, and repair/rollback needs.
- Check existing violations before enforcing a new constraint or trigger.
- Plan repair, backfill, dedupe, orphan cleanup, partial rollout, and application compatibility before tightening rules.
- Verify with reconciliation queries, before/after counts, negative cases, app behavior, and post-deploy monitoring when available.
Reference
Read references/constraint-trigger-procedure-checks.md for database-enforced invariants and routine safety.
Read references/reconciliation-and-backfill-checks.md for repair, dedupe, orphan, and backfill verification.