/delivery-orchestrator:linear-attachmentsfrom delivery-orchestrator
Uploads files to Linear, links external URLs as attachments, and downloads existing attachments with auth. Covers pre-signed S3 uploads, multipart for large files, and link attachments.
Ships in delivery-orchestrator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
References:
| Type | Storage | Use case |
|---|---|---|
| File attachment | Linear S3 (pre-signed) | screenshots, logs, design files |
| Link attachment | External URL only | GitHub PR, Figma, Notion, Loom |
// 1. Reserve upload URL
const reservation = await client.fileUpload({
contentType: "image/png",
filename: "screenshot.png",
size: file.length
});
// { uploadFile: { uploadUrl, headers: [{key,value}], assetUrl } }
// 2. PUT bytes
await fetch(reservation.uploadUrl, {
method: "PUT",
body: file,
headers: Object.fromEntries(reservation.headers.map(h => [h.key, h.value]))
});
// 3. Attach to issue
await client.attachmentCreate({
issueId,
url: reservation.assetUrl,
title: "Screenshot",
contentType: "image/png"
});
Helper in lib/attachment-upload.ts:
export async function uploadFileToLinear(
client: LinearClient,
issueId: string,
filePath: string,
title?: string
): Promise<string>; // returns attachment ID
For files >50MB:
partNumber query paramPOST ?uploads to finaliseMost use cases stay under 50MB; only logs and video do this.
await client.attachmentLinkCreate(issueId, "https://github.com/org/repo/pull/42", "PR #42");
Linear infers preview from URL pattern. Supported: GitHub PR / issue / commit, Figma, Notion, Loom, Vimeo, Slack thread, generic OG-rich pages.
Asset URLs require the same Linear token in Authorization: Bearer <token>. Don't share these URLs publicly — they expire after 7 days but exposing during that window is a leak.
const res = await fetch(assetUrl, {
headers: { Authorization: `Bearer ${process.env.LINEAR_API_KEY}` }
});
const buffer = Buffer.from(await res.arrayBuffer());
Or, mint a short-lived signed URL through your own service if you need to share with end users.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thelobbi/claude --plugin delivery-orchestrator52 skills in this plugin
/actions-authoringThis skill should be used when writing, hardening, or optimizing GitHub Actions workflows — permissions, action pinning, script injection, caching, matrices, concurrency, and cost./actions-automationThis skill should be used when building automation on GitHub Actions beyond CI — manual and external triggers, scheduled jobs, reusable workflows, composite actions, issue and PR bots, auto-merge, and Dependabot./agentic-patternsPatterns from "Agentic Design Patterns" (Gulli & Sauco, 2025) applied to CD orchestration and state-machine deployment workflowsOther plugins' skills for the same job