confluence-to-nextjs
Installation
SKILL.md
confluence-to-nextjs
Migrate Atlassian Confluence documentation to a self-hosted Next.js knowledge base. Fetches pages via the Confluence REST API, converts HTML storage format to semantic JSX, and wires up anchor navigation and a sticky table of contents.
When to use
- Replacing external Confluence URLs in a product site with internal
/kbroutes - Building a public knowledge base from Confluence content
- Porting support docs, deployment guides, or product documentation to Next.js
Do NOT use for:
- Wiki content that changes frequently and needs real-time sync (use Confluence embed instead)
- Non-Confluence CMS sources (use a different migration approach)
Step 1: Fetch Confluence content
Use the Confluence REST API v2 with a personal API token: