Logo Atlassian Content

Atlassian Content

Cộng đồng
arozumenko
atlassian-content

Use when the user says 'file a bug', 'comment on JIRA-123', 'write up a decision page', or authors any Atlassian content. Creates well-formatted Jira issues/comments and Confluence pages on both Cloud and Server/Data Center, with mandatory post-creation re-fetch plus repair.

Tổng quan

Nhà phát hànharozumenko
Kho mãsdlc-skills
Tên kỹ năngatlassian-content
Sao
26
Bản fork
10
Tệp đi kèm
6
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được arozumenko công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Atlassian Content trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/arozumenko/sdlc-skills/tree/main/bundles/test-automation/skills/atlassian-content
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/bundles/test-automation/skills/atlassian-content .claude/skills/atlassian-content
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Atlassian Content trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Atlassian Content ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Atlassian Content với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Atlassian content — Jira + Confluence, done right

Atlassian has two deployments (Cloud and Server / Data Center) and two content surfaces (Jira and Confluence). That's a 2×2 grid of formats, mention syntaxes, and API versions — and markdown is none of them. Content submitted in the wrong format renders as a wall of asterisks, broken tables, orphan @username strings, and code blocks that display as plain paragraphs. This skill is the rulebook for getting it right the first time and verifying it after.

Core principle: Detect the deployment, format-match the surface, resolve identities before you post, and always re-fetch what you wrote.

When to load this skill

Load when the task involves authoring content inside Atlassian products:

  • Filing a Jira issue (story, bug, task, subtask)
  • Leaving a Jira comment (review findings, clarifications, updates)
  • Updating a Jira field that accepts rich text (description, custom text fields)
  • Creating or editing a Confluence page (decisions, runbooks, writeups, reviews)
  • Mentioning a human in either surface

Do NOT load for: read-only Jira/Confluence operations (search, field reads, user lookups) — those don't need formatting rules.

Absolute boundaries

  • Never post markdown into Jira or Confluence. Each deployment / surface has a specific expected format:

    • Jira Cloud (API v3) → ADF (Atlassian Document Format, a structured JSON document).
    • Jira Server / DC (API v2) → wiki markup (plain string, e.g. h2. Title, *bold*, {code}…{code}).
    • Confluence Cloud + Server / DC → storage format (an XHTML-ish markup with <ac:*> / <ri:*> macros — same on both deployments). Confluence Server also accepts wiki markup via body.wiki input as a one-shot convenience.

    None of these surfaces interpret markdown natively via the API.

  • Never mention by @username free-text. Each deployment has its own mention syntax:

    • Cloud (both Jira and Confluence) → mention by accountId (ADF mention node / <ri:user ri:account-id="…"/>).
    • Jira Server / DC → [~username] inside wiki markup, where username is the login name from /rest/api/2/user/search.
    • Confluence Server / DC → <ri:user ri:userkey="…"/> or <ri:user ri:username="…"/> inside storage format.

    A free-text @Alexander string posts as a literal @Alexander on every surface — no notification, no link, no profile card.

  • Never declare a post "done" without re-fetching it. The only ground truth is what the server returns after creation. Run the verification pass (see references/verification.md) on every issue, comment, or page you create.

  • Never update without first fetching the raw current body. For any edit / append on an existing issue description, comment, or Confluence page, fetch the current content in its raw structured view first — ADF JSON for Jira Cloud, wiki-markup string for Jira Server / DC, storage-format XHTML for Confluence (any deployment). NOT the rendered HTML. Reading the raw body is how you see the existing macros, custom nodes, versioned structure, and formatting conventions the page already uses. Edit into that structure; don't overwrite it with a fresh body that discards the author's layout. Applies regardless of transport — raw Jira / Confluence REST API, MCP tools (Elitea_Dev, JiraIntegration, mcp-atlassian), or any Atlassian-connected integration the project ships. Pick the read tool that returns the raw ADF / storage string, not a pre-rendered / human-readable summary. See references/verification.md § "Before you update: raw-fetch first".

  • Never paste API tokens into the content. If a snippet illustrates an API call, redact credentials. This skill writes user-facing content; credentials belong in .env / auth_env, not in descriptions.

Detect deployment first — Cloud vs Server / Data Center

Before you assemble anything, know which deployment you're hitting. The format, the API version, and the mention syntax all depend on it.

Signals to read (in order of preference):

  1. .agents/profile.md § Project systems — typically declares JIRA_BASE_URL / CONFLUENCE_BASE_URL and which API the project uses. If the profile says "Server" or names a v2 endpoint, follow that.
  2. The base URL pattern:
    • https://<tenant>.atlassian.net (Jira Cloud) or https://<tenant>.atlassian.net/wiki (Confluence Cloud) → Cloud.
    • Anything else (custom domain like jira.company.com, confluence.company.com, IP, internal hostname) → almost certainly Server / DC.
  3. A probe GET when in doubt:
    • GET /rest/api/3/myself — 200 on Cloud, 404 on Server.
    • GET /rest/api/2/myself — 200 on both, but the response omits accountId on Server.
    • On Confluence, GET /rest/api/user/current returns an accountId field on Cloud and a userKey field on Server.

Decision table:

DeploymentJira APIJira body formatJira mentionConfluence APIConfluence bodyConfluence mention
Cloud/rest/api/3/*ADF (JSON doc)accountId mention node/wiki/rest/api/content (v1) or /wiki/api/v2/pages (v2)storage format (XHTML)<ri:user ri:account-id="…"/>
Server / DC/rest/api/2/*wiki markup (string)[~username]/rest/api/content (v1)storage format (XHTML), also accepts body.wiki<ri:user ri:userkey="…"/> or ri:username

Once you know the deployment, the rest of the loop is determined: the right reference file, the right user-lookup endpoint, the right re-fetch path.

Transport — MCP preferred, curl fallback, browser last resort

Priority: MCP (Atlassian MCP server like Elitea_Dev, JiraIntegration, mcp-atlassian — secrets stay out of agent context) → curl / HTTP (using JIRA_BASE_URL + auth env from .agents/profile.md § Project systems; if that file isn't present yet — project not seeded — ask the operator for the base URL and auth env var before falling back to HTTP) → browser (last resort; note explicitly that verification was visual-only). Transport does not change the body format — ADF over MCP is the same ADF as ADF over curl.

The authoring loop (every post, every time)

0. If updating an existing resource:
   Raw-fetch first  → GET the current body in its structured form
                      (Cloud Jira → ADF JSON; Server Jira → wiki markup
                      string; Confluence → storage-format XHTML),
                      read it, and merge your change into it —
                      don't regenerate from scratch.
1. Detect surface      → Jira issue, Jira comment, or Confluence page?
                         (deployment was determined upfront — see
                         § "Detect deployment first")
2. Resolve identities  → mentions by accountId (Cloud) / username (Server);
                         project/space keys; issue keys
3. Assemble body       → ADF (Cloud Jira), wiki markup (Server Jira),
                         or storage format (Confluence either way)
4. Submit              → MCP tool or REST endpoint
5. Re-fetch            → GET the resource back, don't trust the POST response alone
6. Validate            → run the checklist in references/verification.md
7. Repair              → if ugly, PUT/PATCH a fix; don't leave garbage

Each phase is cheap. Skipping any of them is how ugly tickets get filed.

1. Detect surface

You already know the deployment (Cloud vs Server / DC — see the decision table in § "Detect deployment first"). Now pick the surface:

SurfaceFormat (Cloud)Format (Server / DC)
Jira issue create / updateADF under fields.description (+ rich-text custom fields) — POST /rest/api/3/issue, PUT /rest/api/3/issue/{key}wiki markup string under fields.description — POST /rest/api/2/issue, PUT /rest/api/2/issue/{key}
Jira commentADF under body — POST /rest/api/3/issue/{key}/commentwiki markup string under body — POST /rest/api/2/issue/{key}/comment
Confluence page create / updatestorage format (XHTML string) under body.storage.value, representation: "storage" — POST /wiki/rest/api/contentstorage format under body.storage.value — POST /rest/api/content (no /wiki/ prefix)

If you're unsure which surface you're targeting: a Jira issue key (PROJ-123) → Jira. A Confluence space key + page title → Confluence.

2. Resolve identities

Before assembling the body, collect every identity you'll reference. The lookup endpoint and identifier you carry depend on the deployment:

  • Users:

    • Cloud → accountId. Look up via GET /rest/api/3/user/search?query=<email-or-name> (Jira) or GET /wiki/rest/api/user?username=… (Confluence).
    • Jira Server / DC → name (the login username) and key (stable internal id, e.g. JIRAUSER10042). Look up via GET /rest/api/2/user/search?username=<query> or the fuzzier GET /rest/api/2/user/picker?query=<text>. The name is what goes inside [~name].
    • Confluence Server / DC → userKey (preferred) or username. Look up via GET /rest/api/user?username=<name>.

    Cache per session. On Cloud, the same accountId works across Jira and Confluence in the same tenant. On Server, Jira and Confluence are usually separate installs with separate user directories — don't reuse identifiers across them unless the operator confirms shared SSO.

  • Jira project key → usually known from the task (.agents/profile.md § Project systems). If not, GET /rest/api/{2|3}/project.

  • Confluence space key → likewise from profile; otherwise GET /rest/api/space (Server) or GET /wiki/rest/api/space (Cloud).

  • Linked issues → the issue keys themselves. On Cloud, ADF inlineCard renders them as live cards; on Server, bare PROJ-123 strings auto-link.

If you cannot resolve a user, do not invent a mention. Fall back to plain text ("Hi Alexander, ") or ask the operator.

3. Assemble body

Pick the right reference for the deployment + surface you landed on in step 1:

  • Jira Cloud → build an ADF document. See references/jira-adf.md.
  • Jira Server / Data Center → build a wiki-markup string. See references/jira-wiki-server.md (covers h2. headings, *bold*, ||header|| tables, {code} / {panel} / {info} macros, [~username] mentions, and the renderer-trap).
  • Confluence (any deployment) → build a storage-format XHTML string. See references/confluence-storage.md for the body syntax. For Server-specific wrapper / mention / auth differences, see references/confluence-server.md.
  • Mentions (all surfaces, both deployments) → see references/mentions.md.

4. Submit

MCP call, or POST / PUT via HTTP. No format-layer logic here — the body you assembled in step 3 is the body you send.

5. Re-fetch

Read back what you just wrote. Endpoint depends on the deployment:

Cloud:

  • GET /rest/api/3/issue/{key}?expand=renderedFields — compare ADF in fields.description with rendered HTML in renderedFields.description. Empty / malformed HTML = ADF is wrong.
  • GET /rest/api/3/issue/{key}/comment/{id}?expand=renderedBody
  • GET /wiki/rest/api/content/{id}?expand=body.storage,body.view — compare body.storage (what you submitted) with body.view (how Confluence renders it).

Server / Data Center:

  • GET /rest/api/2/issue/{key}?expand=renderedFields — compare the wiki source in fields.description with the rendered HTML in renderedFields.description. If the rendered HTML contains literal h2. / *asterisks* instead of <h2> / <strong>, the field is on Default Text Renderer — see references/jira-wiki-server.md § "The renderer trap".
  • GET /rest/api/2/issue/{key}/comment/{id}?expand=renderedBody
  • GET /rest/api/content/{id}?expand=body.storage,body.view — same storage-vs-view comparison as Cloud, just no /wiki/ prefix.

6. Validate

Run the post-creation checklist in references/verification.md. Non-negotiable items:

  • Every @mention became an actual mention node (not a plain text @name)
  • Code blocks render as monospace code (not inline backticks in prose)
  • Tables render as tables (not pipe-separated text)
  • Headings render as headings (not bold paragraphs)
  • Links are clickable (not bare URLs in text)
  • No literal **bold** / # heading markdown artefacts
  • (Jira Server only) No literal h2. / *asterisks* / ||pipes|| in the rendered HTML — that signals Default Text Renderer

7. Repair

If verification fails, build a corrected body and PUT it back. Don't file a follow-up ticket "to fix formatting later". The content you just filed is evidence of your care; leaving it broken is a broken window.

Quick decision tree

Task: "file a bug for case X"
  └─ deployment = Cloud?
     │   └─ surface = Jira issue, format = ADF (fields.description)
     │      mentions → accountId mention nodes
     │      endpoint → POST /rest/api/3/issue
     └─ deployment = Server / DC?
         └─ surface = Jira issue, format = wiki markup string
            mentions → [~username]
            endpoint → POST /rest/api/2/issue
            check the field renderer before trusting the rendering
  └─ submit → re-fetch → validate → (repair if needed)

Task: "add a review comment on JIRA-123"
  └─ Cloud  → ADF body, POST /rest/api/3/issue/JIRA-123/comment
  └─ Server → wiki body, POST /rest/api/2/issue/JIRA-123/comment
  └─ submit → re-fetch renderedBody → validate

Task: "document the migration plan on the Engineering space"
  └─ surface = Confluence page (storage format, both deployments)
     Cloud  → POST /wiki/rest/api/content with ri:account-id mentions
     Server → POST /rest/api/content      with ri:userkey mentions
  └─ submit → re-fetch body.view → validate

Anti-patterns (things that look fine but aren't)

  • "The markdown renders in the preview" — Atlassian's web UI accepts markdown-like shortcuts and transforms them during editing. The API does not. What you POST is what persists.
  • "I'll just paste the description as plain text" — plain text through the API is valid ADF-wrapped plain text, but loses headings, code blocks, lists, and mentions. Acceptable only for one-line comments.
  • "The POST returned 201, so it worked" — 201 means the server accepted the JSON structure. It does NOT mean the content renders. Always re-fetch.
  • "I mentioned the user with @firstname" — Atlassian Cloud does not accept username mentions via API. Only accountId-backed mention nodes. Username strings are literal text.
  • "I copy-pasted the ADF from the web UI's source" — the web UI sometimes emits extra fields (marks: [] vs no marks, version: 1 on nested docs). Use the minimal, documented form in references/jira-adf.md.
  • "I used <br> for a line break" — Confluence storage format tolerates <br/> but prefers paragraph boundaries for prose. ADF has no <br> — use paragraph splits or hardBreak nodes.
  • "I posted wiki markup to Cloud / ADF to Server" — symmetric and equally broken. ADF posted to a Server v2 field serialises as JSON-string garbage. Wiki markup posted to a Cloud v3 ADF field is rejected. Detect the deployment first.
  • "My [~username] rendered as plain text on Server" — the field is configured for the Default Text Renderer, OR the username doesn't match the user's name exactly. Probe via ?expand=renderedFields or fall back to plain text.
  • "I sent assignee.accountId to Server" — silently ignored or rejected. On Server, use assignee.name.

Escalation — when to ask the operator

  • The project's .agents/profile.md § Project systems doesn't specify an issue tracker, OR doesn't tell you which deployment (Cloud vs Server / DC) you're hitting — and a probe (see § "Detect deployment first") doesn't disambiguate.
  • Credentials aren't configured and MCP isn't online.
  • A mention target can't be resolved to an identifier (accountId on Cloud, name / userKey on Server) — user left the company, ambiguous name, or the directory hides the field.
  • (Server only) The rendered HTML from a probe still shows literal h2. / *asterisks* — the field is on the Default Text Renderer and the operator may need to flip the configuration scheme or you may need to fall back to plain text for that field.
  • The space / project requires fields you don't have values for (custom required fields on a specific issue type).

References

  • references/jira-adf.md — Jira Cloud (API v3). ADF node / mark catalogue and the JIRA SYNTAX REFERENCE for Cloud, with working examples (story with headings, lists, tables, panels, code blocks, mentions).
  • references/jira-wiki-server.md — Jira Server / Data Center (API v2). Wiki markup syntax, the renderer trap, [~username] mentions, PAT auth, full bug-report payload.
  • references/confluence-storage.md — Confluence storage format, applies to both Cloud and Server / DC. The XHTML body primer (headings, lists, tables, code / info / panel macros, <ac:structured-macro>).
  • references/confluence-server.md — Confluence Server / DC specifics: base URL (no /wiki/), ri:userkey / ri:username mentions, PAT auth, the body.wiki input shortcut.
  • references/mentions.md — user lookup + mention syntax across every deployment / surface combination.
  • references/verification.md — post-creation checklist and repair recipes for both deployments.

External:

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Atlassian Content làm được gì?

Use when the user says 'file a bug', 'comment on JIRA-123', 'write up a decision page', or authors any Atlassian content. Creates well-formatted Jira issues/comments and Confluence pages on both Cloud and Server/Data Center, with mandatory post-creation re-fetch plus repair.

Vì sao nên dùng Atlassian Content trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Atlassian Content là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Atlassian Content trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/arozumenko/sdlc-skills/tree/main/bundles/test-automation/skills/atlassian-content. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Atlassian Content?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Atlassian Content với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Atlassian Content với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Atlassian Content có miễn phí không?

Có. Kỹ năng này được arozumenko phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇