docflu
Sync Docusaurus markdown docs to Confluence, Google Docs, or Notion using docflu CLI. Use when syncing documentation, setting up docflu config, converting diagrams (Mermaid/PlantUML/D2/Graphviz) for Confluence, or managing doc sync workflows. Triggers on 'sync docs', 'push to confluence', 'docflu', 'confluence sync', or when .env contains CONFLUENCE_BASE_URL/DOCFLU_ variables.
What this skill does
# Docflu - Docusaurus to Confluence/GDocs/Notion Sync ## Quick Reference ```bash # Interactive setup (creates .env) docflu init # Sync all docs to Confluence (default) docflu sync --docs # Sync to Google Docs or Notion docflu sync --docs --gdocs docflu sync --docs --notion # Sync a single file docflu sync --file path/to/doc.md # Sync to a specific Confluence page docflu sync --file path/to/doc.md --target <pageId> # Preview changes without applying docflu sync --dry-run ``` ## Environment Configuration Docflu uses a `.env` file for all configuration. Run `docflu init` or create manually: ### Confluence (Primary) ```env CONFLUENCE_BASE_URL=https://your-domain.atlassian.net/ [email protected] CONFLUENCE_API_TOKEN=your-api-token CONFLUENCE_SPACE_KEY=DOC CONFLUENCE_ROOT_PAGE_TITLE=Documentation # Mermaid plugin support CONFLUENCE_USE_MERMAID_PLUGIN=true CONFLUENCE_MERMAID_PLUGIN_NAME=mermaid ``` ### Google Docs ```env GOOGLE_CLIENT_ID=your-client-id GOOGLE_CLIENT_SECRET=your-client-secret GOOGLE_DOCUMENT_TITLE=target-document ``` ### Notion ```env NOTION_API_TOKEN=your-notion-token NOTION_ROOT_PAGE_ID=root-page-id ``` ### Docflu Options ```env DOCFLU_EXCLUDE_PATTERNS=*.draft.md,private/** DOCFLU_CONCURRENT_UPLOADS=5 DOCFLU_RETRY_COUNT=3 ``` ## Frontmatter Targeting Sync a doc to a specific Confluence page via frontmatter: ```yaml --- title: My Document confluence_target: 123456 --- ``` ## Diagram Support Docflu auto-converts diagram code blocks to SVG before upload: - **Mermaid** - flowcharts, sequence, class, state, ER, gantt - **PlantUML** - UML, architecture, sequence - **Graphviz/DOT** - directed graphs, networks - **D2** - modern declarative diagrams Auto-installs required CLI tools (e.g. `mmdc`) if missing. Falls back to code blocks on failure. ## Key Behaviors - **Hierarchy**: Mirrors Docusaurus folder structure on target platform - **Internal links**: Converts relative markdown links to platform-specific URLs - **Images**: Uploads local images as attachments - **Incremental sync**: Tracks state in `.docusaurus/sync-state.json`, only syncs changed files - **Requires**: Node.js >= 16.0.0 ## Workflow 1. Ensure `.env` is configured (use `docflu init` or create manually) 2. Add `.env` to `.gitignore` 3. Run `docflu sync --dry-run` to preview 4. Run `docflu sync --docs` to push 5. Check Confluence/GDocs/Notion for synced content
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.