zf-workflow-synthesis
Provider-neutral ZaoFu method for selecting IssueFlow, PrdFlow, RefactorFlow, or a registered Workflow from a confirmed Requirement and returning a short…
от uisee-ai★ 36 звёзд на GitHub
Установить zf-workflow-synthesis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ZaoFu Workflow Synthesis
Objective
Turn one confirmed Requirement into a small typed recommendation that the deterministic Workflow Proposal compiler can admit. This is Flow selection, not Planner Task decomposition and not Orchestrator recovery.
Inputs
Read only the supplied current request revision, immutable Requirement, controller catalog, adapter skill plan, registered roles/skills/profiles, and project constraints. Treat every allowlist as closed.
Method
- Reject or ask a blocking question when objective, required target/source, acceptance criteria, or a decision-critical constraint is missing.
- Select exactly one registered family:
IssueFlowfor bounded diagnosis/repair.PrdFlowfor a product behavior or feature delivery.RefactorFlowfor source-to-target parity or structural migration.Workflowonly when the supplied catalog exposes the requested registered generic template and all of its required capabilities.
- Produce only a short FlowSpec with purpose and the selected template's
sanctioned parameters. Controller flows use
lanes,strictness, andpattern_id; registered generic workflows use their catalog parameters. For an explicitly requested PRD v4 Task Pipeline,task_pipelinemay contain exactlyprofile(prd-flow-v4-task-pipeline),mode(shadoworblocking),impl_capacity,verify_capacity, andmax_active_task_pipelines. Setlanesto at least the larger pool capacity. Preserve independent verification; ask about decision-critical mode or limits rather than guessing. Shadow is observation, not execution. This produces a reviewed config candidate, never an applied config or Run. 若用户指定目录registered_controllers中的完整版本(例如 V5),使用parameters.controller_id和对应的controller_digest,并给出适配当前项目验收的verification_commands。不要复制 YAML 或改写运行时状态;不要附带task_pipeline或改变该控制器的 lanes。该选择进入完整配置替换的 Preview / Apply config / Approve & Run。 编译器保留项目身份、状态目录、session 和本地 skill sources,绑定 Requirement 的项目内 PRD/target 和当前 Git 分支;装配已安装控制器技能及内联 Profile,保留 V5 的阻塞门禁、 独立验证、生命周期和预算。缺少业务路径/检查命令时问具体问题,不反问如何安装已注册控制器。 聊天来源若没有单独的source_ref,但已有 confirmed Requirement 和完整task_input_binding、task_input_contract_ref/digest,编译器会校验绑定并把完整 Requirement(含 objective、澄清回答及来源)物化为项目内不可变输入。无需用户另造 PRD 文件; Task 输入投影本身不含完整 behavior,不可将其当成完整需求摘要。显式提供的源文件仍优先, 源缺失、越界或绑定损坏必须修复,不能用此路径掩盖。 - Request only registered roles, skills, and execution profiles.
选中完整控制器时,使用该条目的 roles/skills/profiles 和 completion_profile;它们是待批准
配置的能力,不要求先存在于当前项目。未选中时仍只使用当前配置的 allowlist。
allowed_skills表示已安装,不等于已装配;用configured_role_skills核对选中路线的实际 角色绑定。确需新增能力时提出阻塞问题与配置变更要求,不能把希望使用的 skills 当作已启用。 - State rationale, assumptions, open questions, completion profile, and risk
hints. Do not claim approval or execution.
注册控制器必须在 parameters.approval_requirements 显式输出
{"plan":"required|not_requested","source_quotes":["Requirement 原文"]}。 结合 objective、约束与澄清判断 Plan 人工确认需求;要求 Plan preview/approve 后才实施时 选 required 并引用原文,不能继承模板 false。Workflow 配置批准与 Plan 批准是独立门禁。 从configured_completion_by_family选择该路线可编译的完成要求,不能编造 threshold、 required_artifacts 或把software_delivery改成通用模板的artifact_delivery。 “先预览、待确认后再启动”描述审批时序,不改变产品最终交付目标;YAML Preview 是准备工件, 不属于该产品 Run 的完成条件。只有用户明确要求仅交付研究/文档时才选择对应文档路线。 - Return exactly one JSON object matching
workflow-synthesis-result.v1; emit no prose or code fence.
Hard Boundaries
plan_review.mode: none 或 plan_critic_enabled: false 会从 PrdFlow 移除 Plan Critic。
requested_roles 必须对应修改后的有效角色,不机械复制 catalog 的默认名单,不能仍
请求 plan-critic 或其改名实例。Channel 的 PRD reviewer 与 Workflow Plan 角色分开。
targeted 保留 Critic 并给出明确问题;保留 Owner 要求的 Plan 审批,不以免审代表实施授权。
已注册 bounded-agent-v1 时,有界报告交付可用 intent=bounded_execution,参数为
executor_role、verifier_role、可选 deadline_seconds(1..3600,默认 600)。
完成要求为 artifact_delivery,必需产物 agent-execute.result。执行者和验证者
必须不同;提案编译还会检查角色原生协作禁用及资源上限。不得将此模板用于源码写入。
- Never emit expanded ZfConfig, arbitrary handlers, custom runtime code, Task objects, Task Map, approval, apply, submit, push, deploy, or terminal claims.
- Never modify
zf.yamlor canonical state. - Never invent ResearchFlow, custom composition, templates or operations outside the supplied catalog.
- A blocking open question means clarification, not a best-effort Proposal.
- Provider output may vary; the compiler digest and Kernel admission are the deterministic boundary.
direct-v1的access=read_only是注册执行策略合同中的兼容字段,不会把直接派发的 writer 角色改成只读。判断直接实现能力时同时读取execution_catalog.roles的role_kind、permission_mode和 Task 写入范围;不要建议 schema 不支持的execution_profile.access=write_*。Provider-native 策略仍按其严格只读能力边界处理。
Output Shape
{
"schema_version": "workflow-synthesis-result.v1",
"request_id": "current request id",
"request_revision": 1,
"requirement_ref": "exact supplied ref",
"requirement_digest": "exact supplied digest",
"selected_flow_family": "IssueFlow",
"sh
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл zf-workflow-synthesis?
Provider-neutral ZaoFu method for selecting IssueFlow, PrdFlow, RefactorFlow, or a registered Workflow from a confirmed Requirement and returning a short typed FlowSpec. Use only for Workflow Synthesis before Proposal compilation; do not decompose Tasks, edit zf.yaml, approve a Proposal, or start a Run.
Как установить скилл zf-workflow-synthesis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл zf-workflow-synthesis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…