| name | plan-from-confluence |
| description | Fetch a Confluence page via local API script and generate a concrete implementation plan for the current repository. Use this when the user provides a Confluence link and asks how to implement the spec in the current repo. |
Plan From Confluence (Repo-aware)
What this skill does
Given a Confluence page URL, this skill fetches the page content locally and produces a concrete, repo-specific implementation plan.
Inputs
Requirements
- Local environment variables (in
$HOME/my-skills/.env):
- Script:
$HOME/my-skills/scripts/get_confluence_page.sh must be executable.
Steps
- Parse the Confluence page ID from the URL.
- Execute
$HOME/my-skills/scripts/get_confluence_page.sh <confluence-url> to fetch the page JSON.
- Summarize the page:
- title
- body content
- any linked requirements or acceptance criteria
- Guard check: If the body content is empty or null, STOP and ask the user to fill in the Confluence page before proceeding. Do NOT continue with planning.
- Nested Confluence links: If the body contains other Confluence links (matching
*/wiki/spaces/*/pages/*), execute the same script for each link and incorporate as additional context.
- Inspect the current repository:
- README, docs
- main source folders (e.g. src/, app/, services/)
- Map requirements to concrete code changes in THIS repo:
- affected modules/files
- API/schema changes
- migrations/config updates
- Identify dependencies and risks:
- cross-service contracts
- backward compatibility
- rollout/rollback considerations
- Output a step-by-step implementation plan.
Output format
Return a concise plan with:
- Scope summary
- Affected files/modules (with paths)
- Step-by-step tasks (checklist)
- API/contract changes
- Test plan (unit/integration/e2e)
- Risks & notes
Constraints
- Focus only on the current repository unless the page explicitly requires multi-repo changes.
- If multi-repo impact exists, clearly separate:
- This repo's tasks
- Other repos' tasks (as notes only)
Example
/plan-from-confluence https://your-domain.atlassian.net/wiki/spaces/ENG/pages/123456/Feature+Spec