task-completion
Post-task checklist for CHANGELOG, TIME_LOG, SYMBOLS/MAP, RESUME, and memory commits. Execute after completing a task that modified files outside `.memory/`. Do NOT run for pure discussion, memory-only maintenance, or skeleton syncs.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 13
- Forks
- 3
01 前言 Front Matter
- name
- task-completion
- license
- MIT
- description
- Post-task checklist for CHANGELOG, TIME_LOG, SYMBOLS/MAP, RESUME, and memory commits. Execute after completing a task that modified files outside `.memory/`. Do NOT run for pure discussion, memory-only maintenance, or skeleton syncs.
02 资源文件 1
03 SKILL.md 正文
Task Completion Checklist
A task is NOT complete until every applicable item below is done. Execute this immediately after the last implementation step — before responding to the user or starting anything else.
Step 0 — Applicability Gate
- [ ] Run
git status --porcelainin the repo root. - [ ] If the only changed paths are inside
.memory/, or there are no changes at all → STOP. This is not a development task (pure discussion, read-only analysis, memory-only maintenance). Do not run the steps below. Respond to the user directly. - [ ] Exception: if a workflow invoked this skill explicitly (e.g.
publish-adrorpublish-postmortemafter a Confluence publish with no local file changes) — proceed through every step regardless. The workflow knows it did real work.
Step 1 — CHANGELOG
- [ ] Add an entry to
.memory/CHANGELOG.mddescribing what changed and why. - [ ] Skeleton repos only: if the change touches any workflow or skill file,
append
affected: name, name, ...at the end of the entry (bothCHANGELOG.mdand.memory/CHANGELOG.md). Omit if no workflow/skill changed. Seereferences/skeleton-contribution-checklist.mdfor the full rule. - Skip only if zero files were modified (e.g. pure analysis tasks).
Step 2 — SYMBOLS / MAP
- [ ] If any class or function was created, renamed, or deleted →
update the relevant symbol file. Split mode: update
symbols/[module].mdand the SYMBOLS.md index counts. Single-file mode: update the module section in SYMBOLS.md. - [ ] If a module was added or architecture changed → update
.memory/MAP.md. - Skip only if no structural changes were made.
Step 3 — TIME_LOG
- [ ] If this was a development task (feature, tech debt fix, hotfix), record it in
.memory/TIME_LOG.mdwith:- Task ID (ticket ID or DEBT-ID)
- Date
- Estimated human hours (from the plan)
- Agent start and end time
- Agent duration
- Files changed (count and list)
- Status (completed / partial / blocked)
- This step is mandatory for all development tasks. Not optional.
Step 4 — Knowledge Bus (if blueprint configured)
- [ ] If this change affects cross-platform contracts or shared business logic,
and the project has a
Blueprint Pathin.memory/CONFIG.md→ create a Knowledge Bus entry in the blueprint'sbus/directory. - [ ] After creating the bus entry, commit and push it to the blueprint repo:
bash git -C [BLUEPRINT_PATH] add bus/ && \ git -C [BLUEPRINT_PATH] commit -m "bus: [short description] from [PLATFORM] agent" && \ git -C [BLUEPRINT_PATH] push origin [BLUEPRINT_DEFAULT_BRANCH]If the push fails (e.g. merge conflict), warn the user — do not force-push. The bus entry exists locally and will be picked up on the next manual push. - Skip if no blueprint is configured, or if the change is purely project-specific.
Step 5 — Skeleton Contribution (skeleton repos only)
- [ ] If
Skeleton Pathin.memory/CONFIG.mdis.(this IS the skeleton repo), read and executereferences/skeleton-contribution-checklist.md. - Skip entirely for downstream projects (Skeleton Path ≠
.).
Step 6 — RESUME.md and BACKLOG.md
6a — RESUME.md
- [ ] Update
.memory/RESUME.mdwith:- Task outcome (what was done)
- Current status
- Any follow-up work needed
- [ ] If no more tasks are pending, set Status to IDLE.
6b — BACKLOG.md (if .memory/BACKLOG.md exists)
- [ ] If this task was tracked in BACKLOG.md, move its row to the Done section. Cap Done at 5 entries — drop the oldest if needed.
- [ ] If
RESUME.mdNext Task is now empty and BACKLOG.md has P0 or P1 items, pull the highest-priority item intoRESUME.mdNext Task. - [ ] When adding a new item to BACKLOG.md: if Jira is configured
(
jirain Supported Tools in CONFIG.md), prompt the user for the Jira ticket key and populate theJira Ticketcolumn. Leave blank if no ticket exists — this marks the item as a local intention not yet planned in Jira. - Skip if BACKLOG.md does not exist (pre-v1.51.0 project — remind user to run sync-skeleton).
6c — Discussion resume check
- [ ] Read
.memory/RESUME.mdSession Notes. - [ ] If any
DISCUSSION PAUSED:entries exist → invoke thediscussion-continuityskill (Operation B) to resurface the discussion before ending this response. Re-ask the open gate question explicitly. Do NOT skip this — a paused discussion means the user is waiting for a continuation, not a task summary. - Skip if Session Notes has no
DISCUSSION PAUSED:entries.
Step 7 — Memory commit
- [ ] Commit all
.memory/changes to the ai-memory branch:cd .memory && git add -A && git commit -m "agent: completed [task summary]" && git push origin ai-memory - RESUME.md is excluded from commits (it is local-only via .gitignore on ai-memory).
Step 8 — Completion summary
Before responding to the user, state:
- Steps executed: [list each step that was run]
- Steps skipped: [list each step that was skipped, with a one-line reason]
This makes skip decisions visible to the user for review. Do not omit this step.
Common Rationalizations
| Rationalization | Why it's wrong | Do this instead |
|---|---|---|
| "This was a tiny change, no CHANGELOG needed" | If files were modified, CHANGELOG gets an entry. Size doesn't matter. | Write the entry. |
| "TIME_LOG is just bookkeeping, the user doesn't care" | TIME_LOG tracks agent ROI. Skip it and the framework loses its value case. | Always log. |
| "I'll update RESUME later" | There is no later — your context dies when this session ends. | Update now. |
| "No structural changes, I can skip SYMBOLS/MAP" | Did you add a public function? Rename a class? Verify before skipping. | Check, then decide. |
| "The memory commit can wait until end of session" | If the session crashes, uncommitted memory is lost. | Commit after every task. |
| "I already responded to the user" | The gate says: ALL steps BEFORE responding. | Go back and finish. |
| "The completion summary is redundant" | It makes skip decisions visible — a review mechanism, not a status update. | Always include it. |
Gate: Do not respond to the user or start the next task until all applicable steps above are checked off and the completion summary is stated.
04 同仓库更多 Skills
setup-project
When setting up agentskel on a new project that does not yet have .memory/ or .agents/. Use when the user says "set up agentskel", "install agentskel", or "add agent memory to this project".
using-git-worktrees
When running long feature implementations, parallel branch work, or build/test scripts that must not interfere with the user's active working directory. Creates isolated execution environments via git worktrees in sibling directories.
test-engineer
When designing test strategy, analysing coverage, or writing tests outside the TDD cycle. Also use when working with CI pipelines or validating changes end-to-end.
test-driven-development
When implementing logic changes during develop-feature or implement-task. Use the Red-Green-Refactor cycle to write a failing test before any production code.
task-planner
When decomposing a feature or spec into implementable subtasks, estimating scope, or orchestrating multi-step work across subagents.
systematic-debugger
When applying debugging techniques during any investigation — root cause tracing, bisect, defense-in-depth. Enforces hypothesis-first analysis and prohibits guess-and-check changes. Use standalone or inside the debug-issue workflow.