northseadl/norix-skills / cnb-cool-integration
cnb-cool-integration
Verified针对 cnb.cool 的云原生构建(CNB Build):生成/修改 .cnb.yml 流水线、触发规则、 构建环境、runner 资源、缓存、环境变量、手动触发与调试。 在接入、迁移、优化或排查 CNB 构建配置时使用。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.7 KB |
| agents/openai.yaml | config | 350 B |
| references/cache.md | markdown | 1.4 KB |
| references/cnb-yml.md | markdown | 1.3 KB |
| references/debug.md | markdown | 555 B |
| references/docker-and-runner.md | markdown | 2.2 KB |
| references/env.md | markdown | 876 B |
| references/file-reference.md | markdown | 1.4 KB |
| references/intro.md | markdown | 1.5 KB |
| references/recipes.md | markdown | 1.5 KB |
| references/trigger-rule.md | markdown | 1.1 KB |
| references/web-trigger.md | markdown | 1.6 KB |
references/intro.md
View on GitHub# 概览:cnb.cool 云原生构建
本 Skill 面向 cnb.cool 的云原生构建能力(以下简称 CNB Build)。核心特点是用声明式的 `.cnb.yml` 描述构建流程,并以 Docker 作为构建运行时。
## 关键概念(最重要的 3 句话)
- `.cnb.yml`:仓库根目录的构建配置文件,用 YAML 声明触发条件与流水线。
- 执行模型:同一分支/事件下的 **pipeline 并发**;pipeline 内 **stage 串行**;stage 内 **job 并发**。
- 构建运行时:每条 pipeline 运行在一个 Docker 容器环境中,可通过 `docker.image` / `docker.build` / `docker.devcontainer` 指定。
## 快速示例(最小可跑)
```yaml
main:
push:
- docker:
image: cnbcool/default:node
stages:
- jobs:
- name: test
script:
- node -v
- npm -v
```
## 能力点速览
- **触发规则**:按分支(glob)与事件(push / pull_request / web_trigger_* 等)触发。
- **缓存与共享**:通过 `docker.volumes` 提供目录缓存与跨 stage 数据传递(copy-on-write)。
- **插件机制**:支持用 Docker 镜像作为插件运行 job(适合封装可复用任务)。
- **资源控制**:`runner.cpus/mem/disk/tags` 控制构建节点资源与调度。
- **调试能力**:支持 login debug 方式“留住”构建节点用于排查。
需要更完整的参数与语义时,优先打开官方文档的「配置文件 / 语法手册 / 触发规则 / 环境变量 / 缓存 / 手动触发 / 登录调试」章节。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |