project-resume
resume, handoff, prolog, todos, project-kb, session-state
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- project-resume
- license
- MIT
- description
- resume, handoff, prolog, todos, project-kb, session-state
02 资源文件 1
- 脚本scripts/prolog-resume4.0 KB
03 SKILL.md 正文
Skill: project-resume
Goal
Resume a repository session from its durable .prolog/ state instead of
prose handoff files: the LAST handoff, active TODOs, recent work, and the
knowledge-base summary — printed and enforced by one script.
Input
The current repository (a git tree containing .prolog/), or a path to
one. No arguments means: the working directory's repository.
Output
The enforced resume view, produced by
scripts/prolog-resume <repo-path>:
- LAST handoff — facts from
.prolog/handoff.pl(goal, state, next_action, blockers, coordinates, written). - ACTIVE todos —
todo(Status, Id, Text)with statusactive/nextfrom.prolog/runs/*.pl. - RECENT work — the newest
obs(Id, Text)entries across run journals. - KNOWLEDGE —
.prolog/kb/module list with fact counts.
Exit codes are the enforcement contract:
0— state found and printed; proceed withnext_action.2— no.prolog/at all: initialize per theprolog-project-kbskill (prolog-verify init) before resuming.3—.prolog/exists but NO handoff: write.prolog/handoff.pl(seeprolog-project-kb) before claiming to resume anything.
A staleness warning is printed (not fatal) when a run journal is newer
than the handoff: the TODOs and observations outrank the handoff's
next_action until a fresh handoff is written.
Rules
/resumeMUST run the script and act on its exit code; never reconstruct state from memory when the script exits non-zero.- The handoff is
.prolog/handoff.pl— flathandoff(Key, Text)facts, last-write-wins, committed like KB files. Org/Markdown handoff files are superseded: do not create new ones for repositories using.prolog/. - Selection of what to do next follows TODO state rules from the
prolog-project-kbskill; this skill only restores and verifies view state.
04 同仓库更多 Skills
unknown-frontmatter
validator, fixture
zara-phone-pair
zara, phone, pairing, adb, wireless-debugging, curve, enrollment, android
zara-mcp
zara, mcp, stdio, http, tools, resources, prompts, debugging
youtube-context
youtube, transcripts, yt-dlp, whisper, video-context
worker-orchestration
workers, routing, delegation, fleet, budgets, concurrency
task-steward-worker
steward, rage, leases, fencing, heartbeat, receipts