v2.3.0 — Fully Self-Contained & Battle-Hardened
V2.3.0 — 去硬依赖 + 零依赖审计 + Canonical Trigger
Part 1: Remove claude-mem Hard Dependency
Handoff is now a fully self-contained skill. Zero external dependencies.
- claude-mem → optional enhancement. Was a hard dependency, now an optional complement.
- 4 inline guards added. Every claude-mem touchpoint has "if available... else skip silently".
- Detection method documented. AI checks for
mcp__*mem-search*tools.
Part 2: Zero-Dependency Hardening (3 audit rounds, 17 fixes)
Audited every line for implicit dependencies. Simulated new user: fresh Claude Code, no skills, no claude-mem, any model, any platform.
| Fix | Area |
|---|---|
Hardcoded E:\projects\handoffs\ → pwd |
Save Location |
python → python3 or python |
Environment capture (macOS/Ubuntu compat) |
7× git guard (if this is a git repo) |
Verification, doctor, recovery, snapshot |
3× tests guard (if available) |
Verification, doctor |
| OS-neutral format example | Documentation |
| 8→9 sections count fix | Bug fix |
| Fall-through logic for save location | Robustness |
| Trigger description expanded | Discoverability |
Part 3: 「先读 HANDOFF」Canonical Trigger
Established the official resume phrase, enforced in 6 locations:
Post-Generation · New Session Protocol · Quick Reference · README · CONTRIBUTING · GitHub repo description
Part 4: README Professional Rewrite
137 → 295 lines: Hero section, Problem/Solution narrative, ASCII architecture diagram, 5 badges, Comparison matrix (8 dimensions × 4 alternatives), 6 Design Principles, Real-World Workflow with 🔁 loop summary.
Part 5: CONTRIBUTING.md
Added 7+1 sync checklist, Convention section, 6 Design Principles.
For new users: Copy SKILL.md → ~/.claude/skills/handoff/ → /handoff → done.
To resume: Say 先读 HANDOFF in a new session.