Pipeline Template Module logo

Pipeline Template Module

OrganizationPopular
TencentBlueKing
pipeline-template-module

处理 BK-CI 流水线模板的创建、版本管理、实例化、权限控制、PAC 模板和商店集成时使用。当用户提到模板复用、模板版本、批量实例化、模板迁移、商店模板或 PAC 模板时优先使用。

Overview

PublisherTencentBlueKing
Repositorybk-ci
Skill namepipeline-template-module
Stars
2.5K
Forks
524
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by TencentBlueKing on GitHub. Read the source before you install it.

Installation

Install the Pipeline Template Module AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TencentBlueKing/bk-ci.git /tmp/bk-ci
mkdir -p .claude/skills
cp -r /tmp/bk-ci/ai/skills/pipeline-template-module .claude/skills/pipeline-template-module
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pipeline Template Module in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pipeline Template Module on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pipeline Template Module is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

流水线模板模块

适用场景

  • 创建或维护流水线模板
  • 模板实例化、批量实例化、模板更新
  • 模板版本、草稿、发布、分支版本管理
  • PAC 模板能力
  • 模板权限控制和商店模板集成

不适用场景

  • 只是修改单条流水线模型结构,不涉及模板抽象
  • 只是 YAML 转换问题,不涉及模板生命周期
  • 只是商店插件或普通流水线执行问题

快速指导

  1. 先判断你遇到的是哪条主线:
    • 模板基础结构与版本体系:看 reference/1-template-foundation.md
    • 实例化、批量操作、权限:看 reference/2-instance-version-permission.md
    • PAC 模板与商店集成:看 reference/3-pac-store-integration.md
    • 排查、事件、锁与扩展:看 reference/4-operations-extension.md
  2. 模板问题先分清 V1 还是 V2。新功能判断、复杂版本管理、草稿、PAC 场景通常优先看 V2。
  3. 模板和普通流水线的最大区别不是“多了一份模型”,而是多了:
    • 版本语义
    • 实例关联关系
    • 权限与共享边界
    • 可能的商店分发与 PAC 来源
  4. 只要改模板结构或模板版本逻辑,就要同时检查:
    • 模板资源持久化
    • 实例化结果
    • 版本兼容
    • 模板关联流水线的更新影响
  5. PAC 模板、商店模板、项目内模板不要混成一个心智模型,它们的来源、权限和版本流转不同。

高信号规则

  • 模板模块负责“如何复用与分发流水线定义”,pipeline-model-architecture 负责“模型本身长什么样”
  • 模板版本和实例版本要区分,不要把模板版本号等同于流水线运行版本
  • 批量实例化、批量更新、商店安装都会放大模板设计问题,改动前要先评估实例影响面
  • PAC 模板会同时受到模板体系和 YAML 转换体系影响

关键陷阱

  • 不区分 V1 / V2,就直接改模板逻辑,结果改错链路
  • 只改模板本身,不看已经实例化出去的流水线如何受影响
  • 把 PAC 模板问题误当成普通模板问题,或反过来
  • 商店模板、项目模板、公共模板混用同一套权限和版本心智
  • 模板变更只验证单模板,不验证批量实例、版本切换和历史兼容

延伸阅读

  • 模板基础:reference/1-template-foundation.md
  • 实例化与版本:reference/2-instance-version-permission.md
  • PAC 与商店:reference/3-pac-store-integration.md
  • 排查与扩展:reference/4-operations-extension.md
  • 涉及模型结构时:再看 pipeline-model-architecture
  • 涉及 YAML/PAC 转换细节时:再看 yaml-pipeline-transfer

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Pipeline Template Module AI skill do?

处理 BK-CI 流水线模板的创建、版本管理、实例化、权限控制、PAC 模板和商店集成时使用。当用户提到模板复用、模板版本、批量实例化、模板迁移、商店模板或 PAC 模板时优先使用。

Why use Pipeline Template Module on TypingMind?

Because you install it once and use it with any model. Pipeline Template Module is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pipeline Template Module in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/TencentBlueKing/bk-ci/tree/master/ai/skills/pipeline-template-module. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Pipeline Template Module?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pipeline Template Module?

As many as you like. As long as a model supports skills, you can use Pipeline Template Module with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pipeline Template Module AI skill free?

It is published on GitHub by TencentBlueKing. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇