一键导入
handoff
Use when a session ends, work must pause, or another agent will continue the task to commit changes, run tests, and store handoff memory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a session ends, work must pause, or another agent will continue the task to commit changes, run tests, and store handoff memory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when Ground Truth alignment finds memory contamination and the user explicitly requests scoped cleanup with /cleanse.
Use when registering, reviewing, merging, or rebuilding HXSK glossary term definitions after glossary-detect suggests a candidate or the user invokes /define.
Use when staged changes exist requiring qlty checks, logical split detection, or HXSK phase-scoped conventional commit creation.
Use when validating code for circular imports, layer violations, or design doc logic errors before merging architecture-level changes.
Use when .hxsk/.bootstrap-version is missing (fresh install) or exists (verify/update) to initialize HExoskeleton.
Use when shell scripts need linting/formatting before execution or commit to ensure code quality.
| allowed-tools | ["Read","Bash","Grep","Glob"] |
| description | Use when a session ends, work must pause, or another agent will continue the task to commit changes, run tests, and store handoff memory. |
| name | handoff |
| trigger | 세션 종료, 핸드오프, session end, handoff, 인수인계, wrap up session, 작업 정리, 세션 정리, 중단, 일시정지, checkpoint, suspend, save state, 다음 세션, 이어받기, continue next, resume work, 상태 저장, 작업 넘기기, session checkpoint, wrap up, finish session |
session-handoff 태그로 Completed/In Progress/Next Steps 구조 준수현재 작업 상태를 확인합니다.
git status
git diff --stat
판단 기준:
scripts/detect-language.sh의 함수를 활용하여 언어 비종속적으로 테스트를 실행합니다.
source .hxsk/scripts/detect-language.sh
RUNNER=$(detect_test_runner)
PKG=$(detect_pkg_manager)
TEST_CMD=$(get_test_cmd "$RUNNER" "$PKG")
테스트 결과 분기:
RUNNER=unknown) → 스킵, Step 3으로 진행중요: 핸드오프 시점에서 실패한 테스트를 수정하지 않는다. 실패 사실만 기록하여 다음 세션에 전달.
commit 스킬을 활용하여 커밋합니다.
commit 스킬 워크플로우 실행
git push 실행
git push -u origin <branch> 사용md-store-memory.sh로 세션 인수인계 정보를 저장합니다.
bash .hxsk/hooks/md-store-memory.sh \
"Session Handoff: <session-goal>" \
"<content>" \
"handoff,session,<scope-tags>" \
"session-handoff" \
"<keywords>" \
"<contextual_description>" \
"<related-memory-slugs>"
<content> 필드는 아래 구조를 따릅니다:
## Completed
- [task/feature 완료 목록]
## In Progress
- [진행 중이던 작업 + 현재 상태]
## Blocked / Failed
- [블로커 또는 실패한 테스트 목록]
## Next Steps
- [다음 세션에서 이어할 작업 목록, 우선순위 순]
## Key Decisions
- [이번 세션에서 내린 주요 결정사항]
## Commit History
- <commit-hash>: <description>
아래 형식으로 요약을 출력합니다:
---
SESSION HANDOFF
Branch: <branch-name>
Last Commit: <hash> — <message>
Test Status: PASS | FAIL (N failures) | SKIPPED
---
Completed: <bullet list>
In Progress: <bullet list>
Next Steps: <bullet list>
---
executor 스킬 실행 중 세션이 종료되어야 하는 경우:
executor의 Phase Checkpoint Commit 절차 실행| Anti-Pattern | 올바른 방법 |
|---|---|
| 핸드오프 시 실패 테스트 수정 시도 | 실패 사실만 기록, 수정은 다음 세션 |
| 메모리 저장 없이 커밋만 | 반드시 session-handoff 메모리 저장 |
| "다 끝났다"만 기록 | Completed/In Progress/Next Steps 구조 준수 |
| push 없이 종료 | 반드시 remote에 push |
| PLAN.md 상태 업데이트 누락 | executor 연동 시 PRD/PLAN 상태도 반영 |
NO TEST FIX WITHOUT NEW SESSION START NO COMMIT WITHOUT HANDOFF MEMORY STORE NO SESSION END WITHOUT GIT PUSH NO HANDOFF WITHOUT STATUS CHECK NO HANDOFF SUMMARY WITHOUT STRUCTURED CONTENT NO MID-EXECUTION HANDOFF WITHOUT PHASE CHECKPOINT