| name | download-plan |
| description | Download an implementation plan from a Linear ticket attachment into the current plan file. Use when picking up work from another machine or conversation. |
Download an implementation plan from a Linear ticket and write it to the current plan file.
Linear tickets are identified by a code like TEAM-1234.
Steps
-
Determine the Linear ticket ID by trying these in order:
- Argument passed to the skill (e.g.
/download-plan TEAM-1234)
- Parse the current plan file for a
**Ticket**: line (e.g. **Ticket**: TEAM-1234)
- Infer from the current git branch name (e.g.
user/team-1234-... → TEAM-1234)
- If none work, ask the user with AskUserQuestion
-
Fetch the issue using mcp__linear-server__get_issue to list its attachments.
-
Find the attachment with title "Implementation Plan". If not found, inform the user that no plan attachment exists on the ticket.
-
Download the attachment using mcp__linear-server__get_attachment with the attachment ID. This returns the markdown content directly.
-
Write the content to the current plan file (from the plan mode system message). If not in plan mode, write to ~/.claude/plans/ using the current plan filename.
-
Confirm to the user: "Downloaded plan from {TICKET_ID}" and display the plan content.