[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D7T7HZQB2M64SSQGFBD8WZ":3,"skill-same:01M6D7T7HZQB2M64SSQGFBD8WZ":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6D7T7HZQB2M64SSQGFBD8WZ","handoff",null,"Generate a project-level context snapshot for resuming work in a fresh session","GeorgeQLe\u002Fagentic-skills","GeorgeQLe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21134126?v=4","01M6D2JP418S0VGJGF8M93EC3H","George Le","01M6D2JPBAKYD82TA5FS6HKQ3D",1,"MIT","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcontext-transfer\u002Fclaude\u002Fhandoff\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31],"codex","generate","shipping","page","work","context","v0","session","snapshot","alignment","focus","project","fresh","2026-11-10 10:12:30",false,"---\nname: handoff\ndescription: Generate a project-level context snapshot for resuming work in a fresh session\ntype: shipping\nversion: v0.2\nrequired_conventions: [alignment-page]\nargument-hint: \"[focus area] [--target=codex]\"\n---\n\n# Handoff\n\nGenerate a self-contained context document that captures exactly where you left off in a project, so a fresh Claude session can pick up immediately without re-reading the entire codebase.\n\n## Process\n\n1. **Gather current state:**\n   - Read `tasks\u002Ftodo.md` for the current phase detail and active step.\n   - Read `tasks\u002Froadmap.md` for overall progress context (which phases are done, what's ahead).\n   - Read `tasks\u002Fmanual-todo.md` (if it exists) for pending manual tasks.\n   - Read `tasks\u002Frecord-todo.md` and `tasks\u002Frecurring-todo.md` (if they exist) for advisory task counts.\n   - Read `CLAUDE.md` for project conventions.\n   - Run `git status` and `git log --oneline -10` for recent activity.\n   - Run `git diff --stat` if there are uncommitted changes.\n   - Check for any blockers or notes in `tasks\u002Ftodo.md`.\n\n2. **Identify the work in progress:**\n   - What phase\u002Fstep was being worked on.\n   - What files were being modified (from git status\u002Fdiff).\n   - What technical decisions were made during this session.\n   - What approach was being taken and why.\n\n3. **Check for loose ends:**\n   - Uncommitted changes that need attention.\n   - Failing tests.\n   - TODOs or FIXMEs added during the session.\n   - Blockers or open questions.\n\n4. **If `$ARGUMENTS` specifies a focus area**, emphasize that in the handoff context.\n\n5. **If `$ARGUMENTS` contains `--target=codex`, produce a cross-CLI approval packet** before writing the handoff doc. **Requires `jq` on PATH:** `scripts\u002Fapproved-plan.sh draft` (step 5.4) and the pretty-print in step 5.5 both invoke `jq`; if absent, `scripts\u002Fapproved-plan.sh`'s `require_jq_write` (at `scripts\u002Fapproved-plan.sh:21`) dies with `ERROR: jq required for write operations. Install with: brew install jq (macOS) or apt install jq (Debian\u002FUbuntu).` before any packet is drafted. No degraded path — install `jq` and retry.\n   1. Resolve the effective agent mode via `.\u002Fscripts\u002Fagent-mode.sh`. If the resolved mode is `codex-only`, stop immediately with a `mode-mismatch:` error — Claude is not the planner in that mode.\n   2. Require a clean tracked tree. If `git status --porcelain` reports dirty paths, the user must pass repeatable `--allow-dirty \u003Cglob>` flags covering every dirty path. Glob semantics match the Step 4 consumer (`scripts\u002Fapproved-plan.sh check`) — `case \"$path\" in $glob)` shell globbing, not regex.\n   3. Derive `phase` \u002F `step` \u002F `title` from `tasks\u002Ftodo.md`. Read the **first unchecked** `- [ ]` under the `### Active Step Plan` block; if no such block exists, fall back to the first unchecked `- [ ]` under the current `## Phase N` header. Parse the `Phase N` and `Step N.X` tokens out of the surrounding context; use the checkbox line's text (stripped of `- [ ] **Step N.X** — `) as `title`.\n   4. Call `.\u002Fscripts\u002Fapproved-plan.sh draft --phase \"Phase N\" --step \"Step N.X\" --title \"\u003Ctitle>\"` plus any `--allow-dirty \u003Cglob>` flags the user supplied. Surface the helper's single-line failure reason verbatim if it fails.\n   5. Pretty-print the drafted packet with `jq . .agents\u002Fapproved-plan.json`, then ask exactly one concise question: *\"Approve this packet for Codex execution?\"*. On yes → `.\u002Fscripts\u002Fapproved-plan.sh approve`. On no → leave the packet at `draft` and tell the user they can approve it later with `.\u002Fscripts\u002Fapproved-plan.sh approve` or discard it with `.\u002Fscripts\u002Fapproved-plan.sh supersede`.\n   6. When writing `tasks\u002Fhandoff.md` in the next step, add a **Cross-CLI handoff** section naming `.agents\u002Fapproved-plan.json` (JSON, gitignored), `tasks\u002Fapproved-plan.md` (committable mirror), and the resume command: `$exec --execute-approved` (Codex).\n\n6. **Write the handoff to `tasks\u002Fhandoff.md`:**\n\n## Handoff Document Format\n\n```markdown\n# Handoff — [Project Name] — [Date]\n\n## Current State\n- **Phase**: X — [phase name]\n- **Step**: Y — [step name]\n- **Status**: in-progress \u002F blocked \u002F ready-for-next\n- **Branch**: [branch name]\n- **Last commit**: [hash] [message]\n\n## What Was Done This Session\n- [Concise bullet list of completed work]\n\n## Work In Progress\n- [What's partially done, with file paths]\n- [Technical decisions made and why]\n- [Approach being taken]\n\n## Uncommitted Changes\n- [List of modified files and what changed, or \"none\"]\n\n## Blockers \u002F Open Questions\n- [Any blockers, or \"none\"]\n\n## Pending Manual Tasks\n- [Unchecked items from `tasks\u002Fmanual-todo.md`, or \"none\"]\n- [Note any that block upcoming automated steps]\n\n## Pending Advisory Tasks\n- [Record\u002Frecurring task counts from `tasks\u002Frecord-todo.md` and `tasks\u002Frecurring-todo.md`, or \"none\"]\n- [Note that these are not execution blockers unless promoted to `tasks\u002Ftodo.md`]\n\n## Next Steps\n- [Exactly what to do next, specific enough to execute without re-reading context]\n- [Files to read first]\n- [Commands to run]\n\n## Key Files for Context\n- [List of 3-5 files most relevant to the current work]\n```\n\n## Output\n\nAfter writing the handoff, report:\n- Path to the handoff document\n- One-line summary of the project state\n- Whether there are uncommitted changes that should be committed first\n\n## Constraints\n- The handoff must be **self-contained** — a fresh session should be able to read only this file, `tasks\u002Ftodo.md`, and optionally `tasks\u002Froadmap.md` to start working.\n- Do not include full file contents — only paths and brief descriptions.\n- Keep it concise — the handoff should be under 100 lines.\n- Do not commit the handoff document automatically — let the user decide.\n- If there are uncommitted changes, warn the user to commit or stash before switching contexts.\n\n\n## Alignment Page\n\nFollow the shared alignment-page convention via the packaged convention resolver; output path is `alignment\u002Fhandoff-{topic}.html`. By default, report results inline and write only this skill's normal durable artifacts; create an alignment page only when explicitly requested or when a concrete clarification\u002Freview need cannot be handled cleanly inline.\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n","# Handoff\n\nGenerate a self-contained context document that captures exactly where you left off in a project, so a fresh Claude session can pick up immediately without re-reading the entire codebase.\n\n## Process\n\n1. **Gather current state:**\n   - Read `tasks\u002Ftodo.md` for the current phase detail and active step.\n   - Read `tasks\u002Froadmap.md` for overall progress context (which phases are done, what's ahead).\n   - Read `tasks\u002Fmanual-todo.md` (if it exists) for pending manual tasks.\n   - Read `tasks\u002Frecord-todo.md` and `tasks\u002Frecurring-todo.md` (if they exist) for advisory task counts.\n   - Read `CLAUDE.md` for project conventions.\n   - Run `git status` and `git log --oneline -10` for recent activity.\n   - Run `git diff --stat` if there are uncommitted changes.\n   - Check for any blockers or notes in `tasks\u002Ftodo.md`.\n\n2. **Identify the work in progress:**\n   - What phase\u002Fstep was being worked on.\n   - What files were being modified (from git status\u002Fdiff).\n   - What technical decisions were made during this session.\n   - What approach was being taken and why.\n\n3. **Check for loose ends:**\n   - Uncommitted changes that need attention.\n   - Failing tests.\n   - TODOs or FIXMEs added during the session.\n   - Blockers or open questions.\n\n4. **If `$ARGUMENTS` specifies a focus area**, emphasize that in the handoff context.\n\n5. **If `$ARGUMENTS` contains `--target=codex`, produce a cross-CLI approval packet** before writing the handoff doc. **Requires `jq` on PATH:** `scripts\u002Fapproved-plan.sh draft` (step 5.4) and the pretty-print in step 5.5 both invoke `jq`; if absent, `scripts\u002Fapproved-plan.sh`'s `require_jq_write` (at `scripts\u002Fapproved-plan.sh:21`) dies with `ERROR: jq required for write operations. Install with: brew install jq (macOS) or apt install jq (Debian\u002FUbuntu).` before any packet is drafted. No degraded path — install `jq` and retry.\n   1. Resolve the effective agent mode via `.\u002Fscripts\u002Fagent-mode.sh`. If the resolved mode is `codex-only`, stop immediately with a `mode-mismatch:` error — Claude is not the planner in that mode.\n   2. Require a clean tracked tree. If `git status --porcelain` reports dirty paths, the user must pass repeatable `--allow-dirty \u003Cglob>` flags covering every dirty path. Glob semantics match the Step 4 consumer (`scripts\u002Fapproved-plan.sh check`) — `case \"$path\" in $glob)` shell globbing, not regex.\n   3. Derive `phase` \u002F `step` \u002F `title` from `tasks\u002Ftodo.md`. Read the **first unchecked** `- [ ]` under the `### Active Step Plan` block; if no such block exists, fall back to the first unchecked `- [ ]` under the current `## Phase N` header. Parse the `Phase N` and `Step N.X` tokens out of the surrounding context; use the checkbox line's text (stripped of `- [ ] **Step N.X** — `) as `title`.\n   4. Call `.\u002Fscripts\u002Fapproved-plan.sh draft --phase \"Phase N\" --step \"Step N.X\" --title \"\u003Ctitle>\"` plus any `--allow-dirty \u003Cglob>` flags the user supplied. Surface the helper's single-line failure reason verbatim if it fails.\n   5. Pretty-print the drafted packet with `jq . .agents\u002Fapproved-plan.json`, then ask exactly one concise question: *\"Approve this packet for Codex execution?\"*. On yes → `.\u002Fscripts\u002Fapproved-plan.sh approve`. On no → leave the packet at `draft` and tell the user they can approve it later with `.\u002Fscripts\u002Fapproved-plan.sh approve` or discard it with `.\u002Fscripts\u002Fapproved-plan.sh supersede`.\n   6. When writing `tasks\u002Fhandoff.md` in the next step, add a **Cross-CLI handoff** section naming `.agents\u002Fapproved-plan.json` (JSON, gitignored), `tasks\u002Fapproved-plan.md` (committable mirror), and the resume command: `$exec --execute-approved` (Codex).\n\n6. **Write the handoff to `tasks\u002Fhandoff.md`:**\n\n## Handoff Document Format\n\n```markdown\n# Handoff — [Project Name] — [Date]\n\n## Current State\n- **Phase**: X — [phase name]\n- **Step**: Y — [step name]\n- **Status**: in-progress \u002F blocked \u002F ready-for-next\n- **Branch**: [branch name]\n- **Last commit**: [hash] [message]\n\n## What Was Done This Session\n- [Concise bullet list of completed work]\n\n## Work In Progress\n- [What's partially done, with file paths]\n- [Technical decisions made and why]\n- [Approach being taken]\n\n## Uncommitted Changes\n- [List of modified files and what changed, or \"none\"]\n\n## Blockers \u002F Open Questions\n- [Any blockers, or \"none\"]\n\n## Pending Manual Tasks\n- [Unchecked items from `tasks\u002Fmanual-todo.md`, or \"none\"]\n- [Note any that block upcoming automated steps]\n\n## Pending Advisory Tasks\n- [Record\u002Frecurring task counts from `tasks\u002Frecord-todo.md` and `tasks\u002Frecurring-todo.md`, or \"none\"]\n- [Note that these are not execution blockers unless promoted to `tasks\u002Ftodo.md`]\n\n## Next Steps\n- [Exactly what to do next, specific enough to execute without re-reading context]\n- [Files to read first]\n- [Commands to run]\n\n## Key Files for Context\n- [List of 3-5 files most relevant to the current work]\n```\n\n## Output\n\nAfter writing the handoff, report:\n- Path to the handoff document\n- One-line summary of the project state\n- Whether there are uncommitted changes that should be committed first\n\n## Constraints\n- The handoff must be **self-contained** — a fresh session should be able to read only this file, `tasks\u002Ftodo.md`, and optionally `tasks\u002Froadmap.md` to start working.\n- Do not include full file contents — only paths and brief descriptions.\n- Keep it concise — the handoff should be under 100 lines.\n- Do not commit the handoff document automatically — let the user decide.\n- If there are uncommitted changes, warn the user to commit or stash before switching contexts.\n\n\n## Alignment Page\n\nFollow the shared alignment-page convention via the packaged convention resolver; output path is `alignment\u002Fhandoff-{topic}.html`. By default, report results inline and write only this skill's normal durable artifacts; create an alignment page only when explicitly requested or when a concrete clarification\u002Freview need cannot be handled cleanly inline.\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n",{"name":5,"type":21,"version":37,"description":7,"argument-hint":38,"required_conventions":39},"v0.2","[focus area] [--target=codex]",[40],"alignment-page","master","96e2912af886dd1606b1b97df707715aef062b02","packs\u002Fcontext-transfer\u002Fclaude\u002Fhandoff",0,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills","https:\u002F\u002Fagentic-skills-blush.vercel.app","https:\u002F\u002Fgithub.com\u002FGeorgeQLe","georgeqle.com","George Le is a futurist and serial tech entrepreneur who wants to work toward a world where humanity is free from robotic tasks.","2026-11-10 04:07:24",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add GeorgeQLe\u002Fagentic-skills --skill handoff",{"tool":57,"command":58},"bunx","bunx skills add GeorgeQLe\u002Fagentic-skills --skill handoff",{"tool":60,"command":61},"pnpm","pnpm dlx skills add GeorgeQLe\u002Fagentic-skills --skill handoff","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcontext-transfer\u002Fclaude\u002Fhandoff\u002FSKILL.md",true,[65,71],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"ALIGNMENT-PAGE.md","REFERENCE","参考文档",52744,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcontext-transfer\u002Fclaude\u002Fhandoff\u002FALIGNMENT-PAGE.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"CHANGELOG.md",544,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcontext-transfer\u002Fclaude\u002Fhandoff\u002FCHANGELOG.md",[76,88,98,109,124,135],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":32},"01M6G0NJES15RJKZE6YZ0TSYGF","source-checkout-allowed","Valid source-checkout-only fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fsource-checkout-allowed\u002FSKILL.md",[],[83,84,85,86,25,87],"source checkout allowed","checkout","fixture","only","valid",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":32},"01M6G0NFZ3R1MNB1E3DVTM0WB7","deck-install-valid","Valid deck install fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fdeck-install\u002FSKILL.md",[],[95,96,97,87,85,25],"deck install valid","deck","install",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":32},"01M6G0ND3QZQC4MDZ9NVB97PT2","codex-pack-guard-valid","Valid Codex Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-pack-guard\u002FSKILL.md",[],[105,106,107,87,19,108,85,25],"codex pack guard valid","pack","guard","availability",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":120,"publishedAt":32},"01M6G0NA9YB3NKGZKD3S96JMNB","codex-missing-skill-valid","Valid Codex missing skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-missing-skill-fallback\u002FSKILL.md",[115],{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[121,122,87,19,25,123,85],"codex missing skill valid","missing","fallback",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":131,"publishedAt":32},"01M6G0N7PC0EKFD40ZWQAXSAQ9","codex-base-skill-fallback-valid","Valid Codex base skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-base-skill-fallback\u002FSKILL.md",[130],{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},[87,19,123,132,133,134,25,85],"base skill","codex base skill fallback valid","base",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":32},"01M6G0N4VRR2YKZQ6N3Y6S2BQA","claude-pack-guard-valid","Valid Claude Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fclaude-pack-guard\u002FSKILL.md",[],[87,107,106,142,108,25,85],"claude pack guard valid"]