From mecris-skills
Serialize session state after work is complete. Closes the plan issue, updates NEXT_SESSION.md, appends to SESSION_LOG, and commits. Handles partial completion honestly. The on-save arm. Trigger with /mecris-archive
npx claudepluginhub kingdonb/mecris --plugin mecris-skillsThis skill uses the workspace's default tool permissions.
State serialization skill for the Mecris accountability system. Runs last in every session. Makes the next instance — which wakes with zero memory — whole again.
Verifies session work against agreed plan, creates issues for gaps and carryover tasks, runs quality gates, commits changes, mirrors to GitHub, and generates summary. Triggered by /close.
Saves session progress by committing changes, pushing to remote, creating/updating pull requests, persisting decisions/patterns to memory layers, compiling briefings, and archiving features. Use for checkpointing work or PRs.
Generates and saves Markdown session logs capturing objectives, file changes, referenced materials, technical notes, future plans, open items, and metrics to resume project work across conversations.
Share bugs, ideas, or general feedback.
State serialization skill for the Mecris accountability system. Runs last in every session. Makes the next instance — which wakes with zero memory — whole again.
/mecris-archiveRuns the full archive workflow:
NEXT_SESSION.md to reflect current realitySESSION_LOGUsage: Type /mecris-archive when the work is done. Always runs, even on failure.
Find the open [plan] issue created this session and close it with a comment:
## ✅ Complete / ⚠️ Partial / ❌ Did not complete
**What happened**: {one paragraph — what was actually done, not what was planned}
**Diverged from spec**: {yes/no — if yes, explain what changed and why}
**Unfinished**: {anything from the plan that didn't get done — carried forward to NEXT_SESSION.md}
**Validation**: {did the validation criterion from the plan pass? cite evidence — test output, git log, issue number}
Use the honest status icon. Partial is not failure — it is accurate.
NEXT_SESSION.md is the state noun. It must reflect reality after this session, not before.
Structure:
# Next Session: {one-line description of the most pressing pending item}
## Current Status ({TODAY'S DATE})
{2-5 bullet points describing what is true right now — not aspirations, facts}
## Verified This Session
{Items that were confirmed working — with [x] checkboxes}
## Pending Verification (Next Session)
{Items that need checking — specific, testable, with enough context to act without reading anything else}
## Infrastructure Notes
{Anything about the running system that is non-obvious — cron status, disabled features, schema changes}
Rules:
Append (do not overwrite) a dated entry:
## {DATE} — {one-line summary of what was done}
**Planned**: {what the plan issue said}
**Done**: {what actually happened}
**Skipped**: {what didn't happen and why}
**Next**: {the single most important thing for the next session}
git add NEXT_SESSION.md SESSION_LOG scripts/bot-prompt.txt
git commit -m "archive({DATE}): {one-line summary}
Plan: #{issue_number}
Status: complete|partial|incomplete
Next: {most pressing pending item}"
If the bot ran out of turns, the work failed, or scope expanded mid-run:
The integrity of the loop depends on honesty here. The next instance will trust what it reads.
mecris-bot <mecris-bot@noreply>) — git config is already set in the workflowNEXT_SESSION.md and stop.session_log.md in the repo root