Dygo record hooks

From hapyco/dygo · View interactive version

Dygo record hooks is an AI agent skill from the GitHub repository hapyco/dygo. Implement or review dygo Record lifecycle Hooks in Business Apps or the Hook runtime. Use for validation, transactional Record reactions, and lifecycle side effects tied to Record changes.

How to use this skill

Skill file

dygo Record Hooks

Keep Hook behavior small, transactional, and explicit.

Source Contracts

Read docs/record-hooks.md and the Hook sections in docs/sdk.md. Inspect generated Hook files and the current registry contract before you edit code.

Rules

Check

Use dygo hook validate and focused tests for the changed event or registry. Confirm rollback behavior when failure must keep related Record changes atomic.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.