aibdd.auto.php.it.handlers.aggregate-given

Official

Create initial Aggregate state for Given steps.

Authorzenbuapps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This handler provides a reference implementation to initialize the aggregate's initial state during Given steps in AIBDD tests for WordPress-based data setups. It ensures deterministic preconditions by creating required entities and persisting them via the WP Factory Methods and a repository layer, while capturing natural keys for later steps.

Core Features & Use Cases

  • Initial state creation for aggregates in Given steps
  • Uses WP Factory Methods and Repository.save() to persist data
  • Maps natural keys to IDs for later steps
  • Supports DataTables and multi-entity relationships

Quick Start

Describe the initial aggregate state with a Given sentence and persist it using WP Factory Methods and Repository.save().

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: aibdd.auto.php.it.handlers.aggregate-given
Download link: https://github.com/zenbuapps/zenbu-powers/archive/main.zip#aibdd-auto-php-it-handlers-aggregate-given

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.