attach-jira-issue

Solid

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. Shows a preview of what will be uploaded and requires explicit confirmation before POSTing.

Code & Development 19 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
43
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Attach files to a Jira Issue !`${CLAUDE_PLUGIN_ROOT}/scripts/config-read-context.sh` !`${CLAUDE_PLUGIN_ROOT}/scripts/config-read-skill-context.sh attach-jira-issue` 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 Optional flags: - `--quiet` — suppress INFO stderr lines ## Step 2: Generate the describe preview Invoke the flow script with `--describe`: ``` ${CLAUDE_PLUGIN_ROOT}/skills/integrations/jira/scripts/jira-attach-flow.sh \ --describe <KEY> <FILE> [FILE...] ``` File validation runs before `--describe` returns, so missing or unreadable files surface here as exit 132, before any confirmation is shown. ## Step 3: Handle preview failures - **Exit 132 (`E_ATTACH_FILE_MISSING`)**: tell the user: > File not found or not readable: `<path>`. Check the path and try again. Stop — do not proceed to confirm. - **Exit 133 (`E_ATTACH_BAD_FLAG`)**: tell the user: > Unrecognised flag. Usage: `/attach-jira-issue ISSUE-KEY FILE [FILE...] [--quiet]` Stop. - **Other non-zero**: tell the user "Preview failed — no API call was made." Stop. ## Step 4: Render the preview Show under this heading: > **Proposed Jira write — review before sending** Content: - Endpoint: `PO...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category