用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CodySwannGT/expostarter --skill lisa-jira-read-ticket命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | lisa-jira-read-ticket |
| description | Fetches the full scope of a… |
| allowed-tools | ["Bash","Skill"] |
All Atlassian operations in this skill go through lisa-atlassian-access. Do not call MCP tools or acli directly.
Fetch the full scope of the ticket AND its related graph. Downstream agents must never act on a ticket in isolation — always call this skill first so they see blockers, epic siblings, linked PRs, and historical comments.
Repository name for scoped comments and logs: basename $(git rev-parse --show-toplevel).
lisa-atlassian-access via the Skill tool with operation: list-sites to confirm the configured site is reachable and resolve the cloud ID.PROJ-123), stop and report. Do NOT guess.Invoke lisa-atlassian-access via the Skill tool with operation: read-ticket key: <TICKET-KEY> for the target ticket. The access layer MUST request an explicit full JIRA field set for this operation (acli jira workitem view --fields '*all', REST fields=*all, or an equivalent substrate-specific field list). Do not accept or re-use a default acli workitem view payload; its default six-field response omits parent, components, labels, priority, and custom fields, which makes leaf-only, relationship-search, build-ready, and required-custom-field gates read false-empty data. Extract and preserve:
id, filename, mimeType, size, and content URL for each. Do not download unless a downstream task needs the bytes (see "Downloading attachments" below).The Atlassian MCP exposes attachment metadata but no binary-fetch tool (JRACLOUD-97830, ECO-1265). Fetch attachment bytes only when a downstream task explicitly needs them — e.g., a design-fidelity check on an image, log-file analysis, PDF text extraction. For everything else, keep the URL reference and move on.
bash .claude/skills/jira-read-ticket/scripts/download-attachment.sh <id-or-content-url> <output-path>
Requires JIRA_SERVER, JIRA_LOGIN, and JIRA_API_TOKEN in the environment (same contract as jira-evidence). If those are not set the helper exits with code 2 and a clear remediation message — record the URL only and continue.
After download, branch on mimeType:
image/* — pass the local path to image-aware downstream toolstext/*, application/json, application/xml, application/x-yaml — read inline as textapplication/pdf — extract text via downstream tooling if neededFetch ALL comments in chronological order. Do not truncate. For each:
[repo-name]The primary ticket payload returned by lisa-atlassian-access operation: read-ticket includes the issue's remote links. If the substrate returns remote links separately, request them via lisa-atlassian-access with operation: read-ticket key: <K> (the operation MUST return remote links — extend atlassian-access if it doesn't). For each remote link:
github.com/.../(pull|commit)/...): run gh pr view <url> --json title,state,body,mergedAt,reviewDecision,comments,reviews (for PRs) or gh api repos/<owner>/<repo>/commits/<sha> (for commits). Capture title, state, body, unresolved review comments, merge status.If gh is not authenticated, note "gh auth required" and continue — do not abort.
Every linked ticket must be fetched. Do not skip any link type. For each link in the primary ticket's issuelinks field, group by type:
blocks / is blocked byrelates toduplicates / is duplicated byclones / is cloned byFor each linked ticket, invoke lisa-atlassian-access with operation: read-ticket key: <LINKED-KEY> and capture:
Won't Do/Duplicate — then summary only)blocks or is blocked by)Special handling for is blocked by: fetch the full PR/commit details via gh for each blocker's remote links so the agent knows whether the blocker is actually shipped.
If the primary ticket has an epic parent (or IS an epic):
lisa-atlassian-access operation: read-ticket key: <EPIC-KEY> — full description, acceptance criteria, all comments, Validation Journey."Epic Link" = <EPIC-KEY> AND key != <TICKET-KEY>
Invoke lisa-atlassian-access with operation: search-issues jql: "<above-JQL>". For each sibling capture: key, summary, type, status, assignee, priority.In Progress or In Review with an assignee different from the current ticket, flag it prominently.If the primary ticket IS an epic, also fetch all children via the JQL above.
If the primary ticket has subtasks, fetch each via lisa-atlassian-access operation: read-ticket key: <SUBTASK-KEY>: key, summary, type, status, assignee, description (first paragraph), acceptance criteria.
Produce a single structured output that the caller can pass verbatim to downstream agents. Use this format:
# Ticket Context: <KEY>
## Primary Ticket
- Key: <KEY>
- Type: <type>
- Status: <status>
- Priority: <priority>
- Assignee: <name>
- Epic: <epic-key> — <epic-summary>
- Sprint: <sprint>
- Labels: <labels>
- Components: <components>
### Description
<full description>
### Acceptance Criteria
<criteria>
### Validation Journey
<section or "None">
### Comments (<count>)
<chronological comments, flagged items called out>
### Attachments
<list with id, filename, mimeType, size, content URL — note any that were downloaded and their local paths>
## Remote Links
### Pull Requests (<count>)
- <url> — <title> — <state> — <reviewDecision>
<body summary + unresolved review comments>
### Confluence
- <title> — <url>
### Other
- <title> — <url>
## Issue Links
### Blocks (<count>)
<per-ticket block>
### Is Blocked By (<count>)
<per-ticket block with PR state>
### Relates To (<count>)
<per-ticket block>
### Duplicates / Clones
<per-ticket block>
## Epic Context
### Epic <EPIC-KEY> — <summary>
- Status: <status>
- Description: <full>
- Comments: <chronological>
- Validation Journey: <section or None>
### Siblings In-Flight (<count>)
- <KEY> — <status> — <assignee> — <summary> **[FLAG: in progress by other assignee]**
### Other Siblings (<count>)
- <KEY> — <status> — <summary>
## Subtasks (<count>)
- <KEY> — <status> — <assignee> — <summary>
## Summary for Downstream
- Full ticket count pulled: <N>
- Blockers still open: <list>
- Related in-flight work: <list>
- Relevant PRs: <list with state>