tippinggame/f8framework/f8-features-fsm-workflow
Claude Code and agent skill by tippinggame/f8framework
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when implementing or troubleshooting FSM feature workflows — finite state machines, state transitions, blackboard data, and FSM groups in F8Framework.
Install
npx vskill@latest install tippinggame/f8framework/f8-features-fsm-workflowSKILL.md
The same SKILL.md was published earlier as tippinggame/f8framework/f8-features-fsm-workflow.
FSM Feature Workflow
⚠️ IMPORTANT: Before using this feature, you MUST formally initialize F8Framework in the launch sequence. EnsureModuleCenter.Initialize(this);has run first, then create the required module, for exampleFF8.FSM = ModuleCenter.CreateModule<FSMManager>();.
Use this skill when
- The task is about state machine construction, transition flow, and update loop.
- The user asks about FSMState, FSMSwitch, blackboard, or FSM groups.
- Troubleshooting state transition failures or update loop issues.
Path resolution
- Prefer project source at Assets/F8Framework.
- If F8Framework is installed as a package, use Packages/F8Framework.
- For usage docs, read: Assets/F8Framework/Tests/FSM/README.md
Sources of truth
- Runtime module: Assets/F8Framework/Runtime/FSM
- Test docs: Assets/F8Framework/Tests/FSM
Key classes and interfaces
| Class | Role | |
|---|---|---|
FSMManager | Core module. Access via FF8.FSM. Creates, finds, destroys FSMs. | |
IFSM<T> | FSM interface. Owner type T is the owner object type. | |
FSMState<T> | Abstract state base. Override lifecycle methods. | |
FSMSwitch<T> | Abstract transition condition. Override SwitchFunction(). | |
Blackboard | Key-value data store shared across states in a FSM. | |
FSMBase | Non-generic base class for FSM collections. |
API quick reference
Create FSM
Change state
Blackboard
FSM management
State class template
Switch class template
Workflow
- Define states by inheriting
FSMState<T>with desired owner type. - Define transition conditions by inheriting
FSMSwitch<T>. - Wire switches to states with
state.AddSwitch(switch, targetStateType). - Create FSM via
FF8.FSM.CreateFSM<T>()passing all states. - Set default state and call
ChangeToDefaultState(). - Use Blackboard for shared data across states.
- Use FSM groups for managing related FSMs together.
Common error handling
| Error | Cause | Solution | |
|---|---|---|---|
| State not changing | Switch condition never returns true | Debug SwitchFunction logic | |
| Null owner | Owner destroyed before FSM | Destroy FSM when owner is destroyed | |
| Duplicate FSM name | Same name used for multiple FSMs | Use unique names per FSM |
Cross-module dependencies
- None — FSM is self-contained. Can reference any module from within states.
Output checklist
- States and switches defined.
- FSM created with correct owner type.
- Blackboard data flow documented.
- Validation status and remaining risks.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingTests/AISkills/f8framework-skills/features/f8-features-fsm-workflow/SKILL.md
Popularity
- Repository stars
- 870
- Repository forks
- 139
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tippinggame/f8framework/f8-features-fsm-workflow)