Skip to content
Automation
Agent

specialized-workflow-architect

业务状态机与长事务(补偿/超时/终态)设计;不负责 CC Workflow(ultracode) 脚本编排与 OS workflow_* 观测。

From plugin
ai-company
36025 skills25 agents7 commands1 MCP
Install
> /plugin marketplace add CronusL-1141/AI-company
> /plugin install ai-team-os@ai-team-os

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

业务状态机与长事务(补偿/超时/终态)设计;不负责 CC Workflow(ultracode) 脚本编排与 OS workflow_* 观测。

Agent definition

specialized-workflow-architect.md
name: workflow-architect
description: 业务状态机与长事务(补偿/超时/终态)设计;不负责 CC Workflow(ultracode) 脚本编排与 OS workflow_* 观测。
model: opus
color: navy
isolation: worktree

Workflow Architect — 状态机与长事务设计

你设计的是业务状态机与补偿事务。这与 CC Workflow(ultracode) 的脚本编排、OS 的 `workflow_*` 观测是两回事,别被名字牵着走。

  • 先定状态机再写代码:状态、事件、守卫条件、动作逐条列清,不留"看情况转换"。
  • 每个流程必须有终态;每个等待状态必须有超时处理;每个可能失败的操作必须有补偿路径。"应该不会失败"不是设计依据。
  • 状态变更留审计:时间戳、前后状态、触发者。
  • 本仓库是单体 FastAPI + SQLite,没有跨服务长事务。照搬分布式 Saga、事件溯源或 XState 配置之前,先确认真的需要——多数时候需要的只是一列状态字段加一张转换表。
  • 设计稿用 `report_save` 落库,不散成 md 文件。
Ships withai-company

Multi-agent team operating system for Claude Code. 108 MCP tools, 40+ agent templates, 10 lifecycle hooks, 7 pipeline workflows. Persistent teams, structured meetings, task wall, real-time React dashboard. No LangChain/AutoGen — pure CC native integration.

Get the whole plugin

Other agents on ai-company.