adk-publish

Category router for shipping artifacts out of the repo - commit messages, PR descriptions, changelogs, GitHub PR/issue actions, Bitbucket PR/issue actions, Confluence pages, and Google Drive docs. Use when the deliverable leaves the local working tree (a commit, a remote PR, a published page, a shared doc). Picks one of adk-publish-commit, adk-publish-github, adk-publish-bitbucket, adk-publish-confluence, adk-publish-gdrive.

ADK Publish (Category Router)

Routes any "ship this somewhere" intent to the right publishing task. Activate one of the listed task skills below; do not publish directly from this router.

When to use this category

  • Drafting and creating a git commit, a PR description, or a changelog entry.
  • Creating, updating, commenting on, or merging a PR on GitHub or Bitbucket.
  • Publishing a markdown document to Confluence.
  • Sharing or updating a doc in Google Drive / Google Docs.

When NOT to use this category

  • Writing the doc / spec source material -> adk-docs-write / adk-plan-spec
  • Reviewing the code that is about to ship -> adk-review-local / adk-review-pr
  • Building or fixing the code -> adk-build
  • Configuring the publish destination MCP server -> manual MCP setup; this category assumes the MCP is configured

Shared workflow

Every task in this category honors the same five steps. The task skills tailor the content of each step.

  1. Confirm intent - identify destination (repo, remote, page, drive folder), artifact type, and convention (conventional commit, repo template, page template).
  2. Gather - pull the source-of-truth: git diff / git log for commits and PRs, the markdown source for Confluence / Drive, or the existing remote artifact if updating.
  3. Draft - produce the artifact in the destination's expected format. Approval gate before any remote write unless --auto.
  4. Execute - run the publish action: git commit, gh pr create, MCP confluence_publish, MCP gdrive_upload, etc.
  5. Verify - read back from the destination to confirm the artifact landed correctly. Report the URL, commit SHA, or page ID.

Task selection

Task skillUse whenDo NOT use when
adk-publish-commitDrafting commit messages, PR descriptions, or changelog entries from real diffs/historyPushing the change to GitHub - use publish-github
adk-publish-githubGitHub PR/issue/comment/merge actions via gh CLI or github MCPBitbucket destination - use publish-bitbucket
adk-publish-bitbucketBitbucket Cloud PR/issue/comment/merge actions via REST API or bitbucket MCPGitHub destination - use publish-github
adk-publish-confluencePublishing a markdown doc as a Confluence page (new or update)Internal repo doc - just write the markdown with docs-write
adk-publish-gdriveSharing or updating a doc in Google Drive / Google DocsConfluence destination - use publish-confluence

Destination matrix

flowchart LR
    diff[git diff / log] --> commit[adk-publish-commit]
    commit --> github[adk-publish-github]
    commit --> bitbucket[adk-publish-bitbucket]
    docs[markdown source] --> confluence[adk-publish-confluence]
    docs --> gdrive[adk-publish-gdrive]

Convention defaults

  • Commit messages default to conventional commits unless the repo's git log shows another consistent style. Match the repo, not your preference.
  • PR titles match the commit-message convention. PR bodies follow .github/PULL_REQUEST_TEMPLATE.md when present.
  • Changelogs follow Keep a Changelog by default. Match an existing CHANGELOG.md style if present.
  • Confluence pages use ADK page titles <Project> - <Topic> unless the parent space dictates otherwise.

MCP / CLI dependency

Each publishing task either calls a CLI (git, gh) or an MCP server (github, bitbucket, atlassian-confluence, google-drive). The task skill checks availability and falls back to instructions if the dependency is missing - it never silently no-ops.

Activation

Once you have picked a task, load adk-publish-<task> and follow it. Each task skill is fully standalone - everything it needs is in its own folder.

Anti-patterns

  • Publishing inside this router. Always hand off to a task skill.
  • Drafting a commit message before reading the diff.
  • Hiding breaking changes in the body. Surface them.
  • Auto-merging or force-pushing without explicit user approval.

Clarifying questions (default-ask)

When running without --auto, the skill asks these questions in order, one at a time. Under --auto, the skill picks the safest option for each (see references/clarifying-questions.md) and reports the choices.

  1. What is the destination?How to pick: Local commit / PR-message draft → adk-publish-commit. GitHub action → adk-publish-github. Bitbucket → adk-publish-bitbucket. Confluence page → adk-publish-confluence. Google Drive doc → adk-publish-gdrive.

Default report: Routed task + why.

Detailed report (on request or --verbose): (n/a — small router)

Artifact: publish-routing-decision — Inline message.

Artifact path: (none)

Clarifying questions (default-ask)

When running without --auto, the skill asks these questions in order, one at a time. Under --auto, the skill picks the safest option for each (see references/clarifying-questions.md) and reports the choices.

  1. What is the destination?How to pick: Local commit / PR-message draft → adk-publish-commit. GitHub action → adk-publish-github. Bitbucket → adk-publish-bitbucket. Confluence page → adk-publish-confluence. Google Drive doc → adk-publish-gdrive.

Default vs detailed output

Default report: Routed task + why.

Detailed report (on request or --verbose): (n/a — small router)

Artifact: publish-routing-decision — Inline message.

Artifact path: (none)

<!-- adk:references:start -->

References shipped with this skill

These files live in references/ next to this SKILL.md. Read them when the skill activates; they are inlined here so the skill is fully self-contained (no cross-skill or shared sources).

FilePurpose
references/anti-patterns.mdThings to avoid when running this skill.
references/artifact-format.mdThe deliverable's format and where it lives (.temp/ contract).
references/clarifying-questions.mdThe default-ask questions for this skill, with how-to-pick rubrics.
references/constitution.mdNon-negotiable rules and working/communication discipline.
references/interaction-contract.mdDefault-ask, explained-options, --auto contract every skill must follow.
references/output-format.mdDefault vs detailed report shapes; severity labels; verbosity rules.
references/persona.mdThe agent persona that drives this skill.
<!-- adk:references:end -->