4.7 KiB
4.7 KiB
ATLASSIAN
Purpose
Provide a portable Atlassian Cloud skill for Codex, Claude Code, Cursor Agent, and OpenCode using one shared CLI surface for common Jira and Confluence workflows.
Why This Skill Exists
The repo targets multiple agent environments with uneven MCP availability. This skill packages a consistent CLI contract so the same task-oriented workflows can be used across all supported agents without depending on MCP-specific integrations.
The canonical runtime lives in skills/atlassian/shared/scripts/. Installable per-agent scripts/ bundles are generated from that source with:
pnpm --dir skills/atlassian/shared/scripts sync:agents
Requirements
- Node.js 20+
pnpm- Atlassian Cloud access
ATLASSIAN_BASE_URLATLASSIAN_EMAILATLASSIAN_API_TOKEN
Optional:
ATLASSIAN_JIRA_BASE_URLATLASSIAN_CONFLUENCE_BASE_URLATLASSIAN_DEFAULT_PROJECTATLASSIAN_DEFAULT_SPACE
Supported Commands
healthjira-searchjira-getjira-createjira-updatejira-commentjira-transitionsjira-transitionconf-searchconf-getconf-createconf-updateconf-commentconf-childrenraw
Command Notes
healthvalidates local configuration, probes Jira and Confluence separately, and reports one product as unavailable without masking the other.jira-createrequires--type,--summary, and either--projectorATLASSIAN_DEFAULT_PROJECT.jira-updaterequires--issueand at least one of--summaryor--description-file.conf-createrequires--title,--body-file, and either--spaceorATLASSIAN_DEFAULT_SPACE.conf-updaterequires--page,--title, and--body-file; it fetches the current page version before building the update payload.raw --body-fileexpects a workspace-scoped JSON file and is limited to validated Atlassian API prefixes.
Safety Model
- Default output is JSON.
- Mutating commands support
--dry-run. - Jira long-text fields are converted to ADF locally.
- Confluence page writes are storage-first in v1.
rawis restricted toGET|POST|PUT.--body-filemust stay within the active workspace.
Install
Codex
mkdir -p ~/.codex/skills/atlassian
cp -R skills/atlassian/codex/* ~/.codex/skills/atlassian/
cd ~/.codex/skills/atlassian/scripts
pnpm install
Claude Code
mkdir -p ~/.claude/skills/atlassian
cp -R skills/atlassian/claude-code/* ~/.claude/skills/atlassian/
cd ~/.claude/skills/atlassian/scripts
pnpm install
OpenCode
mkdir -p ~/.config/opencode/skills/atlassian
cp -R skills/atlassian/opencode/* ~/.config/opencode/skills/atlassian/
cd ~/.config/opencode/skills/atlassian/scripts
pnpm install
Cursor
Repo-local install:
mkdir -p .cursor/skills/atlassian
cp -R skills/atlassian/cursor/* .cursor/skills/atlassian/
cd .cursor/skills/atlassian/scripts
pnpm install
Global install:
mkdir -p ~/.cursor/skills/atlassian
cp -R skills/atlassian/cursor/* ~/.cursor/skills/atlassian/
cd ~/.cursor/skills/atlassian/scripts
pnpm install
Verify Installation
Run in the installed scripts/ folder:
node -e "require.resolve('commander');require.resolve('dotenv');console.log('OK: runtime dependencies installed')"
test -n \"$ATLASSIAN_BASE_URL\"
test -n \"$ATLASSIAN_EMAIL\"
test -n \"$ATLASSIAN_API_TOKEN\"
pnpm atlassian health
Usage Examples
- Search Jira issues:
pnpm atlassian jira-search --jql "project = ENG ORDER BY updated DESC" --max-results 25
- Inspect an issue:
pnpm atlassian jira-get --issue ENG-123
- Dry-run a Jira comment:
pnpm atlassian jira-comment --issue ENG-123 --body-file comment.md --dry-run
- Dry-run a Jira issue create with default project fallback:
pnpm atlassian jira-create --type Story --summary "Add Atlassian skill" --description-file story.md --dry-run
- Search Confluence pages:
pnpm atlassian conf-search --query "title ~ \\\"Runbook\\\"" --max-results 10 --start-at 0
- Inspect a Confluence page:
pnpm atlassian conf-get --page 12345
- Dry-run a Confluence page update:
pnpm atlassian conf-update --page 12345 --title "Runbook" --body-file page.storage.html --dry-run
- Dry-run a Confluence footer comment:
pnpm atlassian conf-comment --page 12345 --body-file comment.storage.html --dry-run
- Use bounded raw mode:
pnpm atlassian raw --product jira --method GET --path "/rest/api/3/issue/ENG-123"pnpm atlassian raw --product confluence --method POST --path "/wiki/api/v2/pages" --body-file page.json --dry-run
Scope Notes
- Atlassian Cloud is first-class in v1.
- Data Center support is future work.
- Full
mcp-atlassianparity is not the goal in v1; the initial scope is the approved core workflow set above.