← Back to Skills Marketplace
61
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install pingcode-enhanced
Description
PingCode 研发管理平台 API 集成。支持查询工作项、测试库、项目进度、组织架构、知识库、DevOps 等。
README (SKILL.md)
PingCode Skill
通过 PingCode Open API 操作研发管理平台数据。
前置条件
- 在 PingCode 企业后台创建应用,获取
Client ID和Client Secret - 配置应用的数据访问范围(需要勾选各模块权限)
- 设置环境变量:
export PINGCODE_CLIENT_ID="your_client_id" export PINGCODE_CLIENT_SECRET="your_client_secret"
1️⃣ 项目管理
获取项目列表
python3 scripts/query_projects.py # 所有项目
python3 scripts/query_projects.py --name "合规" # 按名称搜索
python3 scripts/query_projects.py --project_id xxx --detail # 项目详情
查看迭代 (Sprint)
python3 scripts/query_projects.py --project_id xxx --sprints # 指定项目的迭代
python3 scripts/query_projects.py --all_projects_sprints --sprints # 全部活跃迭代
查看发布 (Release)
python3 scripts/query_projects.py --project_id xxx --releases
项目成员
python3 scripts/query_projects.py --project_id xxx --members
2️⃣ 工作项 (Work Items)
获取我的工作项
python3 scripts/get_my_tasks.py
获取指定项目的全部工作项
python3 scripts/get_project_workitems.py --project_name "项目名称"
python3 scripts/get_project_workitems.py --project_id abc123 --json
工作项高级查询(推荐)
python3 scripts/query_workitems.py --project_name "项目名称" # 统计
python3 scripts/query_workitems.py --project_name "项目名称" --type bug # 只看 bug
python3 scripts/query_workitems.py --project_name "项目名称" --unfinished # 未完成
python3 scripts/query_workitems.py --all_projects --unfinished # 全部未完成
python3 scripts/query_workitems.py --project_name "项目名称" --assignee "张三"
python3 scripts/query_workitems.py --project_name "项目名称" --recent 7 # 最近7天
更新工作项
python3 scripts/update_workitem.py --workitem_id abc --assignee anytao
python3 scripts/update_workitem.py --workitem_id abc --start_date "2026-03-12" --due_date "2026-03-20"
python3 scripts/update_workitem.py --workitem_id abc --assignee anytao --priority "高"
python3 scripts/update_workitem.py --workitem_id abc --status "进行中"
生成周报
python3 scripts/generate_weekly_report.py
python3 scripts/generate_weekly_report.py --project_id xxx --project_name "项目名称"
python3 scripts/generate_weekly_report.py --output /tmp/weekly_report.md
3️⃣ 测试管理 (Test Hub)
测试库列表
python3 scripts/query_test_library.py # 全部测试库
python3 scripts/query_test_library.py --library_name "项目名称" # 按名称搜索
python3 scripts/query_test_library.py --library_name "项目名称" --detail # 含用例统计
python3 scripts/query_test_library.py --library_id xxx --detail # 按 ID 查详情
测试用例查询
python3 scripts/query_test_library.py --library_name "项目名称" --detail
输出示例:
📂 测试模块 (50):
劳动用工合规: 30
在职管理: 13
AI工作台: 12
首页-AI: 8
...
📋 用例状态分布:
设计: 260
测试执行记录
python3 scripts/query_test_runs.py # 最近执行
python3 scripts/query_test_runs.py --library_name "项目名称" # 按测试库
python3 scripts/query_test_runs.py --days 7 # 最近7天
python3 scripts/query_test_runs.py --detail # 详细结果
4️⃣ 组织架构
python3 scripts/query_users.py # 所有用户
python3 scripts/query_users.py --search "蔡" # 按姓名搜索
python3 scripts/query_users.py --user_id xxx # 用户详情(含邮箱/手机/职位)
python3 scripts/query_users.py --departments # 部门列表
python3 scripts/query_users.py --groups # 团队列表
python3 scripts/query_users.py --roles # 角色列表
python3 scripts/query_users.py --detail # 显示全部用户详细信息
5️⃣ 知识管理 (Wiki)
python3 scripts/query_wiki.py # 知识库空间列表
python3 scripts/query_wiki.py --space_id xxx # 空间下的页面
python3 scripts/query_wiki.py --space_id xxx --search "合规" # 搜索页面
python3 scripts/query_wiki.py --page_id xxx # 查看页面详情
python3 scripts/query_wiki.py --page_id xxx --content # 查看正文内容
6️⃣ 动态 & 评论 & 工时
python3 scripts/query_activities.py --work_item_id xxx # 查看动态
python3 scripts/query_activities.py --work_item_id xxx --comments # 评论
python3 scripts/query_activities.py --work_item_id xxx --hours # 工时
python3 scripts/query_activities.py --work_item_id xxx --followers # 关注人
python3 scripts/query_activities.py --work_item_id xxx --relations # 关联项
7️⃣ DevOps 集成
python3 scripts/query_devops.py --repos # 代码仓库
python3 scripts/query_devops.py --commits # 提交记录
python3 scripts/query_devops.py --pr # Pull Request
python3 scripts/query_devops.py --builds # 构建记录
python3 scripts/query_devops.py --deploys # 部署记录
8️⃣ 全局看板
python3 scripts/pingcode_dashboard.py # 所有项目概览
python3 scripts/pingcode_dashboard.py --project "合规" # 按项目筛选
python3 scripts/pingcode_dashboard.py --test # 含测试库统计
脚本清单
| 脚本 | 说明 |
|---|---|
query_projects.py |
项目、迭代、发布、成员 |
get_projects.py |
获取项目列表(原版) |
get_my_tasks.py |
我的工作项 |
get_project_workitems.py |
项目工作项(原版) |
query_workitems.py |
工作项高级查询(推荐) |
update_workitem.py |
更新工作项 |
generate_weekly_report.py |
生成周报 |
query_test_library.py |
测试库 + 用例查询 |
query_test_runs.py |
测试执行记录 |
query_users.py |
用户/部门/团队/角色 |
query_wiki.py |
知识库 |
query_activities.py |
动态/评论/工时 |
query_devops.py |
DevOps 集成 |
pingcode_dashboard.py |
全局看板 |
Usage Guidance
Install only if you want this agent to access PingCode on your behalf. Create a dedicated PingCode application with the minimum scopes needed, avoid enabling all modules unless necessary, require confirmation before updates, and be careful because query results may include confidential company information.
Capability Analysis
Type: OpenClaw Skill
Name: pingcode-enhanced
Version: 1.0.1
The skill bundle is a comprehensive and legitimate integration for the PingCode R&D management platform. It contains a suite of Python scripts (e.g., `query_projects.py`, `query_workitems.py`, `query_users.py`) designed to interact with the official PingCode Open API (https://open.pingcode.com). The scripts handle authentication securely via environment variables (PINGCODE_CLIENT_ID/SECRET) and include logic to prevent accidental leakage of tokens in error messages. The functionality—ranging from project tracking and test management to wiki access and weekly report generation—is entirely consistent with the stated purpose, and no indicators of data exfiltration, malicious execution, or prompt injection were found.
Capability Assessment
Purpose & Capability
The artifacts are coherent with the stated PingCode API integration purpose: the provided scripts call https://open.pingcode.com for projects, work items, tests, org data, wiki, and DevOps. The capability set is broad but mostly disclosed.
Instruction Scope
The skill documents commands that can mutate PingCode work items, such as assignee, dates, priority, and status, without documenting a required confirmation step or rollback guidance.
Install Mechanism
There is no install script or remote installer, which reduces install-time risk. However, provenance is limited because the source/homepage are unknown and the runnable scripts depend on Python/requests without an install specification.
Credentials
The skill requires PingCode client credentials and asks the user to enable data access across modules, giving the agent potentially broad access to enterprise project, org, wiki, DevOps, and work-item data.
Persistence & Privilege
No background workers, persistence, or self-starting behavior are shown. The main privilege issue is delegated API access through environment-provided PingCode client credentials.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pingcode-enhanced - After installation, invoke the skill by name or use
/pingcode-enhanced - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
清理示例中的企业内部信息,统一替换为通用示例名称
v1.0.0
全面升级:新增测试管理、组织架构、知识库、DevOps、全局看板等20+脚本
Metadata
Frequently Asked Questions
What is PingCode Enhanced?
PingCode 研发管理平台 API 集成。支持查询工作项、测试库、项目进度、组织架构、知识库、DevOps 等。 It is an AI Agent Skill for Claude Code / OpenClaw, with 61 downloads so far.
How do I install PingCode Enhanced?
Run "/install pingcode-enhanced" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PingCode Enhanced free?
Yes, PingCode Enhanced is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PingCode Enhanced support?
PingCode Enhanced is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PingCode Enhanced?
It is built and maintained by Ji Gao (@geji); the current version is v1.0.1.
More Skills