agentleFS
mholtzschermholtzscher/skills/atlassian-api/SKILL.md

atlassian-api

Skill0 starsChanged 2 months agoMITView on GitHub

Search Jira issues, fetch Jira issue details, search Confluence pages, and fetch Confluence page content through bundled curl+jq shell helpers. Use when interacting directly with Atlassian Cloud REST APIs in read-only mode.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for common read-only Atlassian Cloud workflows against the Jira and Confluence REST APIs.

    line 11
  2. Distinctive:

    Never hardcode credentials into scripts or checked-in files.

    line 23
  3. Distinctive:

    Never print tokens back to the user.

    line 24
  4. Very specific:

    Use only read-only API operations unless the user explicitly asks for create/update/delete behavior.

    line 25
  5. Distinctive:

    If auth fails, tell the user to check their Atlassian environment variables and API token setup.

    line 26
  6. Very specific:

    Default format is text.

    line 66
  7. Very specific:

    Use --body-only when only the description is needed.

    line 69
  8. Very specific:

    Use --body-only when only the rendered content is needed.

    line 94

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Atlassian API

Use this skill for common read-only Atlassian Cloud workflows against the Jira and Confluence REST APIs.

Prerequisites

The bundled scripts read shared Atlassian credentials from:

  • ATLASSIAN_BASE_URL — site URL, for example https://example.atlassian.net
  • ATLASSIAN_EMAIL — Atlassian account email for basic auth
  • ATLASSIAN_API_TOKEN — Atlassian API token

Hard Rules

  • Never hardcode credentials into scripts or checked-in files.
  • Never print tokens back to the user.
  • Use only read-only API operations unless the user explicitly asks for create/update/delete behavior.
  • If auth fails, tell the user to check their Atlassian environment variables and API token setup.

Quick Start

./scripts/jira-search.sh --project DEV --text authentication
./scripts/jira-get-issue.sh DEV-123
./scripts/confluence-search.sh --space DEV --title architecture
./scripts/confluence-get-content.sh 12345678

Bundled Scripts

ScriptPurpose
./scripts/jira-search.shSearch issues with raw JQL or simple filters
./scripts/jira-get-issue.shFetch issue metadata, description, and optional comments
./scripts/confluence-search.shSearch pages with raw CQL or simple filters
./scripts/confluence-get-content.shFetch page metadata plus text/html/storage body

Jira issue search

./scripts/jira-search.sh --project DEV --text authentication
./scripts/jira-search.sh --project DEV --status "In Progress" --limit 5
./scripts/jira-search.sh --query "project = DEV AND assignee = currentUser() ORDER BY updated DESC"
  • Accepts raw --query or builds JQL from --project, --summary, --text, --status, --assignee, and --type.
  • Returns one JSON object with query, results, and pagination.

Jira issue details

./scripts/jira-get-issue.sh DEV-123
./scripts/jira-get-issue.sh DEV-123 --format rendered
./scripts/jira-get-issue.sh DEV-123 --comments
./scripts/jira-get-issue.sh DEV-123 --body-only
  • Default format is text.
  • Supported formats: text, raw, rendered.
  • Standard output is JSON with issue, descriptionFormat, description, and optional comments.
  • Use --body-only when only the description is needed.

Confluence page search

./scripts/confluence-search.sh --space DEV --title architecture
./scripts/confluence-search.sh --text runbook --limit 5
./scripts/confluence-search.sh --query "space = DEV AND label = 'runbook'"
  • Accepts raw --query or builds CQL from --space, --title, --text, and --label.
  • Returns one JSON object with query, results, and pagination.

Confluence page content

./scripts/confluence-get-content.sh 12345678
./scripts/confluence-get-content.sh 12345678 --format view
./scripts/confluence-get-content.sh 12345678 --format storage
./scripts/confluence-get-content.sh 12345678 --body-only
  • Default format is text.
  • Supported formats: text, view, html, storage.
  • Standard output is JSON with page, bodyFormat, and body.
  • Use --body-only when only the rendered content is needed.

In This Reference

FilePurpose
operations.mdEnv vars, Jira JQL patterns, Confluence CQL patterns, endpoints, and output notes

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.