workflow-engine
由 plgonzalezrx8 提供
Productivity & Tasks简介
Structural parity skeleton for queue-driven orchestration in a workflow context.
描述
该技能的功能
A skeleton skill that provides structural parity with queue-driven workflow orchestration. It emulates lifecycle behavior (session orient, write-time validation, session capture) in-skill without real hook execution. Manages phase sequencing and persisted queue state across sessions.
Enforces deterministic state transitions and resumability without requiring external plugin infrastructure or live hook execution.
何时使用
- Resuming an interrupted batch job from a persisted queue file
- Passing work between agent sessions using the --handoff flag
- Running a target file through a fixed extract-to-verify phase sequence
- Processing a batch by ID across multiple phases without losing state
- Validating queue structure before any state transitions begin
示例工作流
User asks: process inbox/draft.md --type extract --batch b42
- 1
Parse positional target and flags: target=inbox/draft.md, type=extract, batch=b42
- 2
Load runtime context from ops/derivation-manifest.md and ops/config.yaml if present
- 3
Locate queue file using fallback order: queue.yaml -> queue.yml -> queue.json
- 4
Validate queue structure and confirm current state allows transition to extract
- 5
Execute extract phase and update queue state; write persisted artifacts to ops/
Queue state updated to extract->done for batch b42; ops/derivation.md written with extraction output
安装
clawhub install plgonzalezrx8/workflow-engine运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。