entity-hooks

Community

Reliable entity lifecycle hooks for data safety.

Authoryutna
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Entity lifecycle events have historically required boilerplate scattered across repositories and services. This Skill provides reusable patterns for before_save, after_create, and other lifecycle hooks to standardize data normalization, timestamp handling, and side effects.

Core Features & Use Cases

  • BeforeCreate/afterCreate/beforeUpdate/afterUpdate/beforeDelete/afterDelete hooks that normalize data, set default timestamps, and enable side effects.
  • Seamless integration with repository operations to ensure hooks run in the correct order and support transaction-aware workflows.
  • Advanced patterns: conditional hooks, transaction-bound hooks, and cross-service side effects such as analytics or notifications.

Quick Start

Wire up shared entity hooks and invoke them through repository operations to enforce lifecycle behavior across create, update, and delete.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: entity-hooks
Download link: https://github.com/yutna/vibe-next-template/archive/main.zip#entity-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.