Stats
Actions
Tags
From pdlc
Generates mock data and mock service configuration from API design documents for frontend development. Creates realistic mock responses with pagination, error cases, and boundary data.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pdlc:pdlc-api-mock <接口路径 | OpenAPI 文件><接口路径 | OpenAPI 文件>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- @include templates/prompts/iron-law.md -->
根据 API 设计文档生成 Mock 数据和 Mock 服务配置,供前端联调使用。
docs/02_design/api/ 下的 API 设计文档mock/ 或 src/services/__mocks__/ 目录{
"code": 0,
"message": "成功",
"data": { ... }
}
目标接口: $ARGUMENTS
本命令的 handoff 输出:
✅ API Mock 数据 完成
📦 产出:(生成到前端应用 mock/ 目录)
👉 下一步:(本次流程结束,无后续)
Creates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.
npx claudepluginhub kanfu-panda/pdlc-skills --plugin pdlc