返回顶部
d

devrev

Interact with DevRev to create/update issues and tickets, and search/query works and parts. Use when asked to create a DevRev issue or ticket, update an existing work item, search for issues or tickets, list open/closed works, get details about a specific work item by ID, or perform any DevRev API operations. Requires DEVREV_TOKEN environment variable.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
527
下载量
0
收藏
概述
安装方式
版本历史

devrev

# DevRev Skill Interact with DevRev via its REST API to manage issues, tickets, and parts. ## Setup Requires a DevRev PAT token. Read from env var `DEVREV_TOKEN` or ask the user to provide it. ```bash export DEVREV_TOKEN=<your-pat-token> ``` Base URL: `https://api.devrev.ai` Auth header: `Authorization: <token>` (no "Bearer" prefix needed) ## Common Operations ### List Works (issues + tickets) ```bash curl -s "https://api.devrev.ai/works.list" \ -H "Authorization: $DEVREV_TOKEN" | python3 -m json.tool ``` Filter by type: ```bash # Only issues curl -s "https://api.devrev.ai/works.list?type[]=issue" \ -H "Authorization: $DEVREV_TOKEN" # Only tickets curl -s "https://api.devrev.ai/works.list?type[]=ticket" \ -H "Authorization: $DEVREV_TOKEN" ``` ### Get a Specific Work Item ```bash # Get by DON ID curl -s -X POST "https://api.devrev.ai/works.get" \ -H "Authorization: $DEVREV_TOKEN" \ -H "Content-Type: application/json" \ -d '{"id": "don:core:dvrv-us-1:devo/XXXX:issue/72"}' ``` ### Create an Issue ```bash curl -s -X POST "https://api.devrev.ai/works.create" \ -H "Authorization: $DEVREV_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "type": "issue", "title": "Issue title", "body": "Description here", "applies_to_part": "don:core:...:product/X", "owned_by": ["don:identity:...:devu/1"] }' ``` ### Create a Ticket ```bash curl -s -X POST "https://api.devrev.ai/works.create" \ -H "Authorization: $DEVREV_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "type": "ticket", "title": "Ticket title", "body": "Description here", "applies_to_part": "don:core:...:product/X", "severity": "medium" }' ``` Severity options: `blocker`, `high`, `medium`, `low` ### Update a Work Item ```bash curl -s -X POST "https://api.devrev.ai/works.update" \ -H "Authorization: $DEVREV_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "id": "don:core:...:issue/72", "title": "Updated title", "body": "Updated description" }' ``` ### Search Works ```bash curl -s -X POST "https://api.devrev.ai/works.list" \ -H "Authorization: $DEVREV_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "type": ["issue"], "stage": {"name": ["triage", "in_development"]} }' ``` ### List Parts (products, features, enhancements) ```bash curl -s "https://api.devrev.ai/parts.list" \ -H "Authorization: $DEVREV_TOKEN" ``` ## Key Data Structures See `references/api.md` for full field details and DON ID format. ## Tips - **DON IDs** are the full `don:core:...` identifiers used for all references - **display_id** (e.g. `ISS-72`, `TKT-29`) is human-readable but use the DON ID for API calls - To get parts (products) for creating works, call `parts.list` first - Priority for issues: `p0` (critical) → `p1` → `p2` → `p3` - Stage names for issues: `triage`, `in_development`, `completed` - Stage names for tickets: `queued`, `work_in_progress`, `resolved`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 devrev-1776419998 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 devrev-1776419998 技能

通过命令行安装

skillhub install devrev-1776419998

下载 Zip 包

⬇ 下载 devrev v1.0.0

文件大小: 3.07 KB | 发布时间: 2026-4-17 18:29

v1.0.0 最新 2026-4-17 18:29
Initial release: create/update issues & tickets, search works and parts

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部