25 lines
1.3 KiB
Markdown
25 lines
1.3 KiB
Markdown
---
|
|
name: confluence-page
|
|
description: Create or update a reviewed Confluence page from a local storage-format draft. Use when the user asks to prepare or publish through an available, approved Confluence connector; require confirmation immediately before publication.
|
|
---
|
|
|
|
# confluence-page
|
|
|
|
## Inputs
|
|
Draft file, target space and title, parent or page ID when applicable, and the requested publication intent.
|
|
|
|
## Workflow
|
|
1. Check that the configured connector is available and approved. If it is not, prepare the draft and report the exact next step.
|
|
2. Create one storage-format draft per page, using a configured draft root or a repository-relative path.
|
|
3. Run the package preflight checks; resolve title collisions and compare updates with the current server body.
|
|
4. Show the destination, operation, and content summary. Request explicit confirmation for this create or update.
|
|
5. Publish only after confirmation, then return the page ID, URL, and version.
|
|
|
|
## Rules
|
|
- Never include secrets, tokens, PII, or local-machine paths in page content.
|
|
- Do not delete pages or attachments.
|
|
- Keep the local mirror read-only until the user requests a publication.
|
|
|
|
## Output
|
|
Return the draft path, validation results, target, confirmation status, and—after publication—the page identifier and URL.
|