理解或修改 BK-CI 流水线 Model、Stage、Container、Element 结构时使用。当用户提到流水线模型、Stage/Job/Task 数据结构、模型扩展、模型校验、版本兼容、YAML 与 Model 转换时优先使用。
65
77%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./ai/skills/pipeline-model-architecture/SKILL.mdModel -> Stage -> Container -> Element 的层级关系reference/1-core-structure.mdreference/2-persistence-versioning.mdreference/3-runtime-conversion-extension.mdModel 是流水线配置的核心载体,但不是所有运行时状态的权威来源。运行中的状态、耗时、重试等字段要区分“配置态”和“运行态”。Stage 的第一个 Container。很多参数、触发器和启动逻辑都从这里进入。Container 和 Element 都是多态结构。新增类型时,不能只改一个类定义,通常还要一起检查:
Model 关心的是“流水线如何定义”,Process 更关心“流水线如何被编排执行”Stage 表达阶段边界和流程控制,Container 更接近 Job,Element 更接近具体任务或插件id、stageIdForUser、插件 code、运行时状态字段,不是同一层次的概念,不能混用Element/Container 类定义,不补多态声明、校验或前端侧映射Process 的执行链或转换层reference/1-core-structure.mdreference/2-persistence-versioning.mdreference/3-runtime-conversion-extension.mdprocess-module-architectureyaml-pipeline-transfer94743cb
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.