Skip to content
Back to skills

State Machine Design

ASecurity

Use when designing or reviewing run, task, or step states and allowed transitions in PonyBunny.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 11, 2026
ai-agentsgodebugging

Works with

  • terminal

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add ponybunny-ai/ponybunny --skill state-machine-design --agent claude-code

Installs 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 with every re-scan.

Security grade badge for State Machine Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ponybunny-ai-state-machine-design/badge)](https://www.skillsdirectory.com/skills/ponybunny-ai-state-machine-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.