feat: add /bye skill — session-end safety check#636
Open
sensdiego wants to merge 1 commit intogarrytan:mainfrom
Open
feat: add /bye skill — session-end safety check#636sensdiego wants to merge 1 commit intogarrytan:mainfrom
sensdiego wants to merge 1 commit intogarrytan:mainfrom
Conversation
Commits uncommitted work, updates PROGRESS/HANDOFF docs, runs lint, checks Linear issue status, and captures session learnings to memory. Auto-fixes routine items, asks only for unusual or destructive actions. 6 sequential blocks: Git Hygiene → Documentation Update → Code Quality → Linear Sync → Memory Check → Final Report with traffic light verdict. Born from a real workflow gap: /ship handles "push to remote" and /review handles "is this mergeable?" but nothing handled "is it safe to close this session?" Context loss between sessions is the garrytan#1 productivity killer for builders running long AI coding sessions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/bye— session-end safety check that commits uncommitted work, updates PROGRESS/HANDOFF docs, runs lint, checks Linear issue status, and captures session learnings to memoryOrigin story
Running 180 Claude Code sessions/month across 9 repos, the #1 source of wasted time is context loss between sessions: uncommitted changes, stale PROGRESS.md, forgotten Linear updates.
/shiphandles "push to remote" and/reviewhandles "is this mergeable?" but nothing handled "is it safe to close this session?"/byefills that gap. It's the/shipfor session hygiene.What it does
Key design decisions
sensitive: true. Factory Droids won't auto-invoke it.Files
bye/SKILL.md.tmpl— 378 lines (source template)bye/SKILL.md— 684 lines, ~7.5k tokens (generated)Test plan
/byein a repo with uncommitted changes — verify auto-commit/byein a repo with PROGRESS.md — verify append with correct format/byein a repo with HANDOFF.md — verify rewrite preserves locked decisions/byein a repo with no docs — verify it asks before creating/byeoutside a git repo — verify graceful skip to memory-only/byein a clean repo (nothing to do) — verify all-green report🤖 Generated with Claude Code