Pipeline plugin development

From TencentBlueKing/bk-ci · View interactive version

Pipeline plugin development is an AI agent skill from the GitHub repository TencentBlueKing/bk-ci. 开发 BK-CI 流水线插件时使用,例如新增 Atom、编写 `task.json`、定义输入输出、处理多语言运行时、调试和发布插件。当用户要做插件本体而不是执行器或流水线模型时优先使用。

How to use this skill

Skill file

流水线插件开发

适用场景

不适用场景

快速指导

  1. 这个 skill 关注的是“插件本体怎么定义和交付”,不是“插件如何被执行”。
  2. 先确认你是在开发 Atom,而不是在改执行器链路。
  3. 开发插件时优先看三类信息:
  1. task.json 是插件契约,字段设计、运行时配置、敏感信息标记都应先在这里定清楚。
  2. 输入输出要以“稳定契约”为目标,不要把临时实现细节暴露给使用者。
  3. 运行时和目标平台要尽量前置明确,避免发布后再补兼容。
  4. 如果问题发生在插件被下载、执行、打日志或归档产物的阶段,通常要切到 worker-module-architecture。

高信号规则

关键陷阱

延伸阅读

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.