Context
A post by @nullvoxpopuli suggested writing agent skills as statecharts.
This repo would benefit from explicit state-based logic charts so each skill flow is inspectable, reviewable, and easier to evolve safely.
Proposal
- Add Mermaid
stateDiagram-v2 charts for skill workflows.
- Cover the core lifecycle for each skill (for example: trigger -> context collection -> branching decisions -> actions -> validation -> output/exit).
- Keep concise charts in
SKILL.md; move detailed diagrams to references/ when needed and link back.
Acceptance Criteria
Why this helps
- Makes branching/guard conditions explicit.
- Improves maintainability and onboarding.
- Reduces ambiguity during reviews and refactors.
Context
A post by @nullvoxpopuli suggested writing agent skills as statecharts.
This repo would benefit from explicit state-based logic charts so each skill flow is inspectable, reviewable, and easier to evolve safely.
Proposal
stateDiagram-v2charts for skill workflows.SKILL.md; move detailed diagrams toreferences/when needed and link back.Acceptance Criteria
skills/includes a state-based flow chart or a direct link to one.Why this helps