Skip to content

docs(skill): add session checkpoint guidance#94

Open
vibe-cy wants to merge 1 commit into
zarazhangrui:mainfrom
vibe-cy:feat/session-checkpoint-hitl
Open

docs(skill): add session checkpoint guidance#94
vibe-cy wants to merge 1 commit into
zarazhangrui:mainfrom
vibe-cy:feat/session-checkpoint-hitl

Conversation

@vibe-cy

@vibe-cy vibe-cy commented Jul 2, 2026

Copy link
Copy Markdown

Problem

Frontend Slides has several human-in-the-loop decision points, such as content discovery, style selection, PPT extraction confirmation, delivery, and share/export choices. These decisions currently live only in the active agent conversation, so a resumed or interrupted task can lose user-approved context and ask repeated questions.

Solution

Add lightweight session checkpoint guidance to the skill workflow using .frontend-slides/session.json. The checkpoint records compact, factual human decisions and generated artifacts across the main phases, while making clear that the file is only for agent resume and must never appear as slide content.

Changes

  • Documented .frontend-slides/session.json as a lightweight resume checkpoint.
  • Added checkpoint write points for mode detection, content discovery, image evaluation, style selection, PPT confirmation, delivery, and share/export.
  • Added resume guidance to read an existing checkpoint before asking questions.
  • Mirrored the same guidance in the packaged plugin skill.

Testing

  • cmp -s SKILL.md plugins/frontend-slides/skills/frontend-slides/SKILL.md
  • bash -n scripts/deploy.sh scripts/export-pdf.sh
  • PYTHONPYCACHEPREFIX=/tmp/frontend_slides_pycache python3 -m py_compile scripts/extract-pptx.py

Notes for Reviewer

This is intentionally documentation-only and keeps the current zero-dependency workflow unchanged. The checkpoint is a small skill-level contract for preserving human decisions across interrupted agent runs, not a new runtime state machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant