From ai-maestro-programmer-agent
Create and receive handoff documents. Use when transferring work, resuming sessions, or filing bug reports. Trigger with /ampa-handoff. Loaded by ai-maestro-programmer-agent-main-agent.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-maestro-programmer-agent:ampa-handoff-managementai-maestro-programmer-agent-main-agentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Context transfer between AMPA sessions via structured handoff documents
Context transfer between AMPA sessions via structured handoff documents (Markdown + YAML frontmatter). Enables seamless work state transfer across agent transitions, session boundaries, bug discoveries, and work interruptions.
$AIMAESTRO_API environment variable).$CLAUDE_PROJECT_DIR/thoughts/shared/handoffs/ (create with mkdir -p if
needed).<project>-programmer-<number>).$CLAUDE_PROJECT_DIR set to the project root (set automatically by Claude
Code).Copy this checklist and track your progress:
references/ before
proceeding.mkdir -p "$CLAUDE_PROJECT_DIR/thoughts/shared/handoffs/ampa-<task-name>/".type, from, to, task, created, priority, status.
Bug reports (type: bug-report) have modified fields: type, from,
task, bug-id, severity, created.agent-messaging skill to
notify the receiving agent, including the handoff file path.current.md to archive/ with a timestamp suffix before writing the new
version.$CLAUDE_PROJECT_DIR/thoughts/shared/handoffs/ampa-<task-name>/current.md.| Error | Resolution |
|---|---|
| Handoff directory missing | Run mkdir -p "$CLAUDE_PROJECT_DIR/thoughts/shared/handoffs/ampa-<task-name>/" |
| AI Maestro notification fails | Verify running with amp-status (frozen CLI, not the server /api/ — R23), check agent-messaging skill for connectivity troubleshooting |
| YAML frontmatter parse error | Ensure --- delimiters on own lines, quote special characters in values |
| Receiving agent not found | Use the agent-messaging skill to list registered agents |
| Handoff document is stale | Archive existing current.md to archive/ with timestamp, then create new |
current.md with YAML frontmatter, modified files, test status,
next steps. Notification sent.| Document | Description |
|---|---|
| op-read-handoff-document.md | When to Use, Prerequisites, Procedure, Examples, Error Handling |
| op-create-handoff-document.md | When to Use, Prerequisites, Procedure, Checklist, Examples, Error Handling |
| op-write-bug-report.md | When to Use, Prerequisites, Procedure, Checklist, Examples, Error Handling |
| op-document-work-state.md | When to Use, Prerequisites, Procedure, Checklist, Examples, Error Handling |
agent-messaging skill (global) — Send notifications, list agents.
This skill operates under the AI Maestro approval tiers — the escalation
ladder Tier 0 (self-authority for in-scope work + DERIVED NPT/EHT tasks) →
CHIEF-OF-STAFF → MANAGER → USER. See the ampa-prrd-trdd-kanban skill and
~/.claude/rules/trdd-approval-tiers.md for which transitions need approval.
A MEMBER never self-approves its own releases — entering the release
pipeline (publish/deploy) is USER/MANAGER-authorized, and the INTEGRATOR
(not the MEMBER) owns the → complete flip.
npx claudepluginhub emasoft/ai-maestro-programmer-agentWhole-repo audit for over-engineering: finds dead code, unnecessary abstractions, stdlib-replaceable dependencies. Outputs ranked findings and net line/dep savings.