zf-harness-design-handoff
Use when you are arch about to emit arch.proposal.done OR critic about to emit design.critique.done. Defines the shared schema both sides agree on so…
от uisee-ai★ 36 звёзд на GitHub
Установить zf-harness-design-handoff в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ZaoFu Design Handoff (arch ↔ critic ↔ orchestrator)
Why this skill exists
Stage ② design (arch) and stage ③ design_critique (critic) feed stage ④
backlog (orchestrator). Arch may create rich candidate plan/backlog
artifacts, but only orchestrator accepts/merges them into final task
contracts. If arch and critic don't agree on the event payload shape,
orchestrator can't deterministically synthesize the 6
required_backlog_refs (docs/impl/22-zaofu-canonical-dag.md §4.2.1)
and task.contract.invalid blocks dev dispatch.
This skill is the contract between three roles.
Ref channels (do not mix)
ZaoFu accepts planning output from any content skill pack, but lifecycle event payloads use a stable adapter contract:
artifact.manifest.published.artifact_refsis the structured manifest channel: object refs withkind/path/sha256/summary/status.arch.proposal.done/design.critique.done/ terminal gate events useartifact_refsas a string path list only. If you need structured metadata, publish a manifest first and reference its event id.artifact_manifest_event_idlinks the lifecycle event back to the structured manifest. This keeps ZaoFu independent from whether the content came fromagent-skills, yoke, a project-local skill pack, or a different provider.
Schema arch MUST emit (arch.proposal.done)
{
"summary": "<one-sentence behavior statement; goes into contract.behavior verbatim>",
"file_plan": [
"packages/foo/src/bar.ts",
"test/unit/foo/bar.test.ts",
"packages/foo/package.json"
],
"test_plan": {
"framework": "vitest" or "pytest" or "...",
"location": "test/unit/foo/bar.test.ts",
"cases": [
"happy_path",
"boundary_zero",
"boundary_max",
"invalid_input_throws"
],
"min_required": 4
},
"verification_command": "PATH=... pnpm install --frozen-lockfile && pnpm exec vitest run test/unit/foo/bar.test.ts",
"scope_compliance": {
"respects_exclusions": true,
"touches_only_listed_files": true
},
"risks_and_clarifications": [
"RISK-1: <thing reviewer should check>",
"..."
],
"evidence_refs": [
"packages/foo/package.json",
"docs/specs/phase-1/...",
"CLAUDE.md §6"
],
"artifact_manifest_event_id": "evt-<artifact.manifest.published id>",
"artifact_refs": [
"docs/plans/foo-implementation-plan.md",
"docs/plans/foo-backlog.md"
],
"dispatch_id": "<from briefing>"
}
Required fields: summary, file_plan, test_plan (or verification_command), dispatch_id.
Optional but strongly recommended: risks_and_clarifications, scope_compliance,
evidence_refs, artifact_manifest_event_id, artifact_refs. These reduce
critic's auditing effort and let orchestrator pre-populate
contract.exclusions and contract.evidence_contract.
If arch created rich artifact metadata, it MUST be published in
artifact.manifest.published before arch.proposal.done. Do not paste object
refs into arch.proposal.done.artifact_refs; that field is a replayable string
path list for evidence gates.
Arch-authored planning artifacts are normally status=draft or
status=proposed. That status means "candidate input for critic and
orchestrator", not accepted runtime truth. Orchestrator may accept the candidate
as-is, merge several candidate artifacts into a new final artifact, or reject
the package and re-dispatch arch.
Schema critic MUST emit (design.critique.done OR gate.failed)
Success path (critic approves arch's plan)
{
"verdict": "approve",
"summary": "<one-line: what was reviewed and what conclusion>",
"risks": [], // empty or low-severity informational risks
"fix_items": [], // empty — nothing to fix
"evidence_refs": [
"arch event evt-...",
"packages/foo/package.json",
"docs/specs/..."
],
"dispatch_id": "<from briefing>"
}
Reject path — TWO event-type options (same semantic after P1/K2):
Option A — design.critique.done verdict=reject (preferred default):
{
"verdict": "reject",
"summary": "<reason in one sentence>",
"risks": [
"BLOCKER-1: <hard issue arch must fix>",
"RISK-2: <soft issue worth flagging>"
],
"fix_items": [
"concrete change arch must apply in v2",
"..."
],
"findings": [
{"axis": "correctness", "severity": "critical", "issue": "<file-level 定位 + 问题>"},
{"axis": "architecture", "severity": "high", "issue": "..."}
],
"evidence_refs": ["..."],
"next_action": "arch 重新发布 arch.proposal.done with fixes (a)..(b)..",
"dispatch_id": "<from briefing>"
}
findings 是可选的分级形状:每项 axis / severity / issue,
severity ∈ low|medium|high|critical。它与内核
workflow.dag.event_schemas 的 list_item + non_empty 校验档位对齐
(core/verification/event_schema.py 文档示例即
design.critique.done verdict=reject → required findings,list_item
required [axis, severity, issue] + severity enum)。**一旦项目为
design.critique.done 配置了分级 `find
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл zf-harness-design-handoff?
Use when you are arch about to emit arch.proposal.done OR critic about to emit design.critique.done. Defines the shared schema both sides agree on so orchestrator can synthesize the backlog (6 refs) at stage ④ without ambiguity.
Как установить скилл zf-harness-design-handoff?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл zf-harness-design-handoff запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies 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…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…