Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计通过

markdown-to-adf-converterMarkdown TO ADF 转换器

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

22,235

周安装

526

GitHub Stars

2

下载量

5,906
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:markdown-to-adf-converter(Markdown TO ADF 转换器)
来源仓库:https://github.com/sethdford/claude-plugins
仓库路径:skills/markdown-to-adf-converter
安装命令:
npx skills add https://github.com/sethdford/claude-plugins --skill 'Markdown to ADF Converter'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/sethdford/claude-plugins --skill 'Markdown to ADF Converter'

简介

实现 Markdown 到 Atlassian Document Format 的格式转换。

  • 常用于 Jira 或 Confluence 平台的内容迁移与样式保留。
  • 转换后需人工检查图片链接与表格边框等细节完整性。
  • 不支持自定义宏或插件扩展功能的无损转移。
  • markdown-to-adf-converter 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Markdown to ADF Converter

Expert assistance for converting Markdown content to Confluence's ADF (Atlassian Document Format).

When to Use This Skill

  • Converting README.md to Confluence
  • Creating Confluence pages from Markdown documentation
  • Updating Confluence with Markdown content
  • User mentions: convert, markdown, ADF, format
  • User wants to publish Markdown to Confluence

What is ADF?

ADF (Atlassian Document Format) is Confluence's JSON-based document format. It represents content as a structured tree of nodes.

Basic ADF Structure

{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "Hello world"
        }
      ]
    }
  ]
}

Conversion Reference

Text Formatting

Markdown → ADF

Bold:

**bold text**
{
  "type": "text",
  "text": "bold text",
  "marks": [{"type": "strong"}]
}

Italic:

*italic text*
{
  "type": "text",
  "text": "italic text",
  "marks": [{"type": "em"}]
}

Code (inline):

`code snippet`
{
  "type": "text",
  "text": "code snippet",
  "marks": [{"type": "code"}]
}

Strikethrough:

~~struck text~~
{
  "type": "text",
  "text": "struck text",
  "marks": [{"type": "strike"}]
}

Underline:

<u>underlined</u>
{
  "type": "text",
  "text": "underlined",
  "marks": [{"type": "underline"}]
}

Combined marks:

***bold italic***
{
  "type": "text",
  "text": "bold italic",
  "marks": [
    {"type": "strong"},
    {"type": "em"}
  ]
}

Headings

# Heading 1
## Heading 2
### Heading 3
{
  "type": "heading",
  "attrs": {"level": 1},
  "content": [
    {"type": "text", "text": "Heading 1"}
  ]
},
{
  "type": "heading",
  "attrs": {"level": 2},
  "content": [
    {"type": "text", "text": "Heading 2"}
  ]
},
{
  "type": "heading",
  "attrs": {"level": 3},
  "content": [
    {"type": "text", "text": "Heading 3"}
  ]
}

Note: Confluence supports heading levels 1-6.

Paragraphs

This is a paragraph.

This is another paragraph.
{
  "type": "paragraph",
  "content": [
    {"type": "text", "text": "This is a paragraph."}
  ]
},
{
  "type": "paragraph",
  "content": [
    {"type": "text", "text": "This is another paragraph."}
  ]
}

Lists

Unordered (Bullet) List

- Item 1
- Item 2
  - Nested item 2.1
  - Nested item 2.2
- Item 3
{
  "type": "bulletList",
  "content": [
    {
      "type": "listItem",
      "content": [
        {
          "type": "paragraph",
          "content": [{"type": "text", "text": "Item 1"}]
        }
      ]
    },
    {
      "type": "listItem",
      "content": [
        {
          "type": "paragraph",
          "content": [{"type": "text", "text": "Item 2"}]
        },
        {
          "type": "bulletList",
          "content": [
            {
              "type": "listItem",
              "content": [
                {
                  "type": "paragraph",
                  "content": [{"type": "text", "text": "Nested item 2.1"}]
                }
              ]
            },
            {
              "type": "listItem",
              "content": [
                {
                  "type": "paragraph",
                  "content": [{"type": "text", "text": "Nested item 2.2"}]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "listItem",
      "content": [
        {
          "type": "paragraph",
          "content": [{"type": "text", "text": "Item 3"}]
        }
      ]
    }
  ]
}

Ordered (Numbered) List

1. First item
2. Second item
3. Third item
{
  "type": "orderedList",
  "content": [
    {
      "type": "listItem",
      "content": [
        {
          "type": "paragraph",
          "content": [{"type": "text", "text": "First item"}]
        }
      ]
    },
    {
      "type": "listItem",
      "content": [
        {
          "type": "paragraph",
          "content": [{"type": "text", "text": "Second item"}]
        }
      ]
    },
    {
      "type": "listItem",
      "content": [
        {
          "type": "paragraph",
          "content": [{"type": "text", "text": "Third item"}]
        }
      ]
    }
  ]
}

Links

[Link text](https://example.com)
{
  "type": "text",
  "text": "Link text",
  "marks": [
    {
      "type": "link",
      "attrs": {
        "href": "https://example.com"
      }
    }
  ]
}

Code Blocks

def hello(): print("Hello world")

{
  "type": "codeBlock",
  "attrs": {
    "language": "python"
  },
  "content": [
    {
      "type": "text",
      "text": "def hello():\n    print(\"Hello world\")"
    }
  ]
}

Supported languages: javascript, python, java, go, rust, typescript, sql, bash, json, xml, html, css, and many more.

Blockquotes

> This is a quote
> Multi-line quote
{
  "type": "blockquote",
  "content": [
    {
      "type": "paragraph",
      "content": [
        {"type": "text", "text": "This is a quote"}
      ]
    },
    {
      "type": "paragraph",
      "content": [
        {"type": "text", "text": "Multi-line quote"}
      ]
    }
  ]
}

Horizontal Rules

---
{
  "type": "rule"
}

Tables

| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1   | Cell 2   | Cell 3   |
| Cell 4   | Cell 5   | Cell 6   |
{
  "type": "table",
  "content": [
    {
      "type": "tableRow",
      "content": [
        {
          "type": "tableHeader",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Header 1"}]
            }
          ]
        },
        {
          "type": "tableHeader",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Header 2"}]
            }
          ]
        },
        {
          "type": "tableHeader",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Header 3"}]
            }
          ]
        }
      ]
    },
    {
      "type": "tableRow",
      "content": [
        {
          "type": "tableCell",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Cell 1"}]
            }
          ]
        },
        {
          "type": "tableCell",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Cell 2"}]
            }
          ]
        },
        {
          "type": "tableCell",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Cell 3"}]
            }
          ]
        }
      ]
    },
    {
      "type": "tableRow",
      "content": [
        {
          "type": "tableCell",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Cell 4"}]
            }
          ]
        },
        {
          "type": "tableCell",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Cell 5"}]
            }
          ]
        },
        {
          "type": "tableCell",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Cell 6"}]
            }
          ]
        }
      ]
    }
  ]
}

Images

![Alt text](https://example.com/image.png)
{
  "type": "mediaSingle",
  "content": [
    {
      "type": "media",
      "attrs": {
        "type": "external",
        "url": "https://example.com/image.png",
        "alt": "Alt text"
      }
    }
  ]
}

Task Lists (Checkboxes)

- [x] Completed task
- [ ] Incomplete task
{
  "type": "taskList",
  "content": [
    {
      "type": "taskItem",
      "attrs": {
        "state": "DONE"
      },
      "content": [
        {
          "type": "text",
          "text": "Completed task"
        }
      ]
    },
    {
      "type": "taskItem",
      "attrs": {
        "state": "TODO"
      },
      "content": [
        {
          "type": "text",
          "text": "Incomplete task"
        }
      ]
    }
  ]
}

Confluence-Specific Extensions

Info Panel (Callout)

> ℹ️ **Info**
> This is important information
{
  "type": "panel",
  "attrs": {
    "panelType": "info"
  },
  "content": [
    {
      "type": "paragraph",
      "content": [
        {"type": "text", "text": "This is important information"}
      ]
    }
  ]
}

Panel types: info, note, warning, error, success

Expand/Collapse

<details>
<summary>Click to expand</summary>
Hidden content here
</details>
{
  "type": "expand",
  "attrs": {
    "title": "Click to expand"
  },
  "content": [
    {
      "type": "paragraph",
      "content": [
        {"type": "text", "text": "Hidden content here"}
      ]
    }
  ]
}

Status Badge

Status: `DONE` or `IN_PROGRESS`
{
  "type": "status",
  "attrs": {
    "text": "DONE",
    "color": "green"
  }
}

Colors: neutral, purple, blue, red, yellow, green

Mentions

@username
{
  "type": "mention",
  "attrs": {
    "id": "user-account-id",
    "text": "@username"
  }
}

Emojis

:smile: :+1: :rocket:
{
  "type": "emoji",
  "attrs": {
    "shortName": ":smile:",
    "text": "😀"
  }
}

Complete Example

Markdown Input

# Project Documentation

## Overview

This is a **sample project** with `code examples`.

### Features

- Feature 1
- Feature 2
  - Sub-feature A
  - Sub-feature B

### Installation

npm install my-package


For more info, visit [our website](https://example.com).

> **Note**: This is still in beta.

| Command | Description |
| --- | --- |
| `start` | Start server |
| `test` | Run tests |

ADF Output

{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "heading",
      "attrs": {"level": 1},
      "content": [
        {"type": "text", "text": "Project Documentation"}
      ]
    },
    {
      "type": "heading",
      "attrs": {"level": 2},
      "content": [
        {"type": "text", "text": "Overview"}
      ]
    },
    {
      "type": "paragraph",
      "content": [
        {"type": "text", "text": "This is a "},
        {
          "type": "text",
          "text": "sample project",
          "marks": [{"type": "strong"}]
        },
        {"type": "text", "text": " with "},
        {
          "type": "text",
          "text": "code examples",
          "marks": [{"type": "code"}]
        },
        {"type": "text", "text": "."}
      ]
    },
    {
      "type": "heading",
      "attrs": {"level": 3},
      "content": [
        {"type": "text", "text": "Features"}
      ]
    },
    {
      "type": "bulletList",
      "content": [
        {
          "type": "listItem",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Feature 1"}]
            }
          ]
        },
        {
          "type": "listItem",
          "content": [
            {
              "type": "paragraph",
              "content": [{"type": "text", "text": "Feature 2"}]
            },
            {
              "type": "bulletList",
              "content": [
                {
                  "type": "listItem",
                  "content": [
                    {
                      "type": "paragraph",
                      "content": [{"type": "text", "text": "Sub-feature A"}]
                    }
                  ]
                },
                {
                  "type": "listItem",
                  "content": [
                    {
                      "type": "paragraph",
                      "content": [{"type": "text", "text": "Sub-feature B"}]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "heading",
      "attrs": {"level": 3},
      "content": [
        {"type": "text", "text": "Installation"}
      ]
    },
    {
      "type": "codeBlock",
      "attrs": {"language": "bash"},
      "content": [
        {
          "type": "text",
          "text": "npm install my-package"
        }
      ]
    },
    {
      "type": "paragraph",
      "content": [
        {"type": "text", "text": "For more info, visit "},
        {
          "type": "text",
          "text": "our website",
          "marks": [
            {
              "type": "link",
              "attrs": {"href": "https://example.com"}
            }
          ]
        },
        {"type": "text", "text": "."}
      ]
    },
    {
      "type": "panel",
      "attrs": {"panelType": "note"},
      "content": [
        {
          "type": "paragraph",
          "content": [
            {
              "type": "text",
              "text": "Note",
              "marks": [{"type": "strong"}]
            },
            {"type": "text", "text": ": This is still in beta."}
          ]
        }
      ]
    },
    {
      "type": "table",
      "content": [
        {
          "type": "tableRow",
          "content": [
            {
              "type": "tableHeader",
              "content": [
                {
                  "type": "paragraph",
                  "content": [{"type": "text", "text": "Command"}]
                }
              ]
            },
            {
              "type": "tableHeader",
              "content": [
                {
                  "type": "paragraph",
                  "content": [{"type": "text", "text": "Description"}]
                }
              ]
            }
          ]
        },
        {
          "type": "tableRow",
          "content": [
            {
              "type": "tableCell",
              "content": [
                {
                  "type": "paragraph",
                  "content": [
                    {
                      "type": "text",
                      "text": "start",
                      "marks": [{"type": "code"}]
                    }
                  ]
                }
              ]
            },
            {
              "type": "tableCell",
              "content": [
                {
                  "type": "paragraph",
                  "content": [{"type": "text", "text": "Start server"}]
                }
              ]
            }
          ]
        },
        {
          "type": "tableRow",
          "content": [
            {
              "type": "tableCell",
              "content": [
                {
                  "type": "paragraph",
                  "content": [
                    {
                      "type": "text",
                      "text": "test",
                      "marks": [{"type": "code"}]
                    }
                  ]
                }
              ]
            },
            {
              "type": "tableCell",
              "content": [
                {
                  "type": "paragraph",
                  "content": [{"type": "text", "text": "Run tests"}]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Common Patterns

README.md to Confluence

  1. Extract title from first H1
  2. Convert sections to H2/H3
  3. Preserve code blocks with language tags
  4. Convert tables for command reference
  5. Add info panels for warnings/notes
  6. Link to external resources

API Documentation

  1. Endpoint sections as H2
  2. Parameters as tables
  3. Code examples with language highlighting
  4. Response schemas as code blocks
  5. Status codes as tables

Architecture Docs

  1. Diagrams as images
  2. Decision records with info panels
  3. Component lists as bullet lists
  4. Tech stack tables

Limitations and Workarounds

Not Directly Supported

Markdown feature → Workaround:

  • HTML tags → Convert to ADF equivalent or plain text
  • Footnotes → Use numbered references in text
  • Definition lists → Use tables or headings
  • Complex nested structures → Flatten or use expand sections

Confluence Enhancements

Add these Confluence-specific elements to improve readability:

  1. Info panels for important notes
  2. Expand sections for optional details
  3. Status badges for project status
  4. Task lists for checklists
  5. Color coding in tables

How I'll Help

When converting Markdown to ADF, I will:

  1. Parse the Markdown: Understand structure and content
  2. Convert to ADF: Build proper JSON structure
  3. Enhance for Confluence: Add panels, badges, etc.
  4. Validate: Ensure valid ADF format
  5. Create/Update: Use /confluence-create-page or /confluence-update-page
  6. Preview: Show you what will be created

Example Interaction

You: "Convert my README.md to a Confluence page"

Me: "I'll convert your README.md to Confluence ADF format.

[Reads README.md]

I see:

  • Title: "My Project"
  • Sections: Overview, Installation, Usage, API Reference
  • Code blocks in bash and javascript
  • A table of CLI commands
  • Some warnings/notes

Converting to ADF with enhancements:

  • Converting code blocks with proper language tags
  • Tables for command reference
  • Info panels for warnings
  • Links preserved

Ready to create the Confluence page. Which space should I use?"

You: "Space 123456"

Me: [Uses /confluence-create-page with converted ADF] "Created page 'My Project' in space 123456! Link: https://your-domain.atlassian.net/wiki/spaces/123456/pages/..."

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.56%
按下载量换算1,805

windsurf

23.52%
按下载量换算1,389

trae

17.56%
按下载量换算1,037

OpenCode

14.34%
按下载量换算847

Codex

8.39%
按下载量换算496

Antigravity

3.79%
按下载量换算224

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源字段存在多来源差异,先按来源优先级自动处理,无法消解时进入异常复核队列。

来源信息

继续浏览同类 Skills