jira-task-context
Skill3 starsChanged 2 months agoMITView on GitHub
Fetch Jira task details from a Jira issue URL or key, follow linked Jira issues, and inspect referenced Confluence/Figma links. Use at the start of flows that begin from a Jira task, when the user provides a Jira URL/key, or when Jira issue context, dependencies, blockers, parent/subtasks, linked issues, Confluence specs, or Figma designs are needed.
In this repository17 other files it gives its agents.
- config/AGENTS.mdAGENTS.md
- analyzeSkill
- app-resizabilitySkill
- code-reviewSkill
- device-interactionSkill
- figmaSkill
- git-commitSkill
- gitlab-glabSkill
- git-redateSkill
- jira-updateSkill
- mr-comment-resolutionSkill
- pragmatic-testingSkill
- resolve-merge-conflictsSkill
- swift-concurrencySkill
- tddSkill
- verifySkill
- xcodebuild-xcsiftSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill when the user gives a Jira URL/key or asks to start from a Jira task.
- Distinctive: line 15
Follow linked Jira issues at least one hop by default:
- Distinctive: line 24
Follow those external links read-only when access/tools are available:
- Distinctive: line 27
Do not mutate Confluence, Figma, Jira, or any external system.
- Distinctive: line 28
Keep traversal bounded to links directly referenced by the collected Jira issues unless the user asks for deeper discovery.
- Distinctive: line 57
Do not ask the user to paste tokens into chat and never print token values.
- Distinctive: line 75
If authentication fails, tell the user which variable names are needed, not the secret values.
- Distinctive: line 79
After fetching, present a concise context summary containing:
- Very specific: line 95
Keep max issue limits reasonable (--max-issues) to avoid accidentally crawling too much Jira content.
- Distinctive: line 96
Do not mutate Jira issues unless the user explicitly asks.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Jira Task Context
Use this skill when the user gives a Jira URL/key or asks to start from a Jira task. The goal is to collect the root task details and linked Jira issue context before doing the rest of the work.
What to do
- Extract the Jira issue key and base URL from the user-provided URL/key.
- Fetch the root issue details.
- Follow linked Jira issues at least one hop by default:
- explicit Jira issue links (
blocks,is blocked by,relates to, etc.) - parent issue
- subtasks
- Jira issue keys/URLs referenced in the description or recent comments
- explicit Jira issue links (
- Extract important non-Jira links from the root and followed Jira issues, especially:
- Confluence / Atlassian wiki pages
- Figma design, FigJam, prototype, or file links
- product specs, API docs, screenshots, videos, or other implementation references
- Follow those external links read-only when access/tools are available:
- For Confluence pages, use
web_fetchwhen authenticated access works; summarize requirements, decisions, constraints, screenshots/assets mentioned, and open questions. - For Figma links, load the figma skill and use the project-enabled native Figma MCP to inspect the referenced file/frame/prototype. Discover tools through
codemode(ortool_searchwhen available) and load the server's required guidance beforeget_design_context; do not use the removed personal-token extension tools or the Xcode-specificproject_tool_search. Keep this context lookup read-only even when server guidance describes implementation or Figma writes. If MCP access is unavailable, tryweb_fetchfor page metadata and clearly report that visual/design details could not be inspected. - Do not mutate Confluence, Figma, Jira, or any external system.
- Keep traversal bounded to links directly referenced by the collected Jira issues unless the user asks for deeper discovery.
- For Confluence pages, use
- Summarize the collected Jira and external-artifact context for the user before moving on.
Preferred command
From any working directory, run the bundled helper script:
python3 ~/.pi/agent/skills/jira-task-context/scripts/jira_issue_context.py "<jira-url-or-key>" --depth 1 --comments 5Useful variants:
# Root issue only
python3 ~/.pi/agent/skills/jira-task-context/scripts/jira_issue_context.py "<jira-url-or-key>" --depth 0
# Follow linked issues two hops, with a strict cap
python3 ~/.pi/agent/skills/jira-task-context/scripts/jira_issue_context.py "<jira-url-or-key>" --depth 2 --max-issues 30
# If the user gave only a key, provide or rely on JIRA_BASE_URL
JIRA_BASE_URL="https://your-domain.atlassian.net" python3 ~/.pi/agent/skills/jira-task-context/scripts/jira_issue_context.py "ABC-123"
# Machine-readable output
python3 ~/.pi/agent/skills/jira-task-context/scripts/jira_issue_context.py "<jira-url-or-key>" --format jsonAuthentication
Do not ask the user to paste tokens into chat and never print token values.
Supported environment variables:
# Jira Cloud basic auth
export JIRA_EMAIL="name@example.com"
export JIRA_API_TOKEN="..."
# Jira Data Center / PAT bearer auth
export JIRA_BEARER_TOKEN="..."
# or
export JIRA_PAT="..."
# Required only when the user supplies an issue key instead of a full URL
export JIRA_BASE_URL="https://your-domain.atlassian.net"If authentication fails, tell the user which variable names are needed, not the secret values.
Output expectations
After fetching, present a concise context summary containing:
- root issue key, title, URL, type, status, priority, assignee, reporter
- description / acceptance criteria / important comments
- linked issues with relation, status, and why they matter
- blockers/dependencies inferred from issue link relations
- Confluence/spec links followed, with relevant requirements or decisions found
- Figma/design links followed, with referenced file/frame/prototype and visual requirements found
- inaccessible or unfollowed links, with the reason and whether they block implementation
- open questions or missing information
Then continue with the user's requested flow.
Safety and privacy
- Jira data may contain confidential product/customer information. Only fetch and summarize what is needed for the task.
- Keep max issue limits reasonable (
--max-issues) to avoid accidentally crawling too much Jira content. - Do not mutate Jira issues unless the user explicitly asks. This skill is read-only by default.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

