acli-skills
Claude Code skills and a hook for managing Jira from the terminal via the Atlassian CLI (acli).
What's in here
Five skills cover the main Jira workflows — authenticating, searching issues and projects, viewing sprint data, creating or editing work items — plus converting Markdown to Atlassian Document Format (ADF) for publishing to Jira or Confluence. A PostToolUse hook watches for authentication errors and tells Claude to offer a fix. A settings.local.json file pre-approves the acli commands the skills use so you are not prompted on every run. 105 commands are documented across docs/commands.md and docs/reference.md, checked against ACLI 1.3.40-stable.
Requirements
acli (Atlassian CLI) installed
- Claude Code installed
- A Jira Cloud account
Install acli
macOS:
brew install atlassian/tap/acli
Windows and Linux: download the binary from https://developer.atlassian.com/cloud/acli/
Verify the install:
acli --version
Authenticate
You must authenticate before any acli command works.
OAuth login, which opens a browser window:
acli jira auth login --web
API token login, for CI or headless environments:
acli jira auth login --site "<your-site>.atlassian.net" --email "<email>" --token
Tokens are generated at https://id.atlassian.com/manage-profile/security/api-tokens. Paste or pipe the token when prompted.
Check the current session:
acli jira auth status
The acli-auth-guard.sh hook detects authentication errors in command output and injects context so Claude can prompt you to log in again.
Plugin install (recommended)
Run these three commands inside any Claude Code session:
/plugin marketplace add moumine9/acli-skills
/plugin install acli-skills
/reload-plugins
Choose a scope when prompted:
- User — available in all your projects (recommended)
- Project — installs into
.claude/plugins/ for the whole team
- Local — project-scoped but only for you
Skills are available as:
/acli-skills:auth
/acli-skills:search
/acli-skills:sprint
/acli-skills:workitem
/acli-skills:atlassian-document-format
The auth guard hook activates automatically after install.
Note: The official Anthropic marketplace includes an atlassian plugin that connects via MCP. This plugin is different: it wraps the acli CLI using skills, which load progressively and use far less context than MCP tool definitions loaded at session start.
Test locally before installing
claude --plugin-dir ./
This loads the plugin from the current directory without installing it. Use /reload-plugins to pick up changes without restarting.
Manual install
Skills
Copy each skill directory into your Claude skills folder:
cp -r skills/auth ~/.claude/skills/
cp -r skills/search ~/.claude/skills/
cp -r skills/sprint ~/.claude/skills/
cp -r skills/workitem ~/.claude/skills/
cp -r skills/atlassian-document-format ~/.claude/skills/
Skills are then available as /auth, /search, /sprint, /workitem, and /atlassian-document-format.
Auth guard hook
Copy the hook and make it executable:
cp hooks/acli-auth-guard.sh ~/.claude/hooks/
chmod +x ~/.claude/hooks/acli-auth-guard.sh
Add the following entry to ~/.claude/settings.json under hooks.PostToolUse:
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash \"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/acli-auth-guard.sh\""
}
]
}
Project permissions
Copy .claude/settings.local.json into your project's .claude/ folder:
cp .claude/settings.local.json <your-project>/.claude/settings.local.json
Integrations
plan-realisation-fe
The plan-realisation-fe skill (from claude-code-setup) uses acli-skills:workitem view to automatically fetch Jira ticket context when generating a plan document. It:
- Detects the ticket key from the current branch name (e.g.
PV2-12493 in PV2-12493-fix-something) or from an explicit argument.
- Calls
acli jira workitem view <KEY> with the fields key,issuetype,summary,status,assignee,description,acceptance-criteria,labels,priority.
- Uses the ticket description and acceptance criteria to inform the Problematique and Solution sections of the generated plan.
For this to work, acli must be authenticated (acli jira auth login --web) and the plugin must be installed in the same Claude Code session.
Reference docs
Skills