plane-api
24
总安装量
13
周安装量
#15558
全站排名
安装命令
npx skills add https://github.com/montagao/skills --skill plane-api
Agent 安装分布
opencode
11
claude-code
10
cursor
7
gemini-cli
7
windsurf
7
Skill 文档
Plane API Integration
This skill enables interaction with a self-hosted Plane.so instance using the plane.py CLI tool.
Setup
The user must set these environment variables:
export PLANE_API_URL="https://plane.example.com"
export PLANE_API_KEY="plane_api_..."
export PLANE_WORKSPACE_SLUG="my-team" # Optional, can pass --workspace instead
Using the CLI Tool
All operations use plane.py located at ~/.skills/plane-api/plane.py.
Check API Compatibility
First, verify the Plane instance supports the v1 API (requires Plane v0.20+):
python ~/.skills/plane-api/plane.py check-version
List Projects
python ~/.skills/plane-api/plane.py projects
python ~/.skills/plane-api/plane.py projects --workspace other-team
List Work Items (Issues)
python ~/.skills/plane-api/plane.py work-items <project_id>
Create Work Item
python ~/.skills/plane-api/plane.py create-work-item <project_id> "Issue title"
python ~/.skills/plane-api/plane.py create-work-item <project_id> "Bug fix" --priority high
python ~/.skills/plane-api/plane.py create-work-item <project_id> "Feature" --priority medium --state-id <uuid> --description "Details here"
Priority values: urgent, high, medium, low, none
List States
Get available states to use when creating work items:
python ~/.skills/plane-api/plane.py states <project_id>
List Cycles
python ~/.skills/plane-api/plane.py cycles <project_id>
List Modules
python ~/.skills/plane-api/plane.py modules <project_id>
Typical Workflow
- Run
check-versionto verify API access - Run
projectsto get project IDs - Run
states <project_id>to get state UUIDs - Run
create-work-itemwith the appropriate state and priority
API Reference
For operations not covered by the CLI (like adding items to cycles/modules, creating labels, bulk operations), use curl directly:
curl -H "X-API-Key: $PLANE_API_KEY" \
-H "Content-Type: application/json" \
"$PLANE_API_URL/api/v1/workspaces/$PLANE_WORKSPACE_SLUG/..."
Key endpoints:
GET /api/v1/workspaces/{slug}/projects/– List projectsGET /api/v1/workspaces/{slug}/projects/{id}/work-items/– List work itemsPOST /api/v1/workspaces/{slug}/projects/{id}/work-items/– Create work itemGET /api/v1/workspaces/{slug}/projects/{id}/states/– List statesGET /api/v1/workspaces/{slug}/projects/{id}/cycles/– List cyclesPOST /api/v1/workspaces/{slug}/projects/{id}/cycles/{id}/work-items/– Add to cycleGET /api/v1/workspaces/{slug}/projects/{id}/modules/– List modulesGET /api/v1/workspaces/{slug}/projects/{id}/labels/– List labels
Rate limit: 60 requests/minute per API key.