Token导航 LogoToken导航

Agent Skill · 研究检索

atlassian-rest(阿特拉斯休息)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

atlassian-rest 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 50,133。

总安装 629周安装 27GitHub Stars 8下载 220核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:atlassian-rest(阿特拉斯休息)
来源仓库:https://github.com/bmad-labs/skills
仓库路径:skills/atlassian-rest
安装命令:
npx skills add https://github.com/bmad-labs/skills --skill atlassian-rest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bmad-labs/skills --skill atlassian-rest

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

atlassian-rest 提供零依赖的 Jira 和 Confluence REST API 集成方案,兼容 Node.js 18+ 环境。它生成标准 HTTP 请求模板,支持 OpenAPI 风格接口定义和错误码映射说明。适用于前后端联调、自动化脚本开发和 webhook 处理,避免重复造轮子。

所有请求都需携带有效凭证,建议将 API token 存储在环境变量而非代码中。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/atlassian-rest

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/bmad-labs/skills --skill atlassian-rest;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

atlassian-rest 怎么安装?

在终端执行 npx skills add https://github.com/bmad-labs/skills --skill atlassian-rest。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

atlassian-rest 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

atlassian-rest 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

atlassian-rest 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

atlassian-rest 用的人多吗?

公开数据是累计安装 629 次,近一周安装 27 次,下载 220 次,GitHub 8 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

atlassian-rest 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
atlassian-rest

阿特拉斯休息 · 本页

6298接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Atlassian REST API Skill

Portable Jira & Confluence integration via REST APIs. Works in any agent environment with Node.js 18+ — zero dependencies, no MCP server required.

First-Use Setup

<skill-path> throughout this document refers to the directory where this skill is installed. Resolve it from the skill invocation context (e.g., the path shown by claude plugin list or the skill's directory in .claude/plugins/).

Before any operation, verify the user has credentials configured. Run:

node <skill-path>/scripts/setup.mjs

If it fails, guide the user through the setup — the script prints step-by-step instructions.

Required Environment Variables

VariableDescriptionExample
ATLASSIAN_API_TOKENAPI token*(generated at Atlassian)*
ATLASSIAN_EMAILAccount emailuser@company.com
ATLASSIAN_DOMAINAtlassian site domaincompany.atlassian.net

How to Use This Skill

When the user asks you to do something with Jira or Confluence, follow these principles:

  1. Resolve ambiguity first. If the user says "create a ticket" but hasn't specified a project, run node <skill-path>/scripts/jira.mjs projects to list available projects, then ask which one. Same for issue types — run node <skill-path>/scripts/jira.mjs issue-types <projectKey> if unsure.
  2. Confirm before mutating. Before creating issues, transitioning tickets, or publishing Confluence pages, show the user what you're about to do and get confirmation. Read operations (search, get, list) don't need confirmation.
  3. Never delete. This skill does not support delete operations (issues, pages, attachments, boards, projects, accounts, etc.). If the user asks to delete something, direct them to the Atlassian web UI. This restriction is intentional and must not be bypassed.
  4. Compose operations naturally. Many user requests require multiple script calls. For example, "assign PROJ-123 to Sarah" requires: (a) lookup-user "Sarah" to get the account ID, then (b) edit PROJ-123 --assignee <accountId>.
  5. Prefer sync.mjs for document-based operations. When creating Jira issues from a local markdown file (story docs, specs, epics), use sync.mjs instead of raw jira.mjs create — it handles field mapping, link tracking, and sync state automatically. See the Document Sync Operations section below for details. Only use jira.mjs create for ad-hoc issues not backed by a local document.
  6. Use workflows for complex tasks. If the user's request matches one of the workflows below, read the corresponding file and follow its step-by-step process.
  7. Read reference docs when needed. Before writing JQL/CQL queries, consult references/query-languages.md. Before creating tickets, consult references/ticket-writing-guide.md. The reference docs exist to help you produce high-quality output — use them.

Passing Long Content to Scripts

For descriptions, comments, or page bodies longer than ~200 characters or containing special characters (backticks, quotes, $, newlines), write the content to a temp file and use the file-based flag:

Inline FlagFile FlagCommands
--description "text"--description-file /tmp/desc.mdjira create, jira edit
<body> (positional)--body-file /tmp/body.mdjira comment, confluence comment
--body "text"--body-file /tmp/body.mdconfluence create-page, update-page
--comment "text"--comment-file /tmp/comment.mdjira worklog

Write plain markdown to the file — scripts handle conversion to ADF (Jira) or storage format (Confluence) automatically. Prefer file-based input to avoid shell escaping issues.


Jira Operations

Script: node <skill-path>/scripts/jira.mjs <command> [args]

Search Issues

jira.mjs search 'project = PROJ AND status = "In Progress"' --max 20

Get Issue Details

jira.mjs get PROJ-123
jira.mjs get PROJ-123 --fields summary,status,assignee

Create Issue

jira.mjs create --project PROJ --type Task --summary "Implement feature X" \
  --description "Details here" --priority High --assignee <accountId> \
  --labels "backend,urgent" --components "API,Auth"
jira.mjs create --project PROJ --type Story --summary "User login" --parent PROJ-100
# For long descriptions, use a file:
jira.mjs create --project PROJ --type Task --summary "Feature X" \
  --description-file /tmp/desc.md --priority High

When creating child stories under an Epic, include --priority Medium unless the user specifies a different priority.

Edit Issue

jira.mjs edit PROJ-123 --summary "Updated title" --priority Medium
jira.mjs edit PROJ-123 --labels "backend,v2" --components "API"
# For long descriptions, use a file:
jira.mjs edit PROJ-123 --description-file /tmp/desc.md

Comments

jira.mjs comment PROJ-123 "Fixed in PR #456"
# For long comments, use a file:
jira.mjs comment PROJ-123 --body-file /tmp/comment.md

Transitions (move ticket status)

jira.mjs transitions PROJ-123          # List available transitions first
jira.mjs transition PROJ-123 31        # Then transition by ID

Always list transitions first to get the correct ID — don't guess.

Projects & Issue Types

jira.mjs projects                      # List all visible projects
jira.mjs issue-types PROJ              # List issue types for a project

Issue Links

jira.mjs link-types                    # List available link types first
jira.mjs link PROJ-1 PROJ-2 --type "relates to"

User Lookup

jira.mjs lookup-user "john"            # Returns account ID needed for --assignee

Worklog

jira.mjs worklog PROJ-123 --time 2h --comment "Code review"

Document Sync Operations

Script: node <skill-path>/scripts/sync.mjs <command> [args]

When creating Jira/Confluence items from local markdown documents, prefer sync.mjs over raw jira.mjs/confluence.mjs — it auto-updates the source document with links and maintains sync state.

Setup Field Mapping (first time per doc type)

sync.mjs setup-mapping --type story --sample PROJ-200   # Auto-detect fields from existing ticket
sync.mjs setup-mapping --type epic --sample PROJ-100    # Creates memory/jira-epic-field-mapping.json

Field mappings are stored in <skill-path>/memory/ and define how markdown sections map to Jira fields. See references/sync-mapping-guide.md for the full schema.

Link & Create from Document

sync.mjs link <file> --type story --project PROJ --create    # Create Jira issue + update doc
sync.mjs link <file> --type epic --project PROJ --create     # Create epic + child stories
sync.mjs link <file> --type story --ticket PROJ-123          # Link to existing ticket

Push/Pull Changes

sync.mjs push <file>                    # Push local changes to Jira/Confluence
sync.mjs push <file> --delete-orphans   # Push + prompt to delete orphaned Sub-* subtasks
sync.mjs pull <file>                    # Pull remote changes to local
sync.mjs diff <file>                    # Show per-section diff
sync.mjs status <file>                  # Show sync status

When push reports orphaned subtasks (sections removed from local doc), ask the user if they want to delete them, then run with --delete-orphans. Only Sub-* issue types can be deleted — parent issues are skipped.

Custom Instructions in Mapping Config

The field mapping JSON (memory/jira-<docType>-field-mapping.json) supports an instructions field for additional agent guidance:

{
  "instructions": "Always set priority to High. Add label 'team-alpha'. Use Sub-Imp type for child items."
}

When present, instructions are printed to stdout during push and link operations so the calling agent can follow them.

Batch Operations

sync.mjs batch                # Scan all linked docs and report status

Confluence Operations

Script: node <skill-path>/scripts/confluence.mjs <command> [args]

Search Pages

confluence.mjs search 'type = page AND text ~ "architecture"' --max 10

Get Page

confluence.mjs get-page 12345
confluence.mjs get-page 12345 --format view

Create Page

confluence.mjs create-page --space TEAM --title "Sprint Report" --body "Report content"
confluence.mjs create-page --space TEAM --title "Sub Page" \
  --body "<h2>Heading</h2><p>Content</p>" --parent 12345
confluence.mjs create-page --space TEAM --title "Full Doc" --body-file /tmp/body.md

The --body flag accepts markdown (recommended), plain text, or raw HTML storage format (if it starts with <). The script automatically converts markdown to Confluence storage format — headings, lists, tables, and code blocks (converted to ac:structured-macro ac:name="code" with language detection) are all handled. Prefer writing markdown and letting the script handle conversion rather than manually constructing storage format XHTML. Use --body-file for long documents that would exceed shell argument limits.

Update Page

confluence.mjs update-page 12345 --title "Updated Title" --body "New content"
confluence.mjs update-page 12345 --title "Updated Title" --body-file /tmp/body.md

Version is auto-incremented — no need to track it manually. Use --body-file for large page updates.

Comments

confluence.mjs comment 12345 "Reviewed and approved"
# For long comments, use a file:
confluence.mjs comment 12345 --body-file /tmp/comment.md

Attachments

confluence.mjs attach 12345 ./screenshot.png --comment "Architecture diagram"
confluence.mjs list-attachments 12345 --max 10

Use attach to upload local files (images, PDFs, etc.) to a page. After uploading, embed images in the page body using <ac:image><ri:attachment ri:filename="screenshot.png" /></ac:image> — see references/confluence-formatting.md for sizing guidelines.

Sync Confluence Space to Local Markdown

# Download an entire page tree to local markdown with attachments
node <skill-path>/scripts/sync-confluence-space.mjs --root <pageId> --output ./docs

# Preview without writing files
node <skill-path>/scripts/sync-confluence-space.mjs --root <pageId> --output ./docs --dry-run

# Skip attachment downloads (faster, markdown only)
node <skill-path>/scripts/sync-confluence-space.mjs --root <pageId> --output ./docs --skip-attachments

Downloads an entire Confluence page tree to local markdown files with hierarchy, images, and linked titles. Rewrites both image references and file attachment links to point to local assets. See workflows/sync-confluence-space.md for full details and customization options.

Spaces & Navigation

confluence.mjs spaces --max 20
confluence.mjs descendants 12345       # Get child pages

Format Conversion Utilities

Script: <skill-path>/scripts/confluence-format.mjs

This module provides bidirectional markdown ↔ Confluence storage format conversion. It's used internally by confluence.mjs but can also be imported directly for custom sync scripts.

Exported Functions

import { markdownToStorage, storageToMarkdown, htmlInlineToMarkdown } from '<skill-path>/scripts/confluence-format.mjs';
FunctionDirectionUse case
markdownToStorage(md)Markdown → XHTMLPublishing to Confluence (auto-used by confluence.mjs --body-file)
storageToMarkdown(html)XHTML → MarkdownDownloading/syncing Confluence pages to local markdown files
htmlInlineToMarkdown(html)Inline HTML → MarkdownConverting snippets (table cells, list items) that may contain <strong>, <em>, <a>, <code>

What storageToMarkdown Handles

The converter handles real-world Confluence storage format patterns including:

  • Structured macros: code blocks (with/without language), panels (info/tip/warning/note → GitHub alerts), expand → <details><summary> collapsible sections, jira references, view-file → attachment links, toc/children (stripped)
  • Unknown macros: Any unrecognized ac:structured-macro types have their body content preserved (not silently dropped)
  • Tables: <colgroup>, <tbody>, <thead> wrappers stripped; attributes on <table>, <tr>, <th>, <td> handled
  • Task lists: <ac:task-list> with <ac:task-id> → markdown checkboxes
  • Images: URL and attachment images → ![alt](url) with filename as fallback alt text; parentheses and spaces in filenames URL-encoded
  • Code blocks: Protected from HTML tag stripping via placeholder system — generic types like Array<string> preserved inside fenced blocks
  • Expand/collapsible bodies: Full content support inside expand macros — code blocks, images, tables, panels, task lists, and nested macros all convert correctly
  • Entities: Full HTML entity decoding (&rsquo;, &ldquo;, &rarr;, `, numeric {`)
  • Block separation: \n\n around headings, images, lists, <hr>, tables, code blocks
  • Attribute tolerance: All HTML tag regexes accept optional attributes (handles Confluence's local-id, data-layout, breakoutWidth, etc.)
  • Bold/italic cleanup: Trailing spaces inside markers fixed (**text ** → **text**)
  • Stray angle brackets: Escaped outside code blocks to prevent markdown renderer confusion

Syncing a Confluence Space

For most use cases, use the built-in sync script directly:

node <skill-path>/scripts/sync-confluence-space.mjs --root <pageId> --output ./docs

For custom sync scripts, import storageToMarkdown and follow this pattern:

import { storageToMarkdown } from '<skill-path>/scripts/confluence-format.mjs';

// Fetch page via Confluence v2 API
const page = await apiGet(`/wiki/api/v2/pages/${pageId}`, { 'body-format': 'storage' });
const html = page.body.storage.value;

// Convert to markdown
let markdown = storageToMarkdown(html);

// Add linked title using page._links.base + page._links.webui
const pageUrl = `${page._links.base}${page._links.webui}`;
markdown = `# [${page.title}](${pageUrl})\n\n${markdown}`;

Key gotchas discovered in production use:

  • The v2 API _links.webui is a relative path (e.g., /spaces/BTH/pages/123/Title). Combine with _links.base (e.g., https://company.atlassian.net/wiki) for the full URL — do NOT use env.domain + _links.webui directly (missing /wiki prefix).
  • Attachment filenames with spaces and parentheses must be URL-encoded in markdown links: ![alt](Screenshot%202025-11-05%20at%2016.50.02.png).
  • When writing a hierarchical sync, use getChildrenTree() (recursive children API) to build the tree, then decide per-node: pages with children → directory/index.md, leaf pages → flat PageName.md.
  • Keep attachments in a shared assets/imgs/ and assets/pdfs/ directory. Use depth-aware relative paths (../assets/imgs/ at depth 1, ../../assets/imgs/ at depth 2, etc.).
  • The sync script must rewrite both image references (![alt](filename)) and file attachment links ([filename](filename)) to local paths — Confluence view-file macros produce regular links, not image references.
  • Confluence adds attributes (local-id, breakoutWidth, data-layout) to most HTML tags. Any regex matching tags must use [^>]* for optional attributes.
  • Expand macro bodies can contain any content (code blocks, images, tables). The inner HTML converter must handle the same set of elements as the main converter.

Running Tests

node <skill-path>/scripts/test-format.mjs

100+ tests covering forward conversion, reverse conversion, round-trip preservation, block element spacing, code block protection, image URL encoding, entity decoding, expand macros with nested content, view-file macros, unknown macro catch-all, and attribute tolerance on HTML tags.


Workflows

For complex multi-step operations that require user interaction across several turns, read the corresponding workflow file and follow its step-by-step process. For simple one-shot commands, use the operations sections above directly.

WorkflowWhen to useFile
Capture Tasks from Meeting NotesUser provides meeting notes and wants Jira tasks created from action itemsworkflows/capture-tasks-from-meeting-notes.md
Generate Status ReportUser wants a project status report, sprint summary, or weekly updateworkflows/generate-status-report.md
Search Company KnowledgeUser wants to find information across Confluence pages and Jira issuesworkflows/search-company-knowledge.md
Spec to BacklogUser has a Confluence spec and wants it broken into an Epic + child ticketsworkflows/spec-to-backlog.md
Triage IssueUser reports a bug and wants duplicate checking before filingworkflows/triage-issue.md
Create Confluence DocumentUser wants a professional Confluence page with macros, images, and structured formattingworkflows/create-confluence-document.md
Sync BMAD DocumentsUser wants to sync local BMAD docs (epics, tech specs, PRDs, architecture) with Jira or Confluence, or link a document to a ticket/pageworkflows/sync-bmad-documents.md
Sync Confluence SpaceUser wants to download an entire Confluence space to local markdown files with hierarchy, images, and linked titlesworkflows/sync-confluence-space.md

Error Handling

ErrorLikely CauseResolution
401 UnauthorizedBad or expired API tokenRegenerate at Atlassian security settings
403 ForbiddenInsufficient permissionsCheck project/space permissions for the user's account
404 Not FoundWrong issue key, page ID, or domainVerify the resource exists and ATLASSIAN_DOMAIN is correct
429 Too Many RequestsRate limitedWait briefly and retry; reduce batch sizes
Missing env varsNot configuredRun node <skill-path>/scripts/setup.mjs

Reference Documentation

Load these as needed — don't read them all upfront:

ReferenceWhen to consult
references/jira-api.mdNeed details on Jira API endpoints or request shapes
references/confluence-api.mdNeed details on Confluence API endpoints or storage format
references/confluence-formatting.mdBuilding professional pages with macros, layouts, images, and document templates
references/query-languages.mdWriting JQL or CQL queries
references/jql-patterns.mdNeed common JQL patterns for reports, searches, filters
references/action-item-patterns.mdParsing meeting notes for action items
references/report-templates.mdGenerating status reports
references/bug-report-templates.mdCreating well-structured bug reports
references/search-patterns.mdMulti-source search strategies
references/epic-templates.mdWriting epic descriptions
references/ticket-writing-guide.mdWriting clear ticket summaries and descriptions
references/breakdown-examples.mdBreaking specs into stories and tasks
references/sync-mapping-guide.mdBefore first document sync, when mapping fields fail, or configuring custom field mappings

平台分布

Codex

38.56%
按下载量换算85

Claude

29.27%
按下载量换算64

Cursor

19.58%
按下载量换算43

Gemini CLI

9.94%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills