원클릭으로
sleep
End-of-session context preservation via GitHub Issues
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
End-of-session context preservation via GitHub Issues
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | sleep |
| description | End-of-session context preservation via GitHub Issues |
| user-invocable | false |
End-of-session context preservation via GitHub Issues.
Preserve all relevant session context so the next session can continue seamlessly without re-explaining anything. Context is stored in GitHub Issues in the PA repo.
Before creating any issues, evaluate if there's actually pending work:
SKIP context preservation if ALL of these are true:
If nothing is pending → Just say goodnight. Don't create unnecessary issues.
CREATE context issue only if:
Determine what the session was about:
Search for open issues that match the current topic:
gh issue list --repo YOUR_USERNAME/PersonalAssistant --state open --search "<topic keywords>"
Append new context to the issue body:
gh issue edit <issue-number> --repo YOUR_USERNAME/PersonalAssistant --body "$(cat <<'EOF'
<existing body content>
---
## Session Update: <date>
<new findings, decisions, next steps>
EOF
)"
Create comprehensive issue with all context:
gh issue create --repo YOUR_USERNAME/PersonalAssistant \
--title "<Descriptive title>" \
--body "$(cat <<'EOF'
## Goal
<What we're trying to achieve>
## Context
<Background, constraints, user preferences>
## Research/Findings
<Everything discovered in the session>
## Decisions Made
<What was ruled out and why>
## Open Questions
<What still needs to be answered>
## Next Steps
<Specific TODOs for next session>
---
*Created from Claude Code session <date>*
EOF
)"
Provide the issue URL and brief summary of what was saved.
Include generously:
Don't worry about:
## Goal
<1-2 sentence objective>
## Requirements
- ✅ Must have X
- ❌ Ruled out Y (reason)
## Candidates/Options
### Option 1: Name
- What it is
- Pros/cons
- Links
- TODO items
### Option 2: Name
...
## Session Context
- User setup details
- Relevant existing tools/skills
- Preferences discovered
## Next Steps
- [ ] Research task 1
- [ ] Try approach X
- [ ] Ask user about Y
---
*Session date, any other metadata*
Morning routine auto-surfaces sleep issues. The morning-routine skill checks for open issues containing "Created from Claude Code session" and presents them before triage, asking user if they want to continue.
If user returns outside morning routine and mentions the topic, PA should:
Google Apps Script development best practices learned from production. Use when building Apps Script automation, payment API integrations, Google Sheets menu functions, modal dialogs, Poka Yoke quality gates, or running Apps Script functions from CLI. Covers UI dialog philosophy, API field discovery, submission architecture (source_amount vs transfer_amount), clasp CLI logging, run-appscript.sh function execution, and gate flow design.
Orchestration overview for the autonomous issue dispatch system. Handles bugs AND features from ANY entry point. References the component skills (dispatcher, handler) and per-project skills (bug-intake, qa-submission). Use when user says "dispatch", "fix these issues", "batch implement", "implement this", "build this", "develop this", "here's a plan", or any implementation/feature/fix request — including direct conversational requests to Claude Code.
Generalized Slack bug intake. Scans bug-report channels, auto-fixes small bugs, dispatches big work with clear specs, defers only genuinely ambiguous items to owner. Uses emoji reactions to track state. Each repo provides workspace config via local bug-intake skill. Supports shared channels where multiple repos receive bugs from one Slack channel via semantic routing.
PreToolUse hooks that block direct production database access and raw SQL write operations. Prevents bypass scripts that skip Drizzle ORM migration tracking, and HARD BLOCKS raw psql writes with no bypass — all writes must go through Admin API.
Standard development SOP for ALL code changes — bug fixes, features, refactors, any implementation. Defines the universal pipeline (investigate → fix → test → deploy → QA) and scope-based decision matrix. Also provides continuous scanning mode for autonomous operation. Use when implementing ANY code change, fixing bugs, building features, or when user says "start dev loop", "cowork", "fix this", "implement this", "build this". Each workspace can override with local skill.
Knowledge management for Claude Code projects. Use when: creating skills or agents, deciding where to put new knowledge (skill vs CLAUDE.md vs reference-data vs memory vs agent), routing information, CLAUDE.md hygiene, editing/modifying CLAUDE.md or skills or agents or memory files, extracting content from bloated files, or any discussion about knowledge architecture, documentation structure, or SOP placement. MUST be invoked BEFORE proposing any edits to CLAUDE.md, skills, agents, or memory - no exceptions.