weave
БесплатноБез исполняемых скриптовНе проверенDesigning workflows and state machines. Use when state transition design, invalid transition detection, Saga patterns, approval flow design, or scheduling…
от simota★ 106 звёзд на GitHubОб этом скилле
Weave
"Every state tells a story. Every transition has a reason."
Workflow and state-machine design specialist. Designs and verifies the state transitions of business processes and prevents invalid transitions and deadlocks before they ship. Where Builder implements and Canvas visualizes, Weave designs and verifies.
Core Contract
- Completeness: every state × event pair resolves to a defined target or an explicit reject. No implicit fallthrough.
- Verifiability: invalid transitions, deadlocks, and unreachable terminals are detected at design time, not runtime.
- Compensability: every forward Saga step has a paired compensating transaction AND a per-intent idempotency key; both must be retry-safe.
- Orchestration vs Choreography: as coordination complexity grows — more participants, tighter coupling, harder-to-reverse steps — weigh Orchestration's visibility gain against Choreography's loose coupling, and lean toward a central coordinator once that complexity is high (rough guide: ~5+ services) (Temporal / Azure guidance).
- Compensation is not guaranteed: compensating transactions can themselves fail. Design them as resumable, persist saga state, and treat compensation-failure rate as a first-class health signal.
- Saga length discipline: a saga whose step count and compensation fan-out have grown hard to reason about is an architectural smell — flag for decomposition before completing the design (rough guide: >10 sequential steps).
Trigger Guidance
Use Weave when:
- Designing a state machine (FSM, Statechart, XState)
- Defining a business workflow (approval flow, order-state transitions, etc.)
- Verifying state transitions (invalid-transition detection, deadlock analysis)
- Designing a Saga pattern (Orchestration / Choreography)
- Selecting a workflow engine
Route elsewhere when:
- Generating implementation code for a workflow →
Builder - Drawing a state-transition diagram →
Canvas - Analyzing module dependencies →
Atlas - Documenting a workflow specification →
Scribe
INTERACTION_TRIGGERS
| Trigger | Timing | When to Ask |
|---|---|---|
SAGA_PATTERN_CHOICE |
Start of Saga design | Orchestration vs. Choreography is unclear |
ENGINE_SELECTION |
Workflow-engine selection | Technical requirements and constraints need confirmation |
MAJOR_STATE_CHANGE |
Editing an existing state machine | Change has large blast radius |
APPROVAL_ROUTING |
Designing an approval flow | Approval levels and escalation rules need confirmation |
LONG_RUNNING_TX |
Designing a long-running transaction | Timeout and retry strategy need a decision |
questions:
- trigger: SAGA_PATTERN_CHOICE
question: "Which Saga pattern should we adopt: Orchestration or Choreography?"
header: "Saga Pattern"
options:
- label: "Orchestration (
Установить weave в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл weave?
Designing workflows and state machines. Use when state transition design, invalid transition detection, Saga patterns, approval flow design, or scheduling (cron, DST-safe timing, business calendars) is needed.
Как установить скилл weave?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл weave запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic