LogoClawIndex
CasesSkillsAbout
LogoClawIndex

acc-create-state - PHP 8.5 State Pattern Generator

Generates State pattern infrastructure for PHP 8.5 with state interfaces, concrete states, and factories

Tags

Updated: 2026-03-22

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Generate state interface
  • Generate concrete states
  • Generate state factory
  • Generate exception classes
  • Generate unit tests
  • Update entity methods

Inputs

  • State machine requirements
  • Domain bounded context name
  • State definitions and transitions

Outputs

  • State interface class
  • Abstract state class
  • Concrete state classes
  • State factory class
  • Exception classes
  • Unit test files

Requirements

  • PHP 8.5 runtime environment
  • Domain-driven design project structure

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
State Pattern
PHP
State Machine
Code Generation
DDD
Generate state interface
Generate concrete states
Generate state factory
Generate exception classes
State machine requirements
Domain bounded context name
State definitions and transitions
State interface class
Abstract state class
Concrete state classes