spoon-graph-development
БесплатноЗапускает вложенные скриптыНе проверенBuild StateGraph workflows with SpoonOS. Use when creating multi-step workflows, conditional routing, parallel execution, checkpointing, or multi-agent…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Graph Development
Build workflow graphs using SpoonOS StateGraph.
Quick Start
from spoon_ai.graph import StateGraph, END
from typing import TypedDict
class MyState(TypedDict):
counter: int
result: str
async def process(state: MyState) -> dict:
return {"counter": state["counter"] + 1}
graph = StateGraph(MyState)
graph.add_node("process", process)
graph.set_entry_point("process")
graph.add_edge("process", END)
app = graph.compile()
result = await app.invoke({"counter": 0, "result": ""})
Scripts
| Script | Purpose |
|---|---|
| basic_graph.py | Simple linear workflow |
| conditional_graph.py | Conditional routing |
| parallel_graph.py | Parallel node execution |
| checkpoint_graph.py | State persistence |
References
| Reference | Content |
|---|---|
| patterns.md | Common graph patterns |
| parallel.md | Parallel execution modes |
Node Types
- Function nodes:
async def node(state) -> dict - Agent nodes:
SpoonReactMCPinstances - Subgraph nodes: Nested
StateGraph
Edge Types
- Direct:
graph.add_edge("a", "b") - Conditional:
graph.add_conditional_edges("a", router, {...})
Best Practices
- Use TypedDict for state schemas
- Return only changed fields from nodes
- Use checkpointing for long workflows
- Implement timeout for external calls
Установить spoon-graph-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл spoon-graph-development?
Build StateGraph workflows with SpoonOS. Use when creating multi-step workflows, conditional routing, parallel execution, checkpointing, or multi-agent orchestration.
Как установить скилл spoon-graph-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spoon-graph-development запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic