cnb-api
CNB 平台交互命令,支持代码仓库、Issue、PR、CI、制品库读写等操作。
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
CNB 平台交互命令,支持代码仓库、Issue、PR、CI、制品库读写等操作。
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
Create professional architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as standalone HTML files with SVG graphics, a built-in dark/light theme toggle, and one-click export to PNG / JPEG / WebP / SVG. Accepts plain-language descriptions or pasted Mermaid code (flowchart, sequenceDiagram, stateDiagram) and lays the diagram out from scratch in archify style. Use when the user asks for system architecture diagrams, infrastructure diagrams, cloud architecture visualizations, security diagrams, network topology, technical workflows, approval flows, runbooks, CI/CD flows, process diagrams, API call sequences, request lifecycles, data pipelines, ETL/ELT maps, PII boundaries, data lineage, state machines, lifecycle diagrams, status transitions, or asks to convert/beautify a Mermaid diagram.
Use when the user requests diagrams, flowcharts, architecture diagrams, ER diagrams, UML / sequence / class diagrams, network topology, cloud architecture from Terraform or Kubernetes manifests, ML/DL model figures (Transformer/CNN/LSTM), mind maps, or any visualization. Also use proactively when explaining systems with 3+ components, complex data flows, or relationships that benefit from visual representation. Best suited when the diagram needs custom styling, rich shape vocabulary, swimlanes, or exportable images (PNG/SVG/PDF/JPG). Generates .drawio XML and exports locally via the native draw.io desktop CLI.
专家团总路由器。用于 Codex CLI 的 $expert-team 调用。 自动在软件开发团队、设计原型专家团、产品战略团队、基础设施运维专家和安全专家之间路由,也支持显式指定 software/design/product/ops/security。 触发词:专家团、团队协作、软件开发、设计原型、产品战略、基础设施运维、安全专家、威胁建模、代码审计、SRE、PRD、竞品、路线图、监控、部署、安全加固
Specialized agent for developing AIUI applications. Invoke when writing AIUI code, needing API references for jsui/wx, debugging AIUI applications, or aligning AIUI visual design with this Skill's design guidelines.
为文章规划并生成可读性强的极简强线条手绘配图。先建立文章地图,识别段落适合流程图、架构图、对比图、关系图、结构图还是概念插图,再通过构思卡组织单一命题、原文指纹、信息单位、阅读顺序和固定橙白圆猫角色。构思通过可读性测试后默认直接生成。用户说配图、手绘配图、给文章配图、文章插图、技术文章插图、流程图、架构图、关系图或 illustrate my article 时使用。
编写代码、提交推送并创建 PR,适用于功能开发、Bug 修复、重构优化等场景。
| name | cnb-api |
| description | CNB 平台交互命令,支持代码仓库、Issue、PR、CI、制品库读写等操作。 |
操作 CNB 平台资源的 CLI 工具。
issues:
cnb issues get — 获取详情cnb issues list-comments — 获取评论列表cnb issues comment --body 内容 — 评论cnb issues close — 关闭cnb issues open — 打开cnb issues list-labels — 查看标签cnb issues add-labels --labels bug --labels feature — 添加标签cnb issues list-assignees — 查看处理人cnb issues add-assignees --assignees username — 添加处理人cnb issues upload-file --file 文件路径 — 上传 issue 评论文件cnb issues upload-image --file 图片路径 — 上传 issue 评论图片cnb issues create-upload-file --file 文件路径 — 创建 issue 时上传文件cnb issues create-upload-image --file 图片路径 — 创建 issue 时上传图片pulls:
cnb pulls get — 获取详情cnb pulls list-files — 获取文件变更cnb pulls list-commits — 获取提交记录cnb pulls list-comments — 获取评论列表cnb pulls comment --body 内容 — 评论cnb pulls list-labels — 查看标签cnb pulls add-labels --labels ready --labels approved — 添加标签cnb pulls check-status — 查看 CI 状态cnb pulls list-reviews — 查看评审列表cnb pulls list-assignees — 查看处理人cnb pulls upload-file --file 文件路径 — 上传文件cnb pulls upload-image --file 图片路径 — 上传图片cnb pulls get-ci-logs --sn 构建号(可选) — 获取 CI 失败日志cnb pulls get-ci-timing --sn 构建号(可选) — 分析 CI 耗时瓶颈注意事项:
--verbose 输出完整数据。更多 API。@npc。在生成链接时请遵循下面的结构:
<host>/<slug>/-/issues/<number><host>/<slug>/-/pulls/<number>cnb --help 查看所有模块cnb <module> --help 查看模块下的工具列表cnb <module> <tool> --help 查看工具参数