Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add state-based logic charts for skill flows #14

Copy link
Copy link
@vincentkoc

Description

@vincentkoc
Issue body actions

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

  • Each public skill under skills/ includes a state-based flow chart or a direct link to one.
  • Contribution guidance documents this expectation for new/updated skills.
  • Validation rules enforce chart presence (or a documented exemption path for trivial skills).
  • Existing skills are updated incrementally without changing runtime behavior.

Why this helps

  • Makes branching/guard conditions explicit.
  • Improves maintainability and onboarding.
  • Reduces ambiguity during reviews and refactors.
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.