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

Official

Verify aggregate states via repository assertions in Then steps

Authorzenbuapps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill formalizes validation of aggregate attributes in Then steps by querying the WordPress database through repositories, ensuring tests reflect the true live state rather than derived read models.

Core Features & Use Cases

  • Repository-based validation of aggregate properties using PHPUnit assertions.
  • Supports common aggregates such as lesson progress, orders, and cart items, validated via repository lookups like findByUserAndLesson, findById, and findByUser.
  • Enforces R1-R6 style rules to ensure deterministic, read-only Then steps and guards against NPEs.

Quick Start

Integrate the aggregate-then handler into your BDD workflow and start asserting aggregate properties through repository lookups.

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

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.