Plane Assistant · Plane Assistant
The command table is built at startup from the bundled
, covering
130 operations / 17 resource groups, and strictly matching the schema exported from the instance.
Triggers
Activate when
- “What projects / tasks are on Plane?”
- “Create a work item in Plane.”
- “Sync this task to Plane.”
- “Check the progress / cycles / modules of a project in Plane.”
- “List my Plane work items.”
Do not activate when
- Deploying, starting, or troubleshooting the Plane instance itself (containers, compose, migrations)—that is an operations task and does not go through this Skill.
- The target is another project management tool such as Jira, Linear, or Notion.
- The user does not have access to the instance or is asking to bypass authentication.
Step 0: Resolve the Runtime
- Run to confirm Node.js 20+.
- CLI entry point:
$SKILL_DIR/cli/bin/lov-plane-cli.mjs
. If has already been run, you can invoke it directly as .
- If Node or is missing, report the relative path and stop. Do not construct API URLs from memory.
Step 1: Confirm the Instance and Credentials
Resolve the instance URL in this order:
→
→ the
value in
~/.config/lov-plane-cli/config.json
→
.
Resolve credentials in the same way:
→
→ the
value in the configuration file.
bash
export PLANE_BASE_URL=http://localhost
export PLANE_API_KEY=<api token>
To obtain a token: Log in to Plane → avatar in the upper-right corner → Settings → API tokens → Add API token.
Credentials must only be passed through environment variables or the user's own configuration file. Never write the token into generated files, examples, logs, or Profile records, and never echo the full token in a response.
If credentials are missing, the CLI exits with code 2 and prints instructions for obtaining them—relay those instructions to the user rather than fabricating a response.
Step 2: Invoke
First review the command table, then execute the command; do not guess an operationId from memory:
bash
lov-plane-cli help # 130 个命令,按资源分组
lov-plane-cli <command> --help # 单命令的路径参数与查询参数
lov-plane-cli <command> ... --dry-run # 只打印请求,不发出
Common workflows:
bash
lov-plane-cli list-projects -w <workspace-slug>
lov-plane-cli list-work-items -w <slug> -p <project-id> --per-page 50
lov-plane-cli list-states -w <slug> -p <project-id> # 建工作项前取状态字典
lov-plane-cli list-labels -w <slug> -p <project-id> # 取标签字典
lov-plane-cli create-work-item -w <slug> -p <project-id> --data '{"name":"新任务"}'
lov-plane-cli list-work-item-comments -w <slug> -p <pid> --issue-id <issue-id>
Argument syntax: Path parameters can be supplied positionally in order or by using the option with the same name;
/
/
are aliases for
/
/
, respectively. Request bodies use
or
. Unknown parameters result in an immediate error and are never silently discarded.
Step 3: Confirm Before Write Operations
,
,
, and
alter the user's actual project data.
- Deletion, archiving, and bulk modifications: confirm before execution unless the user has explicitly authorized this operation.
- When field values are uncertain, first use to show the user the request that will be sent.
- Before creating a work item, retrieve the IDs with / ; do not guess UUIDs.
records the resource hierarchy: workspace slug → project id → work item / cycle / module / state / label id.
Step 4: Read Back
After a write operation, read back the corresponding resource to verify the result; do not treat a 2xx response as final acceptance. When reporting, distinguish success, failure, and partial completion.
Common status codes:
means no credentials were provided;
means the token is invalid or does not grant access to the workspace/project;
means the slug or ID does not exist. The CLI preserves Plane's error body verbatim; pass it through to the user rather than rewriting it.
Coverage
| Group | Operations | Group | Operations |
|---|
| Work Items | 14 | Cycles | 14 |
| Members | 13 | Modules | 12 |
| Work Item Comments | 10 | Work Item Attachments | 10 |
| Work Item Links | 10 | Projects | 8 |
| Assets | 6 | workspaces | 6 |
| Intake | 5 | Labels | 5 |
| States | 5 | Stickies | 5 |
| Work Item Activity | 4 | Work Item Relations | 2 |
| Users | 1 | | |
Source and Limitations
The OpenAPI schema is exported by the drf-spectacular integration built into a self-hosted Plane instance. No paths or fields have been manually rewritten; only
was corrected (in-container address → public address), and evidence annotations were added.
Each operation includes
:
indicates that the endpoint's existence was confirmed through live probing (17), while
means that only the schema definition is available (113).
No write operation has ever been executed against a live instance; field semantics follow Plane's official documentation.
Plane interfaces may change after an upgrade: re-export the schema and overwrite
to synchronize it; no code changes are required.
SDK
exports
, including common entry points and a generic
request(method, path, {query, body})
. Credentials are passed in memory through constructor arguments or
.