skills/jira-tool/SKILL.md
Use when user provides Jira issue URLs or mentions Jira tickets - fetches issue details and comments from Jira Cloud using local jira tool, outputs AI-optimized markdown for context gathering
npx skillsauth add mbarbieri/my-claude jira-toolInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Core principle: When users mention Jira issues or provide Jira URLs, immediately run jira <url-or-key>. Don't explore code, don't explain internals, just use the tool.
The jira tool is a Python CLI that fetches Jira Cloud issues (description, comments, metadata) and outputs AI-optimized markdown to stdout.
IMMEDIATE ACTION REQUIRED:
jira "<url or key>"That's it. No analysis, no explanation, no code reading. If jira tool doesn't exists, just tell the user to install it and make use it's in the PATH.
Use jira tool when:
https://*.atlassian.net/browse/KEY-123Don't use when:
| Task | Command |
|------|---------|
| Fetch by issue key | jira PROJ-123 |
| Fetch by URL | jira "https://company.atlassian.net/browse/PROJ-123" |
| Save to file | jira PROJ-123 > context.md |
Before using the tool, verify:
# 1. Configuration exists
ls .env
If missing:
.env not found → Tell user to create it with ATLASSIAN_EMAIL, ATLASSIAN_TOKEN, ATLASSIAN_DOMAIN# Direct issue key
jira SP-1234
# Full URL (with or without query params)
jira "https://company.atlassian.net/browse/TICKET-123"
jira "https://company.atlassian.net/browse/TICKET-123?filter=all"
Gather context before implementation:
# Fetch requirements
jira "https://company.atlassian.net/browse/FEATURE-456" > requirements.md
# Read and implement
cat requirements.md
# [implement based on requirements]
Read issue during debugging:
# Fetch bug report
jira BUG-789
# Use output to understand the issue
# [debug based on description and comments]
The tool outputs markdown with:
Structure:
# [KEY-123] Issue Title
**Issue Key:** KEY-123
**Status:** In Progress
**Priority:** High
...
---
## Original Description
[Description content in markdown]
---
## Comments (N total)
### Comment by Author on YYYY-MM-DD HH:MM UTC
[Comment content]
| Error | Cause | Solution |
|-------|-------|----------|
| ATLASSIAN_EMAIL not found | Missing .env | Create .env with required vars |
| Invalid credentials | Wrong API token | Check ATLASSIAN_TOKEN in .env |
| Issue KEY-123 not found | No access or doesn't exist | Verify key and permissions |
| Failed to connect to Jira | Network or domain issue | Check ATLASSIAN_DOMAIN in .env |
| Invalid issue key | Wrong format | Use format: PROJ-123 |
All errors go to stderr - stdout remains clean for piping.
# DON'T: Spend time reading jira.py source
Read jira to understand API calls...
# DO: Just use it
jira PROJ-123
# DON'T: Fetch HTML page
WebFetch https://company.atlassian.net/browse/PROJ-123
# DO: Use jira tool for structured data
jira PROJ-123
# DON'T: Breaks on query params
jira https://site.atlassian.net/browse/KEY-123?filter=all
# DO: Quote URLs
jira "https://site.atlassian.net/browse/KEY-123?filter=all"
development
Use when writing or refactoring Spock tests in Java projects - enforces data-driven testing with where blocks, proper mock/stub placement, and descriptive test names following Spock best practices
development
Use when writing, modifying, or reviewing Java code - applies SOLID principles, clean code practices, minimal documentation, and pragmatic abstraction to create maintainable Java applications
development
Use when the user asks to implement a feature, add a class or method, fix a bug, refactor code, add test coverage, or run autonomously to drive work forward. Supports explicit phase selection via the first argument (red | green | refactor | forever) and infers the phase from conversation and test state when no phase is given. With no arguments at all, defaults to forever (autonomous loop). Do NOT use for code review, CI/CD setup, testing questions, infrastructure, or documentation tasks.
testing
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".