/han-atlassian:markdown-to-confluence [path to markdown file] [confluence location: page URL or space + parent] [--mode draft|live (default draft)]from han-atlassian
Publishes a local Markdown file to a Confluence page via the Atlassian MCP server. Creates new pages or updates existing ones. Use when you need to sync Markdown documentation to Confluence.
Ships in han-atlassian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"cat .han/config.md 2>/dev/null || echo ""As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read
that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md
probe supplies content, apply it per config-rule.md, which governs precedence
between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.
This skill takes one local Markdown file and publishes it to a Confluence location that the user must specify — creating a new page or updating an existing one through the Atlassian MCP server. It owns everything about the posting itself: the MCP preflight, resolving the destination, reading the file, the create-or-update call, and reporting the result. It does not write the Markdown; the caller supplies an existing file.
Callers that supply an explicit publish mode and location (for example
han-atlassian:project-documentation-to-confluence) run this skill straight through without re-asking. Invoked on its
own with pieces missing, it asks for them and defaults to a safe unpublished draft.
This skill cannot run without a configured and connected Atlassian MCP server.
Confirm the server is reachable by calling mcp__claude_ai_Atlassian__getAccessibleAtlassianResources to retrieve the
cloud ID(s). If the tool is not available, the call errors, or it returns no accessible resources (typically an
authentication or configuration problem), stop immediately. Tell the user this skill requires the Atlassian MCP
server to be installed, configured, and authenticated, and that they can re-run the skill once it is connected.
If more than one cloud / site is accessible, note which sites are available; you will confirm the correct one while resolving the location in Step 2.
Resolve the Markdown file path from the arguments or conversation. Read it and confirm it exists and has content. If no
file path was provided, or the path does not resolve to a readable file, ask the user for the path with
AskUserQuestion and do not proceed without one. This is the exact content that will be posted; do not rewrite,
summarize, or restructure it.
A body may legitimately contain embedded Confluence storage macros mixed into the Markdown — for example, an
orchestrating skill such as han-atlassian:plan-a-feature-to-confluence rewrites its cross-page links into title-based
page-link macros (the <ac:link><ri:page ri:content-title="..."/>…</ac:link> form, link body included) before handing
the file over. Post these verbatim along with the rest of the body; do not strip or escape them.
This skill does not search Confluence for the right place. A typical Confluence instance is large and full of duplicate or similarly-named pages, so guessing the destination is unreliable. The user must name the exact location.
AskUserQuestion to request it, and explain plainly that the skill
needs an exact destination because it does not search Confluence. Offer both accepted forms (a page URL, or a space
plus parent page). This is required: do not proceed without a location./pages/<id>/ segment and call
mcp__claude_ai_Atlassian__getConfluencePage to confirm it exists and to read its space and title. Then determine
the intent: update that page, or create a new child page under it. If the user did not already say, ask
with AskUserQuestion.mcp__claude_ai_Atlassian__getConfluenceSpaces to resolve the space ID from the
key or name. If a parent page was named, find it with mcp__claude_ai_Atlassian__getPagesInConfluenceSpace or
mcp__claude_ai_Atlassian__getConfluencePageDescendants (or by page ID/URL) to get the parent page ID. With no
parent, the new page is created at the space root.create a new page, or update an existing one), and the intended page title. If
updating, default the title to the existing page's title unless the user asked to rename it.The publish mode controls whether the page goes live or is saved as an unpublished draft.
draft or live), use it. A caller that already confirmed the choice with
the user (such as han-atlassian:project-documentation-to-confluence) passes the mode through; do not ask again.draft so nothing is published live unintentionally. The user can re-run for
live, or you may confirm with AskUserQuestion whether to save a draft (recommended default) or publish live now.Read the Markdown file from Step 1 and publish it with the Atlassian MCP server. The Confluence MCP tools accept
Markdown directly via contentFormat: "markdown", so post the document body as-is — no manual conversion to
storage/XHTML is needed. Any embedded storage macros (such as the ac:link page-link macros described in Step 1) ride
along in the same body; post them verbatim.
Apply the publish mode from Step 3 with the create/update tool's status parameter: draft → status: "draft"
(unpublished draft), live → status: "current" (immediately visible). Confirm the exact field against the tool's
input schema when you call it, and use whatever the tool exposes for draft-vs-published.
mcp__claude_ai_Atlassian__createConfluencePage with the cloud ID, space ID, title, the
markdown body, contentFormat: "markdown", the chosen status ("draft" or "current"), and the parent page ID
when one was resolved.mcp__claude_ai_Atlassian__getConfluencePage first to read the current page (for its version
and existing content), then call mcp__claude_ai_Atlassian__updateConfluencePage with the cloud ID, page ID, title,
the markdown body, contentFormat: "markdown", and the chosen status. If the user chose draft for a page that is
already published and the tool cannot hold an unpublished draft over a live page, do not silently publish it live:
tell the user, and ask whether to publish the update live or keep the changes local only.Diagram note: Markdown produced by Han's documentation skills emits Mermaid diagrams in fenced mermaid code
blocks. Confluence does not render Mermaid natively without a Mermaid macro, so these blocks publish as code, not
rendered diagrams. Leave them intact — do not silently strip them — and tell the user the diagrams posted as Mermaid
source, in case their space has a macro that renders them or they want to convert them by hand.
On success, report the created or updated page's URL, and state whether it was published live or saved as a draft. For a draft, make clear the user still needs to review and publish it in Confluence. On failure, report the error and confirm the source Markdown file is unchanged and intact.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub amirbiron/han --plugin han-atlassian6 skills in this plugin
/code-overview-to-confluenceProduces a progressive-disclosure overview of unfamiliar code or a pull request's changes with code-overview and publishes the resulting overview to a user-specified Confluence location. Use when the user wants code or a PR explained, oriented, or made sense of AND the overview posted to a Confluence space or page. Requires a configured Atlassian MCP server. Does not produce the overview to a local file only — use code-overview. Does not publish an arbitrary existing markdown file — use markdown-to-confluence. Does not document an already-understood feature to Confluence — use project-documentation-to-confluence. Does not root-cause a bug to Confluence — use investigate-to-confluence. Does not plan or specify a new feature to Confluence — use plan-a-feature-to-confluence. Does not publish to Jira — use work-items-to-jira.
/investigate-to-confluenceRuns an evidence-based investigation of a bug, failure, or unexpected behavior with investigate and publishes the resulting investigation report to a user-specified Confluence location. Use when the user wants something debugged, diagnosed, or root-caused AND the findings posted to a Confluence space or page. Requires a configured Atlassian MCP server. Does not investigate to a local file only — use investigate. Does not publish an arbitrary existing markdown file — use markdown-to-confluence. Does not document an already-understood feature to Confluence — use project-documentation-to-confluence. Does not plan or specify a new feature to Confluence — use plan-a-feature-to-confluence. Does not publish to Jira — use work-items-to-jira.
/plan-a-feature-to-confluenceBuilds a feature specification from scratch with plan-a-feature and publishes it to a user-specified Confluence location, posting the spec as a parent page and each companion artifact (decision log, team findings, technical notes) as a child page beneath it. Use when the user wants a new feature planned, designed, scoped, or specified AND posted to a Confluence space or page. Requires a configured Atlassian MCP server. Does not plan to local files only — use plan-a-feature. Does not publish an arbitrary existing markdown file — use markdown-to-confluence. Does not refine or stress-test an existing plan — use iterative-plan-review. Does not document already-built features to Confluence — use project-documentation-to-confluence.
/project-documentation-to-confluenceCreates or updates project documentation for a feature, system, or component and publishes it to a user-specified Confluence location. Use when the user wants feature or system documentation written to Confluence, posted to a Confluence space or page, or synced to a Confluence location. Requires a configured Atlassian MCP server. Does not document to local files only — use project-documentation for that. Does not publish an arbitrary existing markdown file — use markdown-to-confluence for that. Does not plan or specify a new feature to Confluence — use plan-a-feature-to-confluence for that. Does not create architectural decision records — use architectural-decision-record. Does not create coding standards — use coding-standard. Does not produce runbooks — use runbook.
/work-items-to-jiraBreak a work-items.md file (produced by /plan-work-items) into independently-grabbable Jira tickets, one per slice, in a single Jira project. Use when you want to turn a work-items file into Jira tickets, publish work items as Jira issues, or create implementation tickets that can be worked on and tracked in Jira. Requires a configured Atlassian MCP server. Does not produce the work-items file itself — use plan-work-items to break a plan into work items first. Does not post to GitHub — use work-items-to-issues for GitHub issues.
2 plugins ship this exact skill · first indexed Aug 21, 2026
Other plugins' skills for the same job