adf-json-example

Fetch raw ADF JSON data from a Confluence page URL. Use this skill when you need to see real-world ADF examples, understand how Confluence represents specific elements, debug ADF parsing, or create test samples.

181 stars

Best use case

adf-json-example is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Fetch raw ADF JSON data from a Confluence page URL. Use this skill when you need to see real-world ADF examples, understand how Confluence represents specific elements, debug ADF parsing, or create test samples.

Teams using adf-json-example should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/adf-json-example/SKILL.md --create-dirs "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/adf-json-example/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/adf-json-example/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How adf-json-example Compares

Feature / Agentadf-json-exampleStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Fetch raw ADF JSON data from a Confluence page URL. Use this skill when you need to see real-world ADF examples, understand how Confluence represents specific elements, debug ADF parsing, or create test samples.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# ADF JSON Example Query Skill

This skill fetches the raw Atlassian Document Format (ADF) JSON data from a Confluence page. Use this when you need to understand the actual ADF structure of a real Confluence page, inspect how specific elements are represented in ADF, or debug ADF parsing issues.

## Purpose

When working with ADF data, you often need to see real-world examples of how Confluence represents content. This skill:

- Fetches the complete ADF JSON body from any accessible Confluence page
- Displays the raw JSON structure with proper formatting
- Caches results locally to avoid repeated API calls

## Prerequisites

The Confluence API credentials must be configured. See `atlas_doc_parser/tests/data/client.py` for authentication setup.

## Command

Fetch ADF JSON from a Confluence page URL:

```bash
.venv/bin/python .claude/skills/adf-json-example/scripts/adf_json_example_cli.py get_example "<confluence_page_url>"
```

### Parameters

- `confluence_page_url`: Full URL to a Confluence page (e.g., `https://your-domain.atlassian.net/wiki/spaces/SPACE/pages/123456/Page+Title`)

### Example

```bash
.venv/bin/python .claude/skills/adf-json-example/scripts/adf_json_example_cli.py get_example "https://sanhehu.atlassian.net/wiki/spaces/GitHubMacHuGWU/pages/654049306/Mark+-+strong"
```

This outputs the full ADF JSON structure of the page, showing how nodes and marks are organized.

## Output

The command prints formatted JSON to stdout, containing the full ADF document structure with:

- `version`: ADF format version (typically 1)
- `type`: Document type (typically "doc")
- `content`: Array of top-level nodes (paragraphs, headings, tables, etc.)

Each node contains its type, attributes, and nested content/marks.

Related Skills

advanced-example

181
from majiayu000/claude-skill-registry

Advanced example showing all available metadata fields and complex folder structure

adf-format-json-schema

181
from majiayu000/claude-skill-registry

Query Atlassian Document Format (ADF) JSON schema definitions to understand ADF node and mark types. Use this skill when implementing ADF dataclass nodes/marks, or when user asks about ADF structure, ADF nodes, ADF marks, or Atlassian Document Format implementation.

acc-code-examples-template

181
from majiayu000/claude-skill-registry

Generates code examples for PHP documentation. Creates minimal, copy-paste ready examples with expected output.

ac-to-examples

181
from majiayu000/claude-skill-registry

将抽象的Acceptance Criteria(Given-When-Then)转换为具体的数值示例和真实对话,让AC对PM/客户/测试人员更易懂。适合在AC编写完成后、准备测试或向客户展示时使用,当AC格式正确但过于抽象时。帮助不熟悉BDD的PM/BA/测试人员理解测试场景,让AC从抽象规则变成可直接用于手动测试的具体步骤。

abstraction-concrete-examples

181
from majiayu000/claude-skill-registry

Use when explaining concepts at different expertise levels, moving between abstract principles and concrete implementation, identifying edge cases by testing ideas against scenarios, designing layered documentation, decomposing complex problems into actionable steps, or bridging strategy-execution gaps. Invoke when user mentions abstraction levels, making concepts concrete, or explaining at different depths.

Python JSON

181
from majiayu000/claude-skill-registry

UTF-8 JSON file I/O utilities to avoid Windows encoding issues (CP-1252 vs UTF-8)

json-canvas

181
from majiayu000/claude-skill-registry

Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

34-ndjson-storage

181
from majiayu000/claude-skill-registry

Status: ACTIVE

32-example-webgl-server — Unity WebGL 서버 가이드

181
from majiayu000/claude-skill-registry

Status: ACTIVE

30-example-network-server — Game Protocol TS 서버 예제

181
from majiayu000/claude-skill-registry

Status: ACTIVE

thor-skills

159
from majiayu000/claude-skill-registry

An entry point and router for AI agents to manage various THOR-related cybersecurity tasks, including running scans, analyzing logs, troubleshooting, and maintenance.

SecurityClaude

grail-miner

159
from majiayu000/claude-skill-registry

This skill assists in setting up, managing, and optimizing Grail miners on Bittensor Subnet 81, handling tasks like environment configuration, R2 storage, model checkpoint management, and performance tuning.

DevOps & Infrastructure