agentsclimarketplace

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.

Install
npx -y skills add jukrap/ai-agent-playbook --skill data-integrity-constraints

Assembled 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

  1. Identify the invariant, owner, current enforcement layer, affected data, callers, reports, jobs, and repair/rollback needs.
  2. Check existing violations before enforcing a new constraint or trigger.
  3. Plan repair, backfill, dedupe, orphan cleanup, partial rollout, and application compatibility before tightening rules.
  4. 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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.