attach-jira-issue
/attach-jira-issue
Use this skill only when the user explicitly invokes /attach-jira-issue to upload one or more local files as attachments to a Jira issue. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Previews what will be uploaded and requires explicit confirmation before POSTing.
- Author
- atomicinnovation ↗
- Repository
- accelerator ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use this skill only when the user explicitly invokes /attach-jira-issue to upload one or more local files as attachments to a Jira issue. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Previews what will be uploaded and requires explicit confirmation before POSTing.
Arguments
/attach-jira-issue ISSUE-KEY FILE [FILE...]
Original author description
Use this skill only when the user explicitly invokes /attach-jira-issue to upload one or more local files as attachments to a Jira issue. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Previews what will be uploaded and requires explicit confirmation before POSTing.
How it works
- Step 1: Parse flags
- Step 2: Preview the resolved intent
- Step 3: Confirm before writing
- Step 4: Send the request
- Step 5: Render the response
- Examples
SKILL.md preview
--- name: attach-jira-issue description: > Use this skill only when the user explicitly invokes /attach-jira-issue to upload one or more local files as attachments to a Jira issue. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Previews what will be uploaded and requires explicit confirmation before POSTing. argument-hint: "ISSUE-KEY FILE [FILE...]" disable-model-invocation: true allowed-tools: - Bash - Read - Write --- # Attach files to a Jira Issue !`accelerator config context --skill attach-jira-issue --fail-safe` Upload one or more local files as attachments to a Jira issue. Work through the steps below in order. This skill never auto-invokes — it only runs when the user explicitly types `/attach-jira-issue`. ## Step 1: Parse flags Required: - `KEY` — issue key (first positional), e.g. `ENG-42` - `FILE [FILE...]` — one or more local file paths to upload ## Step 2: Preview the resolved intent Show, under **Proposed Jira write — review before sending**: - `POST` attachments to `<KEY>`; - the file list: for each path, run `wc -c <path>` via Bash and show the basename with a humanised size (≥ 1 048 576 bytes → MB, ≥ 1 024 bytes → KB, otherwise bytes). A missing or unreadable path is surfaced here — say which file could not be read and stop, making no API call. - ⚠️ "Attachments cannot be removed by this skill once uploaded." ## Step 3: Confirm before writing Ask the user: > Send this to Jira? Reply **y** to confirm, **n** to revise, anything else to > abort. A clear `y`/`yes` proceeds; a `n`/revise stays in review (typically different paths or a different key); anything ambiguous aborts with "Aborted — no Jira write was made." ## Step 4: Send the request ``` accelerator jira attach <KEY> <FILE> [FILE...] ``` Run the bare launcher **directly** as an executable; never prefix it with `bash`/`sh`/`env` and never pipe its output. ## Step 5: Render the response On success the subcommand emits the attachments as a JSON array (it carries no outcome envelope — success is the clean, zero-status run). For each element show the filename, id, and humanised size (same KB/MB logic as Step 2): ``` ✓ Attached to <KEY>: - <filename> (ID: <id>, <humanised-size>) ``` If the array is empty or unparseable, tell the user "Upload succeeded but the response was empty or unreadable." On a non-zero exit, show the error — a missing/unreadable file or a credential failure names its cause on stderr; suggest `/init-jira` for a credential failure. ## Examples **Example — single file** User: `/attach-jira-issue ENG-42 ./screenshot.png` Skill previews the upload (`screenshot.png`, e.g. 84.3 KB), waits for `y`, uploads, and confirms with the returned id and size. !`accelerator config instructions attach-jira-issue --fail-safe`
Versions
The database has no other skills named attach-jira-issue.
Database snapshot: 13.11.2026 · package version 132f7797e772 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100attach-linear-issue
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… - 100transition-jira-issue
Use this skill only when the user explicitly invokes /transition-jira-issue to move a Jira issue through its workflow by state name. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Accepts an issue key and target… - 100jira-workitem-attach
Upload file attachments to Jira tickets. Verifies file exists and uploads via Jira API. Use when user wants to attach files to tickets. - 95jira-issue-sync
Sync Jira issues with local tasks. Use during daily planning or when user asks about Jira issues. - 100attach-session-to-jira
Attach the current AI session context to a Jira issue as a formatted comment. Useful for investigation, audit trail, handoff, debugging. Use when user says "attach session to Jira", "document on Jira", or "export context to AAP-XXXXX". - 96jira-tickets
Create, update, triage and delete Jira tickets with the `jira` CLI. Use for any ticket work in the jira-tickets group.