wrap-up
Originally fromrohitg00/pro-workflow
Installation
SKILL.md
Session Wrap-Up
A session-end workflow in phases, not a single parallel check. Run them in order:
- Preflight — confirm the repo and capture the branch.
- Gather (read-only checks 1 to 6) — collect status; write nothing.
- Report — deliver one consolidated status checklist.
- Commit and push (gated, autonomous) — record side-effects, then commit pending work.
- Optional follow-ups (opt-in, batched into one prompt) — skill and learning loops.
Report-only mode. If Ane invokes /wrap-up report, /wrap-up --report-only, or asks for status only, run phases 1 to 3 then STOP. Do not write, commit, or run any follow-up.
Date. Use the current date from the session environment. Never guess it.
Phase 1 — Preflight
Run git rev-parse --git-dir 2>/dev/null. If it fails (not a git repository), skip the git, harness, and commit sections. Run only checks 3 and 4, deliver a short report, and end with: