Use when designing or reviewing run, task, or step states and allowed transitions in PonyBunny.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add ponybunny-ai/ponybunny --skill state-machine-design --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of State Machine Design?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ponybunny-ai-state-machine-design)More formats (shields.io, HTML) on the badges page.
---
name: state-machine-design
description: Use when designing or reviewing run, task, or step states and allowed transitions in PonyBunny.
---
# State Machine Design
## Use this skill when
- defining statuses
- changing lifecycle logic
- adding retries or resume
- fixing invalid transitions
- reviewing execution safety
## Goals
- make states explicit
- prevent illegal transitions
- improve recoverability
- support clear debugging
## Process
1. Define the entity.
2. List valid states.
3. Define allowed transitions.
4. Define transition triggers.
5. Define terminal states.
6. Define retry and resume behaviour.
7. Define forbidden transitions and invariants.
## Output contract
Return:
- state list
- allowed transitions
- transition triggers
- terminal states
- retry/resume notes
- invariants
- forbidden transitions
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!