视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
confluence-cli【文档与办公】Interact with Atlassian Confluence from the terminal: list spaces, browse pages, view page content, search with CQL, and create pages. Use when the user mentions Confluence, a space key (e.g. DEV), or asks about documentation, wiki pages, space content, or knowledge base articles. Do not use this skill for unrelated requests; route to the nearest nam…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
requests library. Also
requires CONFLUENCE_SERVER (defaults to your-domain.atlassian.net).
metadata:
tags: confluence, atlassian, wiki, documentation, knowledge-base, api-client
sources: https://developer.atlassian.com/cloud/confluence/rest/v2/, https://id.atlassian.com/manage/api-tokensInteract with Atlassian Confluence Cloud via the REST API. List spaces, browse pages, view page content with body, search with CQL, and create pages.
export CONFLUENCE_EMAIL="your-email@example.com"
export CONFLUENCE_API_TOKEN="your-api-token"
export CONFLUENCE_SERVER="https://your-domain.atlassian.net"
--help and --dry-run work without credentials.
confluence-cli me # your account info
confluence-cli me --json # machine-readable
confluence-cli spaces # all accessible spaces
confluence-cli spaces --limit 50 # more results
confluence-cli spaces --json # machine-readable
confluence-cli pages # recent pages across all spaces
confluence-cli pages --space DEV # pages in a specific space
confluence-cli pages --space DEV --limit 10 # top 10
confluence-cli pages --space DEV --json # machine-readable
Filters by space key. Resolves the key to an internal ID automatically.
confluence-cli view 123456 # full page with body
confluence-cli view 123456 --json # machine-readable
Shows title, status, version, author, timestamps, and HTML body (stripped to plain text for display). The full HTML body is available in --json output up to 5000 chars.
confluence-cli search --cql 'text~"deploy"' # full-text search
confluence-cli search --cql 'space=DEV AND type=page' # by space and type
confluence-cli search --cql 'creator=currentuser()' # my content
confluence-cli search --cql 'text~"api"' --limit 5 # top 5 results
CQL (Confluence Query Language) is Confluence's search syntax. Common patterns:
text~"keyword" — full-text searchspace=KEY — filter by spacetype=page — filter by content typecreator=currentuser() — your contentlabel="name" — by labelAND: space=DEV AND text~"deploy"confluence-cli create --space DEV --title "My Page" # basic
confluence-cli create --space DEV --title "API Docs" --body "<p>Content</p>" # with HTML body
confluence-cli create --space DEV --title "Test" --parent 123456 # as child page
confluence-cli create --space DEV --title "Test" --dry-run # preview
Creates pages in Confluence Cloud (v2 API). The body is HTML using Confluence's storage format. For simple pages, basic HTML tags work (<p>, <ul>, <h2>, etc.).
All flags work in any position:
confluence-cli --json pages --space DEV # flag before subcommand
confluence-cli pages --space DEV --json # flag after subcommand
confluence-cli --dry-run create --space DEV --title "Test"
confluence-cli --quiet pages # suppress non-essential output
me and search (CQL). This is transparent to the user.pages --space and create --space.--json output (up to 5000 chars). Creating pages with rich formatting requires valid HTML.text~ operator searches the full text body. Enclose multi-word phrases in escaped quotes.--json, --dry-run, --quiet, --verbose, dual-output via emit(), lazy auth, structured logging.