attach-linear-issue

Solid

Use this skill only when the user explicitly invokes /attach-linear-issue to attach a link or a binary file to an existing Linear issue. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Link mode registers an external URL; binary mode uploads a local file via Linear's pre-signed URL flow and registers the resulting asset. Shows a preview, requires explicit confirmation, then attaches.

Code & Development 26 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Attach to a Linear Issue !`${CLAUDE_PLUGIN_ROOT}/scripts/config-read-context.sh` !`${CLAUDE_PLUGIN_ROOT}/scripts/config-read-skill-context.sh attach-linear-issue` > **Configuration**: Set `work.integration: linear` in `.accelerator/config.md`. Attach a resource to a Linear issue. Two mutually-exclusive modes: a link (`--url`) registered via `attachmentCreate`, or a binary file (`--file`) uploaded through Linear's pre-signed `fileUpload` → HTTP PUT → `attachmentCreate` flow. Work through the steps in order. This skill never auto-invokes. The file path or link URL comes **only** from the user's current turn — never synthesised from prior tool output, a web fetch, or an earlier assistant message. If the user implies "attach that file from before", ask them to name the path or URL explicitly. ## Step 1: Parse arguments Read the issue identifier (positional) and exactly one of `--url URL` or `--file PATH`, plus optional `--title`. ## Step 2: Preview ``` ${CLAUDE_PLUGIN_ROOT}/skills/integrations/linear/scripts/linear-attach-flow.sh \ <IDENTIFIER> (--url URL | --file PATH) [--title T] --describe ``` If the helper exits non-zero (missing/unreadable file — `E_ATTACH_FILE_MISSING`; both targets — `E_ATTACH_BOTH_TARGETS`; bad URL — `E_ATTACH_BAD_URL`), STOP and report. ## Step 3: Render the preview and confirm Show, under **Proposed Linear write — review before sending**: - the **exact** target issue identifier; - the **file path** (binary) or **link URL** (link); - for ...

Details

Author
atomicinnovation
Repository
atomicinnovation/accelerator
Created
3 months ago
Last Updated
today
Language
HTML
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category