بنقرة واحدة
ak-handoff
Compact the current conversation into a handoff document for a fresh agent to continue the work.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Compact the current conversation into a handoff document for a fresh agent to continue the work.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Plan before executing. Use when task touches 3+ files, requires new folder structure, involves DB or API changes, or has step dependencies. Waits for approval before writing code.
Structured debugging workflow — diagnose before proposing fixes. Use when user says /debug, reports a bug, an error, or unexpected behavior. Forms hypotheses before touching code.
Manage persistent memory across sessions. Subcommands: save [topic] captures session learnings, recall [question] retrieves relevant context before acting, clean removes stale entries.
Review code with real engineering criteria — logic bugs, security vulnerabilities, and technical debt. Use when user says /review @file or /review to review current PR changes.
Audit AI-generated apps for security, performance, and maintainability issues. Use when user says /vibe-audit or "I generated this with AI and want to know how bad it is".
Generate a semantic commit message by reading the real staged diff. Use when the user says /commit, "make a commit", or "commit the changes". Never invents — reads the actual diff.
| name | ak:handoff |
| description | Compact the current conversation into a handoff document for a fresh agent to continue the work. |
| disable-model-invocation | true |
| argument-hint | [focus of the next session] |
Compact the current conversation into a handoff document so a fresh agent can continue without losing context.
$ARGUMENTS
Survey what exists: Scan for artifacts already captured elsewhere — PRDs, plans, ADRs, issues, commits, diffs. Reference them by path or URL; do not duplicate their content.
Write the handoff document with these sections:
# Handoff: [date] — [focus or "continuation"]
## Where we left off
[1-3 sentences on current state and what was just completed or decided]
## Open threads
- [Decision or task not yet resolved]
- [Blocked item and what's blocking it]
## Key decisions made this session
- [Decision] — [why, in one line]
## Artifacts to read first
- `path/to/file.md` — [what it contains]
- Issue #42 — [what it tracks]
## Suggested skills for next session
- `/ak:plan` — [why it's relevant]
- `/ak:debug` — [why it's relevant]
## Context the next agent needs but isn't in the code
[Anything non-obvious: constraints, stakeholder preferences, things tried and abandoned]
Save to the OS temp directory — not the current workspace.
%TEMP%\handoff-[timestamp].md/tmp/handoff-[timestamp].mdReport the path to the user and optionally copy the key sections to the conversation for immediate use.