Skip to content
Back to skills

Dygo Fixtures And Patches

ASecurity

Create or review dygo Fixtures and explicit Patches for reference data, setup Records, backfills, renames, and unsafe lifecycle transitions. Use when metadata sync alone cannot express the required data change.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added August 31, 2026
databasesgosqlexpressdatabase

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add hapyco/dygo --skill dygo-fixtures-and-patches --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dygo Fixtures And Patches?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dygo Fixtures And Patches
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hapyco-dygo-fixtures-and-patches/badge)](https://www.skillsdirectory.com/skills/hapyco-dygo-fixtures-and-patches)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dygo-fixtures-and-patches
description: Create or review dygo Fixtures and explicit Patches for reference data, setup Records, backfills, renames, and unsafe lifecycle transitions. Use when metadata sync alone cannot express the required data change.
---

# dygo Fixtures And Patches

Choose the mechanism by intent.

- Use a Fixture for repeatable reference, setup, or demo Records.
- Use a Patch for a one-time ordered lifecycle transition.
- Use metadata sync for additive schema changes that metadata can infer safely.

## Source Contracts

Read `docs/fixtures.md`, `docs/patches.md`, and the database lifecycle in `docs/database.md`.

## Rules

- Keep Fixtures app-owned and Entity-local.
- Use stable match fields and explicit dependencies.
- Do not use Fixtures as an uncontrolled production data migration system.
- Prefer structured Patch operations.
- Use the SQL escape hatch only when structured operations cannot express a safe transition.
- Place a Patch in the correct pre-sync or post-sync phase.
- Make Patch execution transactional and ledgered according to the runtime contract.
- Never hide destructive cleanup inside additive migration. Use explicit prune or a reviewed Patch.
- Preview writes before application when a dry-run path exists.

## Check

Use fixture validation and dry-run plans. For a Patch, verify the intended before and after state, failure rollback, and repeat-run ledger behavior.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…