agent-md-refactor
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow…
Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.
$ npx -y skills add softaworks/agent-toolkit --skill jira --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/jiraContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.
name: jira description: Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.
Natural language interaction with Jira. Supports multiple backends.
**Run this check first** to determine which backend to use:
1. Check if jira CLI is available: → Run: which jira → If found: USE CLI BACKEND 2. If no CLI, check for Atlassian MCP: → Look for mcp__atlassian__* tools → If available: USE MCP BACKEND 3. If neither available: → GUIDE USER TO SETUP
| Backend | When to Use | Reference | |---------|-------------|-----------| | **CLI** | `jira` command available | `references/commands.md` | | **MCP** | Atlassian MCP tools available | `references/mcp.md` | | **None** | Neither available | Guide to install CLI |
---
> Skip this section if using MCP backend.
| Intent | Command | |--------|---------| | View issue | `jira issue view ISSUE-KEY` | | List my issues | `jira issue list -a$(jira me)` | | My in-progress | `jira issue list -a$(jira me) -s"In Progress"` | | Create issue | `jira issue create -tType -s"Summary" -b"Description"` | | Move/transition | `jira issue move ISSUE-KEY "State"` | | Assign to me | `jira issue assign ISSUE-KEY $(jira me)` | | Unassign | `jira issue assign ISSUE-KEY x` | | Add comment | `jira issue comment add ISSUE-KEY -b"Comment text"` | | Open in browser | `jira open ISSUE-KEY` | | Current sprint | `jira sprint list --state active` | | Who am I | `jira me` |
---
> Skip this section if using CLI backend.
| Intent | MCP Tool | |--------|----------| | Search issues | `mcp__atlassian__searchJiraIssuesUsingJql` | | View issue | `mcp__atlassian__getJiraIssue` | | Create issue | `mcp__atlassian__createJiraIssue` | | Update issue | `mcp__atlassian__editJiraIssue` | | Get transitions | `mcp__atlassian__getTransitionsForJiraIssue` | | Transition | `mcp__atlassian__transitionJiraIssue` | | Add comment | `mcp__atlassian__addCommentToJiraIssue` | | User lookup | `mcp__atlassian__lookupJiraAccountId` | | List projects | `mcp__atlassian__getVisibleJiraProjects` |
See `references/mcp.md` for full MCP patterns.
---
---
Issue keys follow the pattern: `[A-Z]+-[0-9]+` (e.g., PROJ-123, ABC-1).
When a user mentions an issue key in conversation:
---
**Creating tickets:** 1. Research context if user references code/tickets/PRs 2. Draft ticket content 3. Review with user 4. Create using appropriate backend
**Updating tickets:** 1. Fetch issue details first 2. Check status (careful with in-progress tickets) 3. Show current vs proposed changes 4. Get approval before updating 5. Add comment explaining changes
---
Ask yourself:
1. **What's the current state?** — Always fetch the issue first. Don't assume status, assignee, or fields are what user thinks they are.
2. **Who else is affected?** — Check watchers, linked issues, parent epics. A "simple edit" might notify 10 people.
3. **Is this reversible?** — Transitions may have one-way gates. Some workflows require intermediate states. Description edits have no undo.
4. **Do I have the right identifiers?** — Issue keys, transition IDs, account IDs. Display names don't work for assignment (MCP).
---
---
---
If neither CLI nor MCP is available, guide the user:
To use Jira, you need one of: 1. **jira CLI** (recommended): https://github.com/ankitpokhrel/jira-cli Install: brew install ankitpokhrel/jira-cli/jira-cli Setup: jira init 2. **Atlassian MCP**: Configure in your MCP settings with Atlassian credentials.
---
**LOAD reference when:**
**Do NOT load reference for:**
| Task | Load Reference? | |------|-----------------| | View single issue | No | | List my tickets | No | | Create with description | **Yes** — CLI needs `/tmp` pattern | | Transition issue | **Yes** — need transition ID workflow | | JQL search | **Yes** — for complex queries | | Link issues | **Yes** — MCP limitation, need script |
References:
Opinionated skills shared by @leonardocouy for improving daily work efficiency with Claude Code. Skills are packaged instructions and scripts that extend agent capabilities across development, documentation, planning, and professional workflows.
Repo: softaworks/agent-toolkit
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow…
Create API handoff documentation for frontend developers. Use when backend work is complete…
Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create…
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex…
This skill should be used when creating a Claude Code slash command. Use when users ask to…
Create high-quality git commits: review/stage intended changes, split into logical commits,…