— (optional) Output directory for persisting the page content. Defaults to
.implement-assets/confluence
When invoked by the orchestrator (e.g.
implement
),
$ARGUMENTS[1]
is provided. When used standalone, it defaults to
.implement-assets/confluence
.
System Requirements
Node.js and npm/npx available
confluence-cli
package (
https://github.com/pchuri/confluence-cli
) — invoked via
npx confluence-cli
to avoid asdf Node.js version conflicts
Execution
Pre-flight check
Run
npx confluence-cli --help
to verify the CLI works — if it fails, follow error handling in
references/rules.md
. Do NOT continue until the CLI is available. Auth errors are caught when the actual command runs.
Validate
$ARGUMENTS[0]
against
references/rules.md
Run
npx confluence-cli read $ARGUMENTS[0]
via Bash
Format the output per
references/output-format.md
Save output
Run
mkdir -p $ARGUMENTS[1]
via Bash, then save the full formatted output to
$ARGUMENTS[1]/output.md
using the Write tool. This ensures the complete output is persisted for the orchestrator to read.