一键导入
ringhandoff-tracking
Create detailed handoff documents for session transitions. Captures task status, learnings, decisions, and next steps in a structured format.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create detailed handoff documents for session transitions. Captures task status, learnings, decisions, and next steps in a structured format.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Orchestrates the 6-gate development workflow for implementing tasks. Manages state, dispatches specialist agents, and enforces gate requirements.
Captures metrics and learnings from completed development cycles. Enables continuous improvement by analyzing patterns across cycles.
Controlled plan execution with human review checkpoints - loads plan, executes in batches, pauses for feedback. Supports one-go (autonomous) or batch modes.
Gate 4 of development cycle - dispatches 6 specialized reviewers (code, business-logic, security, test, nil-safety, consequences) in parallel for comprehensive code review feedback.
Guide to the dev-team skills - specialist developer agents and 6-gate development cycle. Provides backend engineers (Go/TypeScript), frontend engineers, DevOps, SRE, and QA agents.
Skill discovery workflow and agent dispatch patterns for every conversation.
| name | ring:handoff-tracking |
| description | Create detailed handoff documents for session transitions. Captures task status, learnings, decisions, and next steps in a structured format. |
| license | MIT |
| compatibility | opencode |
| metadata | {"trigger":"Session ending, user runs ring:create-handoff, context pressure, completing milestone","skip_when":"Quick Q&A with no implementation, no meaningful work, exploratory session","sequence_before":"ring:executing-plans"} |
Create structured handoff documents that preserve session context for future sessions. Handoffs capture what was done, what worked, what failed, key decisions, and next steps.
Core principle: Handoffs preserve session context, making them available for future reference.
Announce at start: "I'm creating a handoff document to preserve this session's context."
| Situation | Action |
|---|---|
| Session ending | ALWAYS create handoff |
| Running /clear | Create handoff BEFORE clear |
| Major milestone complete | Create handoff to checkpoint progress |
| Context at 70%+ | Create handoff, then /clear |
| Blocked and need help | Create handoff with blockers documented |
Path: docs/handoffs/{session-name}/YYYY-MM-DD_HH-MM-SS_{description}.md
Where:
{session-name} - From active work context (e.g., context-management, auth-feature)YYYY-MM-DD_HH-MM-SS - Current timestamp in 24-hour format{description} - Brief kebab-case description of work doneExample: docs/handoffs/context-management/2025-12-27_14-30-00_handoff-tracking-skill.md
If no clear session context, use general/ as the folder name.
Use this exact structure for all handoff documents:
---
date: {ISO timestamp with timezone}
session_name: {session-name}
git_commit: {current commit hash}
branch: {current branch}
repository: {repository name}
topic: "{Feature/Task} Implementation"
tags: [implementation, {relevant-tags}]
status: {complete|in_progress|blocked}
outcome: UNKNOWN
---
# Handoff: {concise description}
## Task Summary
{Description of task(s) worked on and their status: completed, in_progress, blocked.
If following a plan, reference the plan document and current phase.}
## Critical References
{2-3 most important file paths that must be read to continue this work.
Leave blank if none.}
- `path/to/critical/file.md`
## Recent Changes
{Files modified in this session with line references}
- `src/path/to/file.py:45-67` - Added validation logic
- `tests/path/to/test.py:10-30` - New test cases
## Learnings
### What Worked
{Specific approaches that succeeded - these get indexed for future sessions}
- Approach: {description} - worked because {reason}
- Pattern: {pattern name} was effective for {use case}
### What Failed
{Attempted approaches that didn't work - helps future sessions avoid same mistakes}
- Tried: {approach} -> Failed because: {reason}
- Error: {error type} when {action} -> Fixed by: {solution}
### Key Decisions
{Important choices made and WHY - future sessions reference these}
- Decision: {choice made}
- Alternatives: {other options considered}
- Reason: {why this choice}
## Files Modified
{Exhaustive list of files created or modified}
- `path/to/new/file.py` - NEW: Description
- `path/to/existing/file.py:100-150` - MODIFIED: Description
## Action Items & Next Steps
{Prioritized list for the next session}
1. {Most important next action}
2. {Second priority}
3. {Additional items}
## Other Notes
{Anything else relevant: codebase locations, useful commands, gotchas}
# Get current git state
git rev-parse HEAD # Commit hash
git branch --show-current # Branch name
git remote get-url origin # Repository
# Get timestamp
date -u +"%Y-%m-%dT%H:%M:%SZ"
Check for active work context:
docs/plans/ - extract feature namegeneralmkdir -p docs/handoffs/{session-name}/Outcomes are marked AFTER the handoff is created, either:
Valid outcomes:
| Outcome | Meaning |
|---|---|
| SUCCEEDED | Task completed successfully |
| PARTIAL_PLUS | Mostly done, minor issues remain |
| PARTIAL_MINUS | Some progress, major issues remain |
| FAILED | Task abandoned or blocked |
Handoffs start with outcome: UNKNOWN and get updated when marked.