Skip to content

Claude Code skill for Atlassian CLI (acli) - includes authentication, batch operations, bulk creation, and JQL query patterns

License

Notifications You must be signed in to change notification settings

leweii/atlassian-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlassian CLI Skill for Claude

A Claude Code skill for working with Atlassian products (Jira, Confluence) via the command line using the acli tool.

Overview

This skill provides comprehensive guidance for using the Atlassian CLI (acli) effectively, including:

  • Authentication management - Always check auth first
  • Correct command structure - Modern syntax patterns
  • Batch operations - JQL queries, filters, and bulk updates
  • Output formats - CSV, JSON, and web options
  • Bulk creation - Efficient multi-issue workflows
  • Common patterns - Sprint reports, status updates, project management

Installation

For Claude Code Users

Copy the skill to your Claude skills directory:

mkdir -p ~/.claude/skills/atlassian-cli
cp SKILL.md ~/.claude/skills/atlassian-cli/

The skill will be automatically available in your next Claude Code session.

Prerequisites

You need the Atlassian CLI (acli) tool installed. Install it following the official documentation.

# Verify installation
acli --version

What This Skill Fixes

Without this skill, Claude agents commonly make these mistakes:

  • ❌ Skip authentication checks (commands fail)
  • ❌ Use old syntax with --action flag (doesn't work)
  • ❌ Use wrong flags (--outputFormat vs --csv, --columns vs --fields)
  • ❌ Don't know about bulk features (create-bulk, --from-json)
  • ❌ Suggest inefficient bash loops instead of built-in commands
  • ❌ Use wrong entity names

With this skill, Claude will:

  • ✅ Always check authentication first
  • ✅ Use correct modern syntax: acli <product> <entity> <action>
  • ✅ Leverage batch operations with JQL
  • ✅ Use proper output formats
  • ✅ Recommend built-in bulk features
  • ✅ Follow efficient patterns

Usage Examples

The skill covers common workflows like:

Sprint Report Generation

# 1. Check auth
acli auth status

# 2. Search sprint issues with CSV output
acli jira workitem search \
  --jql "project = TEAM AND sprint = 42" \
  --fields "key,summary,status,assignee" \
  --csv > sprint-report.csv

Bulk Status Updates

# 1. Check auth
acli auth status

# 2. Transition all matching issues
acli jira workitem transition \
  --jql "project = MOBILE AND status = 'In Review'" \
  --status "Done" \
  --yes

Bulk Issue Creation

# 1. Check auth
acli auth status

# 2. Generate template
acli jira workitem create --generate-json > template.json

# 3. Create from template
acli jira workitem create --from-json issue1.json

Skill Features

Authentication First

The skill enforces checking authentication before any operation, preventing command failures.

Command Structure

Clear documentation of the modern command format:

acli <product> <entity> <action> [flags]

Quick Reference Tables

  • Jira entities and actions
  • Confluence entities and actions
  • Common JQL patterns
  • Output format options
  • Batch operation flags

Workflow Diagrams

Flowcharts showing:

  • Authentication check workflow
  • General command execution pattern

Red Flags

Catches common mistakes before they happen:

  • Skipping auth check
  • Using old --action syntax
  • Writing bash loops for bulk operations
  • Wrong flags and parameters

Development Process

This skill was created following Test-Driven Development (TDD) principles for documentation:

RED Phase

  • Tested agents WITHOUT the skill
  • Documented 7 types of baseline failures
  • Captured exact rationalizations

GREEN Phase

  • Wrote skill addressing specific failures
  • Verified agents follow guidance correctly
  • All baseline failures resolved

REFACTOR Phase

  • Tested for new issues
  • No loopholes found
  • Skill complete and bulletproof

See the /docs directory for detailed testing documentation.

Contributing

Contributions are welcome! If you find issues or have suggestions:

  1. Test the change following TDD principles
  2. Document any new baseline failures
  3. Update the skill to address them
  4. Verify improvements
  5. Submit a pull request

License

MIT License - feel free to use and modify as needed.

Author

Created by Jakob He

Related

Version History

v1.0.0 (2026-01-20)

  • Initial release
  • Covers Jira and Confluence operations
  • Authentication workflow
  • Batch operations guide
  • Bulk creation features
  • Comprehensive examples

About

Claude Code skill for Atlassian CLI (acli) - includes authentication, batch operations, bulk creation, and JQL query patterns

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •