PingCode Open API
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_414b3bb0/pingcode.
About this skill
Problem
Work items, projects, sprints, comments, and workloads in PingCode are spread across many REST endpoints. Manual paging, cross-endpoint data collection, and report scripting create repetitive work; in self-hosted setups, an incorrect /open path can also return HTML instead of JSON.
How It Works
The skill wraps the PingCode Open API as a configurable data access layer:
- Uses PINGCODE_BASE_URL and PINGCODE_OAUTH2_ROOT to adapt to public cloud or self-hosted deployments.
- Supports enterprise tokens for organization-wide data and user tokens for personal data such as “my work items”.
- Provides a general caller covering 588 endpoints across 70 groups, allowing group lookup before calling a target endpoint.
- Includes ready-made entries for common flows such as project lists, work item CRUD, sprints, comments, workloads, and weekly report generation.
Limits and Notes
- Rate limit is 200 requests per minute, and tokens are valid for about 30 days.
- Some list endpoints ignore
page_size, andtotalmay be inaccurate; pagination should stop based on the actual number of returned records. - Self-hosted deployments usually need the API root with
/open, while the OAuth2 root does not. - Credentials are stored in a local
.envfile, and enterprise and user token credentials should be configured separately.
Use Cases
- Pull work items for a specified project and sprint, aggregate status, and generate a project weekly report.
- Use enterprise tokens to query project lists, members, and workloads, then verify delivery data.
- Use a user token to read “my work items,” filter open tasks, and update their status.
- Call comment and workload endpoints to collect iteration review records.
Best For
- R&D engineers who feed PingCode work items into internal reports or inspection scripts.
- Project leads who build weekly reports from projects, sprints, and work items.
- Developers who access personal work items and automate follow-up for open tasks.
- Technical managers who reconcile enterprise members, workloads, and comments.
Related Skills
Analyzes code to extract control and data flow, then outputs Markdown with Mermaid source and high-resolution PNG diagrams.
For development and programming scenarios around VSCode and TypeScript IDE.
A TypeScript-oriented Windmill Wrap development reference.
A Python-based Selenium wrapper for engineering browser automation workflows.