albertoarena

Claude Laravel Event Sourcing — Design skill for Claude Code

Design community

A Claude Code skill that helps you design and generate event-sourced domain code for Laravel using Spatie event sourcing.

How to install Claude Laravel Event Sourcing

This entry records only its repository, not the path inside it, so there is no exact command to give. Open albertoarena/claude-laravel-event-sourcing and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Laravel Event Sourcing does

A Claude Code skill that helps you design and generate event-sourced domain code for Laravel using Spatie event sourcing.

Alternatives in Design

  • Brand Guidelines — Apply Anthropic's official brand colors and typography to artifacts 94.1k ★
  • Od Contribute — Open a first-contribution PR (or bug issue) on nexu-io/open-design — works for non-coders too 91.8k ★
  • Export Diagram — Export a diagram-design HTML file to .svg and .png next to the source 27.2k ★

README

Laravel Spatie Event Sourcing — Claude Code Skill

![Release](https://img.shields.io/github/v/release/albertoarena/claude-laravel-event-sourcing?style=for-the-badge) ![License](https://img.shields.io/github/license/albertoarena/claude-laravel-event-sourcing?style=for-the-badge) ![Code size](https://img.shields.io/github/languages/code-size/albertoarena/claude-laravel-event-sourcing?style=for-the-badge) ![Claude Code Skill](https://img.shields.io/badge/Claude%20Code-Skill-8A63D2?style=for-the-badge)

Compatibility

Requirement Version
PHP 8.2+
Laravel 10.x, 11.x, 12.x, 13.x
spatie/laravel-event-sourcing ^7.0
Claude Code any

A Claude Code skill that helps you design and generate event-sourced domain code for Laravel using [spatie/laravel-event-sourcing](https://github.com/spatie/laravel-event-sourcing).

What it does

This skill guides you through a **two-gate workflow**:

  1. **Gate 1 — Design**: Claude asks focused domain questions, then produces an Architecture Decision Record (ADR) covering aggregates, commands, events, projectors, and reactors. You review and approve before any code is written.

  2. **Gate 2 — Implementation**: Once the ADR is approved, Claude generates the full domain — tests first (TDD), then commands, handlers, aggregates, events, projectors, reactors, and migrations. It runs the test suite and reports results.

Installation

Recommended: one-command plugin install

Inside Claude Code, add the marketplace and install the plugin:

/plugin marketplace add albertoarena/claude-laravel-event-sourcing
/plugin install laravel-spatie-event-sourcing@albertoarena

Claude Code shows a details panel (description, author, version, and what will be installed