Bkui BuilderSAFE
蓝鲸智云容器管理平台(BlueKing Container Service)
Overview
蓝鲸智云容器管理平台(BlueKing Container Service)
87a6fdb6f4b4OBSERVED · 2026-10-12What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
id: engineering/bkui-builder
name: 蓝鲸 MagicBox 3.0 组件专家规则
category: engineering
description: 设计稿还原规则。先输出布局分析报告,再按需加载模版
tags: [vue3, bkui-vue, rules, template, expert]
updated_at: 2026-01-19
---
# 蓝鲸 MagicBox 3.0 组件专家规则
## ⚠️ 绝对禁令
1. **禁止手写布局**: 严禁用 `div` 自创 sidebar/header/menu
2. **强制组件化**: 页面骨架 **必须** 用 `<bk-navigation>`
3. **禁止原生标签**: 严禁 `<table>`, `<button>`,必须用 bk-table, bk-button
## 🔥 还原流程
**Step 1: 分析设计稿** - 判断:主题深/浅色?表格/表单页?菜单有图标?
**Step 2: 加载模版** (FetchMcpResource, server: user-BKUI-Knowledge)
| 判断结果 | URI |
|---------|-----|
| 深色侧边栏 | `skill://bkui-builder/assets/layouts/admin-layout-dark.vue` |
| 浅色侧边栏 | `skill://bkui-builder/assets/layouts/admin-layout-left.vue` |
| 表格页+Tab | `skill://bkui-builder/assets/pages/table-page.vue` |
| 有图标 | `skill://bkui-builder/references/visual-mapping.md` |
**Step 3: 参考模版生成代码**
## 基础结构
```html
<bk-navigation navigation-type="left-right" need-menu default-open>
<template #menu>
<bk-menu :active-key="activeMenu" :opened-keys="['group-1']">
<bk-menu-item key="home">首页</bk-menu-item>
</bk-menu>
</template>
</bk-navigation>
```
> ⚠️ 属性名是 `opened-keys`,不是 `default-open-keys`
## Icon 导入
```typescript
// ✅ 正确
import { Search, Plus, Close } from 'bkui-vue/lib/icon';
// ❌ 错误: import { Search } from '@bkui-vue/icon';
```
## 📦 更多资源
- `skill://bkui-builder/references/code-snippets.md` - 代码片段
- `skill://bkui-builder/references/checklist.md` - 质量检查
---
## 📦 可用资源
- `skill://bkui-builder/references/checklist.md`
- `skill://bkui-builder/references/code-snippets.md`
- `skill://bkui-builder/references/visual-mapping.md`
- `skill://bkui-builder/assets/layouts/admin-layout-dark.vue`
- `skill://bkui-builder/assets/layouts/admin-layout-left.vue`
- `skill://bkui-builder/assets/layouts/admin-layout-top.vue`
- `skill://bkui-builder/assets/pages/dashboard-page.vue`
- `skill://bkui-builder/assets/pages/detail-page.vue`
- `skill://bkui-builder/assets/pages/table-page.vue`
- `skill://bkui-builder/assets/pages/wizard-form.vue`
> 根据 SKILL.md 中的 IF-THEN 规则判断是否需要加载Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | WARN |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (1)
.codebuddy
Gates applied: no_behavioural_pass.
87a6fdb6f4b4full audit observations/trust-audit/skill/tencentblueking__bkui-builder.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | 87a6fdb6f4b4 | SAFE | B | 89 | first audit |
Questions
What does the Bkui Builder skill do?
蓝鲸智云容器管理平台(BlueKing Container Service)
Is Bkui Builder safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Bkui Builder access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (87a6fdb6f4b4), read on 2026-10-12. The repository is watched, and a new audit runs when it changes — this is the first audit.