| name | ges-skill-designer |
| description | Meta-skill for designing GES (Graph-Enhanced Skill) YAML definitions. Creates .ges.yaml graph files with nodes, edges, actions, bindings, and prompt files. Triggers on "design ges", "create ges skill", "ges designer". |
| allowed-tools | Agent, AskUserQuestion, Read, Write, Edit, Bash, Glob, Grep |
GES Skill Designer
Meta-skill for creating .ges.yaml graph definitions following the GES v1.0 standard. Generates complete skill packages: graph YAML, external prompt files, and optional bindings configuration.
Architecture Overview
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ GES Skill Designer โ
โ โ Analyze requirements โ Design graph โ Generate artifacts โ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโผโโโโโโโโโโโโฌโโโโโโโโโโโโ
โ โ โ โ
โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ
โ Phase 1 โ โ Phase 2 โ โ Phase 3 โ โ Phase 4 โ
โ Require โ โ Graph โ โ Actions โ โGenerate โ
โ Analysisโ โ Design โ โ Design โ โ& Valid โ
โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ
โ โ โ โ
gesConfig node/edge actions + .ges.yaml
object topology prompts + prompts/
Target Output Structure
{target-dir}/
โโโ {name}.ges.yaml # GES graph definition
โโโ prompts/ # External prompt files (if needed)
โโโ {node}-{action}.md
โโโ ...
GES v1.0 Quick Reference
ไธไธชๆ ธๅฟๆฆๅฟต๏ผ
| ๆฆๅฟต | ่ฏดๆ | YAML |
|---|
| ่็น (node) | ็ถๆ๏ผๅ
ๅซๆๅบ actions | nodes.{name}.actions: [...] |
| ่พน (edge) | ่ฝฌ็งป๏ผwhen ๆกไปถๅณๅฎ่ตฐๅชๆก | edges: [{from, to, when}] |
| ๅจไฝ (action) | prompt๏ผLLM๏ผๆ run๏ผๅทฅๅ
ท๏ผ | {id, prompt?, run?, output?, verify?} |
Action ๅ็งๆจกๅผ๏ผ
| ๆจกๅผ | ๅญๆฎต | ่ฏญไน |
|---|
| ็บฏ LLM | prompt | LLM ๆง่กๆไปค |
| ็บฏๅทฅๅ
ท | run | ๅฝไปค/ๅทฅๅ
ทๆง่ก |
| ๅทฅๅ
ท+prompt | run + prompt | ๅทฅๅ
ทๆง่ก๏ผprompt ไฝไธบ่พๅ
ฅ |
| LLM+้ช่ฏ | prompt + verify.run | LLM ๆง่ก๏ผๅฝไปค้ช่ฏ็ปๆ |
Execution Flow
Phase 1: Requirements Analysis
โโ Ref: phases/01-requirements.md
โโ Input: user description / existing SKILL.md / requirements
โโ Output: gesConfig (name, states, transitions, tools)
Phase 2: Graph Topology Design
โโ Ref: phases/02-graph-design.md
โโ Input: gesConfig
โโ Output: graphTopology (nodes, edges, entry, terminal)
Phase 3: Action & Prompt Design
โโ Ref: phases/03-action-design.md
โโ Input: graphTopology + gesConfig
โโ Output: fullGraph (actions, bindings, prompts)
Phase 4: Generate & Validate
โโ Ref: phases/04-generate.md
โโ Input: fullGraph
โโ Output: .ges.yaml + prompts/*.md (validated)
Phase Reference Documents (read on-demand):
Input Sources
| Source | Description | Example |
|---|
| Text description | Natural language workflow | "ๅฎกๆฅๅพช็ฏ๏ผๅฎ็ฐโๅฎกๆฅโไฟฎๅค" |
| Existing SKILL.md | Convert state machine to GES | .claude/commands/odyssey-planex.md |
| State list | Enumerated states + transitions | "states: intake, plan, execute, verify" |
Core Rules
- GES v1.0 only โ use only core/extended fields from the spec
- Bindings for tools โ all external tool references go through bindings
- External prompts for long text โ inline prompt > 3 lines โ extract to
./prompts/{name}.md
- Edges order matters โ first match wins; put specific conditions before default
- Terminal nodes are implicit โ don't define them in
nodes, only in meta.terminal
- Action requires prompt or run โ every action must have at least one
Data Flow
User Input (description or SKILL.md path)
โ
Phase 1: Requirements Analysis
โ Output: gesConfig
Phase 2: Graph Topology Design
โ Output: graphTopology (nodes + edges as diagram)
Phase 3: Action & Prompt Design
โ Output: fullGraph (complete YAML structure)
Phase 4: Generate & Validate
โ Output: .ges.yaml file + prompt files
Error Handling
- Missing states โ ask user to clarify workflow stages
- Disconnected nodes โ every non-terminal node must have outgoing edge
- No entry path โ meta.entry must be a defined node
- Validation failure โ fix and re-validate before completion