Documentation
README
Confluence Fetcher
Internal module — invoked by /bedrock:teach Phase 1 and /bedrock:sync Phase 2, not user-invocable.
Fetches a Confluence page and returns its content as Markdown. Three layers in fallback order: MCP (preferred) → REST API → Browser DOM extraction.
Dependency: Browser fallback (Layer 3) requires scripts/extract.js (relative to this skill directory).
Step 1 — Parse URL
Parse the Confluence URL. Accept these formats:
https://<domain>.atlassian.net/wiki/spaces/<spaceKey>/pages/<pageId>/<title>https://<domain>.atlassian.net/wiki/spaces/<spaceKey>/pages/<pageId>https://<domain>.atlassian.net/wiki/x/<shortlink>https://<domain>.atlassian.net/wiki/pages/viewpage.action?pageId=<pageId>
This is the opening of the README. Read the full README on GitHub.