zf-backlog-batch-closeout
ZaoFu backlog/task batch closeout workflow for Codex or Claude. Use when the user asks to implement approved backlogs, finish a backlog batch, check whether a…
от uisee-ai★ 36 звёзд на GitHub
Установить zf-backlog-batch-closeout в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ZaoFu Backlog Batch Closeout
Objective
Turn an approved backlog batch into verified code, local commits, archived
tasks/ records, and an auditable merge-ready worktree handoff without pushing
or sweeping unrelated work into history.
Default repository-facing output is Chinese unless the user asks otherwise.
Preconditions
- Read
AGENTS.mdand follow ZaoFu backlog, task, commit, and verification rules before acting. - Use this skill only after the user has approved implementation of specific backlog/task items or asks to close out a completed batch.
- Do not turn analysis-only discussion, vague ideas, or unapproved candidates
into active tasks. Put those in
backlogs/orideas/only when requested. - Never push. If the user asks to push, switch to the commit/push skill after this closeout is complete.
- Never stage unrelated dirty files. If the worktree contains unrelated changes, list them and leave them unstaged.
Batch Model
Use this lifecycle:
backlogs/<item>.md --approval--> tasks/active/<item>.md
implementation --verify--> implementation commit
tasks/active/<item>.md --hash--> tasks/done/<item>.md
archive metadata --commit--> archive commit
worktree --audit--> merge-ready handoff
Two commits are preferred because done task records require the short hash
and title of the implementation commit:
- implementation commit: code/docs/tests for the approved work;
- archive commit: task files updated to
> 状态: doneand moved totasks/done/.
If the approved batch is docs/task-file-only and there is no implementation diff, make one archive commit and clearly say why there is no implementation commit.
Workflow
- Identify approved scope:
- list exact backlog/task files and source design docs;
- reject ambiguous "everything" if unrelated proposed items are present;
- keep unapproved items in
backlogs/.
- Activate:
backlogs/is gitignored (.gitignore:48), so typical candidates are untracked —git mvfails there (fatal: not under version control). Move withmv backlogs/<file>.md tasks/active/thengit add tasks/active/<file>.md;- only for the rare already-tracked file does
git mv backlogs/<file>.md tasks/active/apply; - if a task is already in
tasks/active/, keep its path; - preserve UTC filename and existing content.
- Implement:
- make the requested code/docs/test changes;
- keep runtime state out of git;
- update relevant design/impl/manual docs when behavior changes.
- Verify:
- run
python scripts/dev-verify.py plan --base devfrom the source worktree, inspect the changed-file/domain/reason output, then run the matchingpython scripts/dev-verify.py run --base dev; - if an approved source change is intentionally outside the known map,
pass exact
--tests <path>values and record why they close the impact; never weaken the selector or treat an unknown source path as no-test; - for skill-only changes, validate changed skills when a validator exists;
- record exact commands and results for task archival.
- run
- Implementation commit:
- inspect
git status --short --branch,git diff --stat, and relevant diffs; - stage only implementation files and active task files if activation must be recorded with the implementation;
- commit with a conventional prefix;
- do not push.
- inspect
- Implementation completeness audit:
- run
git status --short --untracked-files=allafter the implementation commit; - classify every residual path as approved-task work, unrelated pre-existing work, generated/runtime output, or a follow-up task;
- if approved-task work remains, do not archive the task as done: finish and verify it, or report the exact blocker;
- never make a dirty worktree appear clean with broad staging, destructive reset, or deletion.
- run
- Archive:
- get
git log -1 --oneline; - update each completed task's first paragraph to
> 状态: done; - include the short hash + commit title and a concise verification summary;
- move completed files to
tasks/done/withgit mv.
- get
- Archive commit:
- stage only task archive files;
- commit with
docs:orchore:as appropriate; - do not push.
- Prepare the merge handoff:
- capture
worktreewithgit rev-parse --show-toplevel,branchwithgit branch --show-current, andsource_headwithgit rev-parse HEAD; - run
git status --short --untracked-files=allagain after the archive commit; - for a
wip/*branch, setmerge_ready=trueonly when the worktree is clean; otherwise setmerge_ready=false, list every residual path, and leave the worktree and branch intact; - for a direct commit on
dev, reportmerge_ready=not_applicable; - list reports/screenshots/trace/replay evidence to preserve in the handoff. On an authorized merge, the merge owner archives and v
- capture
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл zf-backlog-batch-closeout?
ZaoFu backlog/task batch closeout workflow for Codex or Claude. Use when the user asks to implement approved backlogs, finish a backlog batch, check whether a batch is done, commit completed backlog work, or archive completed tasks according to AGENTS.md/CLAUDE.md. Moves approved backlog candidates into tasks, verifies implementation, commits without pushing, records the implementation commit before archiving done tasks, and produces a clean worktree handoff for later merge.
Как установить скилл zf-backlog-batch-closeout?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл zf-backlog-batch-closeout запускает скрипты?
Нет, скилл состоит только из инструкций (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…