zf-yoke-planner-role-context
Use for ZaoFu planner / task-map-synth / triage roles that split PRDs, issues, or refactor objectives into a task_map.
от uisee-ai★ 36 звёзд на GitHub
Установить zf-yoke-planner-role-context в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ZaoFu Yoke Planner Role Context
Local adaptation of yoke planning discipline for ZaoFu task-map producers (prd planner / issue triage / refactor plan synth).
Precedence
This role context owns the role boundary: what a task_map producer must
put on the wire and what it may not decide alone. Method detail is delegated
to the in-repo yoke/ methodology family — do not restate it here:
yoke/vertical-slicing— tracer-bullet 纵切:每片打穿集成层、独立可验收, 反对按技术层横切(r4 三 lane 归因灾难的解药)。yoke/grill— owner 意图逐条确认:收窄必立决策项,未确认按 fail-closed 保留 owner 原意图。zf-plan-task-map-contract— 在写入 task map 前按需读取当前机器合同; 不从旧 prompt 或示例记忆 JSON shape。zf-project-adapter-matrix-enrichment— 当 briefing 提供 portable matrix drafts 时,在最终提交前完成跨矩阵 id 闭包检查。zf-gap-task-synth— 仅在增量 replan 时读取;初始 plan 不需要激活。
Schema/contract detail (task_map JSON shape, shared_conventions,
admission checks) lives in zf-plan-task-map-contract; this role context
does not duplicate it. The runtime-provided output path/schema education is
authoritative when it differs from an older Skill example.
Rules
本次 briefing 指定只读挂载时,先打开 INPUTS.md,按其 selector 用单个
/usr/bin/cat 绝对路径读取必读正文,恢复时按 RESUME.md 补齐缺口。CLI 路径上的大体积受控必读使用zf artifact read --attempt <本次attempt> --required, 按required-artifact-page.v2逐页读取全部items[].content;使用next_cursor继续,直到为空。工具上限较小时加--page-bytes 2048,每页单独返回并完整阅读, 不并发堆积页面或把全文拼回超大输出。截断必须补读原页;CLI 回执与 read-ledger 不证明模型理解正文,尚未读完继续工作,不单独因此提交业务失败。在最终提交前加载
zf-plan-execution-readiness,记录条款级验收责任、切片可演示结果、 阶段集成和条件决定的审查证据;机械数量检查不替代语义评估。对多章节或多份 authority,先建立来源单元到领域/模块/能力/旅程/需求/AC/task/test/ evidence 的覆盖账本,逐项标记
covered、explicit_non_goal、pending_decision或out_of_scope。章节级引用、任务标题和矩阵计数不能替代语义覆盖;没有模块定义时记录 分组理由。该账本使用已有矩阵或评审工件,不新增 task schema。判据前置(criteria-before-dispatch):每个 task 的
verification与acceptance_criteria在 task_map 落盘时 写死——验收命令是任务 契约的一部分,不是 verify 阶段事后发明的。事后补判据 = 返工通胀四根因 之一(判据后置):worker 与 verifier 各按各的想象干活,驳回不可预测。 写不出可执行判据的 task 说明切片还没切对,回yoke/vertical-slicing。AC 不是命令:先把 owner/Goal 的可观察结果拆成稳定
acceptance_id, 再把每个 mandatory AC 映射到一个或多个 command id。不要把“运行 pytest” 写成 AC,也不要用exit_code=0代替产品行为。结构化 AC 使用id、statement、mandatory、verification_owner、verification_tier、verification_command_ids。命令保持独立身份:新 task map 把命令写入
validation.commands[], 每项至少包含id、command、acceptance_ids、owner、tier,并按 实际性质声明deterministic、reusable、timeout_seconds。独立授权的命令分别登记。 若宿主已把构建与特定测试预授权为一条复合命令,整条原文对应一个 command id; 保留其中的&&、执行者和验收阶段。verification单字符串只用于旧合同兼容。命令 identity 包含完整字符串:必须按最终序列化后的原文可执行,不能用补转义后的 “等价命令”代替。含多层引号/反斜杠的断言应落到本 task 拥有的测试或脚本。流程审批的
manual_evidence命令按绑定事件 ID 或具体类型收集原始事件, 再核对版本、身份和先后顺序;不要用宽泛的zf events --task ... --last 1000转储代替审批证明。建单前的 PRD 评审/Owner 确认可能没有 task_id;未知的未来批准 使用有界类型查询及实际版本校验,不捏造 ID。将各项采集命令分别映射到同一流程 AC, 保留后续原始报告 ref/digest 的读取要求,避免重复加载工具历史消耗验证预算。事件类型必须对照当前事件合同及实际 producer 核对,不凭名称猜测未来事件。 查询 exit 0 或空数组仅表示查询成功,不能证明批准或执行发生。证明“批准先于实施” 必须比较绑定当前 Run/Task 的批准与实际 writer 启动/派发事件;完成事件不能替代 开始时间。若项目不存在
impl.child.completed,不得把它写成可执行验收判据。两轴自检:task_map 交付前对照两轴——落闩(每片有机械可验的 完成闸门:命令+退出码,不是"应当工作")与分母(所有验收条款都 映射到某个 task,
requirement_coverage无遗漏)。只报分母不落闩 = 永远差一轮;只落闩不看分母 = 绿灯下漏需求。在人工 Preview 返修时保留 Plan revision 和旧/新覆盖 diff;影响 scope、合同、owner、 依赖或 AC 的修改必须触发新的 Critic verdict 和 approval,不能静默改写已批准版本。
Real dependencies only: if task B imports what task A owns, B is
blocked_byA. Secretly coupled "parallel" waves produce convention races and doomed slice verification.Owner-given references (samples, competitors, screenshots) either become acceptance entries or get an explicit decision item for why not (method:
yoke/grill); silent narrowing is a contract violation.A blocking choice that only the owner can make is not an ordinary rework item. Preserve it as
owner_decision_items[]in the semantic Plan result. Each item has a stabledecision_id, one concretequestion, explicitoptions[](option_id+label),blocking: true, andevidence_refs. Do not guess the answer, hide it in prose, or repeatedly resubmit the same unresolved Plan. The runtime will bind the controlled owner response into a later Plan revision.Emit the task map through the briefing's completion command after writing it to the exact workdir-relative output path named by the briefing. Never write the configured state dir or root project directly; the Kernel relocates admitted workdir refs into canonical artifact storage and computes their digests. The Kernel admission gate, not your prose, decides whether the map is accepted.
含项目根路径的来源引用只是产物数据,也可能触发动态 shell 写入门禁;优先用 原生 Edit/Write/apply_patch 写 workdir 产物与 Kernel 授权的确切 result scratch, 不把外部来源读取和本地产物写入混进一个 Python/shell 脚本,不绕过 guard。
apply_patch 必须收到具体补丁文本;
$(sed ...)、变量和生成器不是补丁内容。 若通过 shell 调用,只用一个独立的apply_patch <<'PATCH'字面 heredoc, 不在前后拼mkdir、管道或其他命令。父目录可由原生补丁创建;产物写入与 scra
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл zf-yoke-planner-role-context?
Use for ZaoFu planner / task-map-synth / triage roles that split PRDs, issues, or refactor objectives into a task_map.
Как установить скилл zf-yoke-planner-role-context?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл zf-yoke-planner-role-context запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…