Bk Monitor Tapd Dev
Developmentbk-monitor-tapd-devBk Monitor Tapd Dev is an Agent Skill for development published in the TencentBlueKing/bk-bcs repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
根据 TAPD 单据分析开发需求并生成方案。当用户需要开发 TAPD 需求/缺陷/任务时使用。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/TencentBlueKing/bk-bcs/blob/HEAD/bcs-services/bcs-project-manager/.cursor/skills/bk-monitor-tapd-dev/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/bk-monitor-tapd-dev, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
TAPD 单据开发助手
工作流程
Step 1: 获取 TAPD ID 并验证分支(阻塞)
- 获取 ID:用户提供或从分支名提取(
git branch --show-current,匹配#(\d+)) - 验证分支是否包含该 ID
- 匹配 → 继续
- 不匹配 → 询问用户选择(创建分支/继续开发)
Step 2-3: 获取单据
- 解析 workspace_id = id.substring(2, 10)
- 调用 MCP(stories_get、bugs_get、tasks_get)获取单据详情和评论
Step 4-6: 分析与开发
- 分析需求(标题、描述、评论、截止日期)
- 按 dev-plan-template.md 生成方案
- 等待用户确认后开始开发
注意事项
- 分支验证是第一优先级
- 方案需用户确认才能开始开发
- 评论与描述冲突时以最新评论为准
📦 可用资源
skill://bk-monitor-tapd-dev/references/branch-workflow.mdskill://bk-monitor-tapd-dev/references/dev-plan-template.mdskill://bk-monitor-tapd-dev/references/mcp-calls.mdskill://bk-monitor-tapd-dev/references/tapd-mcp-guide.md
📦 可用资源
skill://bk-monitor-tapd-dev/references/branch-workflow.mdskill://bk-monitor-tapd-dev/references/dev-plan-template.mdskill://bk-monitor-tapd-dev/references/mcp-calls.mdskill://bk-monitor-tapd-dev/references/tapd-mcp-guide.md
根据 SKILL.md 中的 IF-THEN 规则判断是否需要加载