본문으로 건너뛰기
Skillpedia
작업 및 프로젝트48k · #5764

session-handoff

하는 일

이 도구는 지금까지의 작업을 정리한 요약을 만듭니다. 무엇을 했는지, 어떤 결정을 내렸는지, 아직 무엇이 남았는지를 담아, 나 또는 다른 사람이 정보를 잃지 않고 이어서 작업할 수 있게 합니다.

사용하는 경우

  • ✓프로젝트 작업을 막 멈추려고 할 때.
  • ✓작업 세션을 비우거나 다시 시작할 때.
  • ✓작업을 넘기거나 다른 사람이 이어서 작업할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/session-handoff/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/session-handoff/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“나중에 이어서 할 수 있도록 지금까지 작업한 내용을 요약해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

프로젝트의 현재 상태를 분석하고, 중요한 결정과 남은 단계를 기록합니다. 이것을 다음 단계를 위한 명확한 문서로 정리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Session Handoff Skill

Purpose

Large context windows degrade in instruction adherence, reasoning precision, and tool accuracy as token counts accumulate. Long sessions fill with superseded plans, aborted scratchpads, and repetitive error traces. Resetting to a fresh session restores performance, but discarding context blindly introduces state loss, hallucinated progress, and repeated mistakes.

The session-handoff skill standardizes how an agent snapshots active state. It translates ephemeral working memory into an actionable, verifiable bridge document for the next session.

When to Use This Skill

  • Context usage approaches capacity (roughly >60%) and a reset is coming.
  • Before running /clear or /compact in Claude Code, Cursor, or Codex.
  • When switching tasks mid-session, or ending a coding session that another session (or agent) will continue.

Workflow: Ending a Session (6 Steps)

Run this sequence when an agent session reaches operational limits or when halting work:

  1. Audit Git and Workspace State Run git status -s and git diff --stat to establish grounded reality. Never rely on chat memory for what was modified. Identify modified, untracked, and staged files.

  2. Capture Goal State vs. Implemented Reality Define the original objective in one sentence. Document precisely what has been verified as working (with passing test commands or runtime checks) versus what remains partial or unverified.

  3. Record Decisions Made and Discarded Paths List architectural and design choices committed during the session, along with the concrete rationale. Explicitly record negative decisions (approaches tried and discarded) to prevent the next agent from re-attempting failed solutions.

  4. Catalog Files Touched and Relevant Symbols List key file paths, functions, classes, and schema definitions modified or referenced. Include line references where relevant.

  5. Isolate Open Loops with Owners and Checks List all unaddressed edge cases, failing tests, deferred tasks, and environment constraints. Every open loop must specify who resolves it (Human or Agent) and how completion is verified.

  6. Specify the Immediate Next Action Draft a single, atomic, unambiguous instruction for the next agent to execute on turn one. Do not provide a broad list; specify the exact command to run or file to edit first.


Operating Rules

  • Separate Facts from Speculation: A test that passed is a fact; assuming code works because it compiled is speculation. Label untested assumptions explicitly as [UNVERIFIED].
  • Mandate Owners and Verifications for Open Loops: Every open loop must state an owner (Human or Agent) and a deterministic verification criteria (e.g., pytest tests/auth/test_token.py:test_refresh_rotation passes).
  • Ban Vague Continuations: Never write "continue working on auth" or "finish frontend components." State the exact symbol, file, and failure mode.
  • Reference Real Workspace Identifiers: All references to code must use exact file paths and symbol names. Do not use generalized pseudocode descriptions.

Worked Example: Session Handoff Note

# Session Handoff: JWT Rotation Implementation

### Goal & Current State
- **Target Goal**: Implement refresh token rotation and revocation in the FastAPI auth service.
- **Current State**: Refresh token database migration applied and rotation endpoint created. Token generation and database persistence work. Revocation blacklist cache is not yet wired into the dependency validator.
- **Verification**: `pytest tests/test_auth_tokens.py` passes (4/4 tests).

### Decisions Made (With Reasons)
- **Used Redis for Token Revocation List**: Selected Redis over Postgres lookups for revoked JTI tokens to keep latency under 5ms on protected routes.
- **Rejected Stateless Refresh Tokens**: We initially evaluated sliding expiration in JWT claims without persistence, but discarded it because compromised tokens could not be revoked before natural expiry.
- **Token Format**: Chose UUIDv4 for `jti` claim to maintain compatibility with existing session storage schemas.

### Files Changed
- `src/services/auth.py`: Added `rotate_refresh_token(old_token: str)` function and Redis invalidation call.
- `src/models/tokens.py`: Added `RefreshTokenRecord` SQLModel table for tracking token families.
- `alembic/versions/20261005_add_token_families.py`: Migration creating `token_records` table.

…
자주 묻는 질문

그냥 이전 작업 지점에서 이어가면 되는데 왜 이것이 필요한가요?

긴 세션은 AI를 혼란스럽게 만들어 중요한 세부 사항을 잊거나 같은 실수를 반복하게 할 수 있습니다. 이 요약은 진행 상황을 유지하고 앞으로의 작업을 효율적으로 만들어 줍니다.

세션을 비우기 전에 이것을 사용하지 않으면 어떻게 되나요?

진행 상황을 잃을 수 있고, AI가 이미 한 작업을 잊어버려 이미 해결된 작업을 다시 하거나 오류를 다시 고쳐야 할 수 있습니다.

요약에 제가 작성한 모든 코드가 포함되나요?

아니요, 전체 기록 대신 전체 목표, 잘 되는 것과 안 되는 것, 중요한 결정, 정확한 다음 단계 등 가장 중요한 부분에 초점을 맞춥니다.

상세 정보

작성자의 원본 설명

Use when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5764
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬