graph-enhanced-skill
v1.0.0
Published
GES — Graph-Enhanced Skill Standard. Formalize AI agent skill state machines as YAML graph structures with nodes, edges, actions, and bindings.
Downloads
149
Maintainers
Readme
GES — Graph-Enhanced Skill Standard
将 AI Agent Skill 内部的状态机从散文描述提升为 YAML 图结构,确保每个步骤准确执行。
Quick Start
schema: ges/1.0
meta: { name: hello, entry: start, terminal: [end] }
nodes:
start:
actions:
- id: do
prompt: 执行任务
edges:
- { from: start, to: end }Core Concepts
| 概念 | 含义 |
|------|------|
| node | 状态——包含有序 actions |
| edge | 转移——when 条件决定走哪条 |
| action | prompt(LLM 做)或 run(工具做) |
Action Modes
# LLM 执行
- prompt: 分析需求
# 工具执行
- run: "npm test"
# 工具 + prompt(工具执行,prompt 作为输入)
- run: "analyzer"
prompt: ./prompts/plan.md
# LLM + 命令验证
- prompt: 实现功能
verify: { run: "npm test" }Bindings — Platform Abstraction
bindings:
analyzer: "maestro delegate --role analyze"
# analyzer: "aider /architect" # switch platform
# analyzer: "./scripts/call-api.sh" # API wrapperDocumentation
License
MIT
