本文へ移動
cccskills
無料GitHub で公開

dygo-fixtures-and-patches

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Design, implement, or review dygo roles, Entity access metadata, Permissions, and permission-aware Business App behavior. Use when access to Records or business actions is central to the task.

日本語の概要は準備中です。原文の説明を表示しています。

hapyco/dygo162026年10月2日 更新

Design, implement, or review dygo HTTP APIs and public App SDK contracts. Use for Record APIs, metadata and boot endpoints, query behavior, response envelopes, compatibility, and public Go interfaces.

日本語の概要は準備中です。原文の説明を表示しています。

hapyco/dygo162026年10月2日 更新

Diagnose a dygo Business App that does not validate, boot, route, render, authorize, migrate, or execute background work correctly. Use for evidence-first investigation rather than feature implementation.

日本語の概要は準備中です。原文の説明を表示しています。

hapyco/dygo162026年10月2日 更新

Build or extend a dygo Business App using the supported project layout, generators, metadata, SDK, and validation workflow. Use for general app work that is not primarily Entity modeling, access, hooks, Jobs, fixtures, or patches.

日本語の概要は準備中です。原文の説明を表示しています。

hapyco/dygo162026年10月2日 更新

Review a dygo Business App for framework conventions, model quality, access control, SDK boundaries, observability, and safe lifecycle behavior. Use for App audits and pre-merge reviews, not ordinary implementation.

日本語の概要は準備中です。原文の説明を表示しています。

hapyco/dygo162026年10月2日 更新

Design, implement, or review the dygo framework CLI in Go with Cobra. Use for commands, flags, help, prompts, plans, output contracts, completion, and project-aware CLI behavior. Do not use for operating a deployed business through the reserved dygo-cli operator skill.

日本語の概要は準備中です。原文の説明を表示しています。

hapyco/dygo162026年10月2日 更新

hapyco のスキルをすべて見る

このスキルの問題を報告する