agentleFS
igorkulmanigorkulman/pi-skills/skills/jira-task-context/SKILL.md

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.

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
  1. Distinctive:

    Use this skill when the user gives a Jira URL/key or asks to start from a Jira task.

    line 9
  2. Distinctive:

    Follow linked Jira issues at least one hop by default:

    line 15
  3. Distinctive:

    Follow those external links read-only when access/tools are available:

    line 24
  4. Distinctive:

    Do not mutate Confluence, Figma, Jira, or any external system.

    line 27
  5. Distinctive:

    Keep traversal bounded to links directly referenced by the collected Jira issues unless the user asks for deeper discovery.

    line 28
  6. Distinctive:

    Do not ask the user to paste tokens into chat and never print token values.

    line 57
  7. Distinctive:

    If authentication fails, tell the user which variable names are needed, not the secret values.

    line 75
  8. Distinctive:

    After fetching, present a concise context summary containing:

    line 79
  9. Very specific:

    Keep max issue limits reasonable (--max-issues) to avoid accidentally crawling too much Jira content.

    line 95
  10. Distinctive:

    Do not mutate Jira issues unless the user explicitly asks.

    line 96

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Extract the Jira issue key and base URL from the user-provided URL/key.
  2. Fetch the root issue details.
  3. 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
  4. 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
  5. Follow those external links read-only when access/tools are available:
    • For Confluence pages, use web_fetch when 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 (or tool_search when available) and load the server's required guidance before get_design_context; do not use the removed personal-token extension tools or the Xcode-specific project_tool_search. Keep this context lookup read-only even when server guidance describes implementation or Figma writes. If MCP access is unavailable, try web_fetch for 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.
  6. 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 5

Useful 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 json

Authentication

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.