| Files | Last commit | Last update |
|---|---|---|
refactor: 官方插件目录 plugins 更名为 plugins-official Co-authored-by: jon_jin<jinjiong@hisilicon.com> # message auto-generated for no-merge-commit merge: !37 merge refactor/plugins-official into master refactor: 官方插件目录 plugins 更名为 plugins-official Created-by: jon_jin Commit-by: jon_jin Merged-by: cann-robot Description: ## 描述 将官方插件目录 plugins/ 更名为 plugins-official/,与 cannbot-skills 子仓的 plugins-official/ 命名对齐,并与顶层 plugins-community/(社区插件)形成明确的官方/社区对仗。 ### 改动原因 - 子仓 cannbot-skills 中官方插件目录为 plugins-official/,主仓为 plugins/,两侧命名不一致 - 顶层已有 plugins-community/,plugins/ 无法直观表达"官方插件"语义 ### 改动方法 - git mv plugins plugins-official(114 个文件,100% rename,历史保留) - 同步更新所有指向源码目录的引用: - .claude-plugin/marketplace.json:官方插件 source 指向 ./plugins-official/<name> - script/bin/cannbot.js:源码仓插件发现路径改为 plugins-official - script/lib/plugin-bundle.js:源插件根目录与默认发现列表同步更名(打包产物仍输出 dist/plugins/,安装布局 .cannbot/plugins/ 不变) - 测试 fixture 与断言同步更新:仓库根防泄漏断言由禁止 plugins-official 改为禁止旧目录 plugins - README / docs / 插件内文档路径引用同步更新 ## 测试 - script/ 下 npm test:79/79 通过(覆盖插件组装、多工具安装、打包冒烟全流程) ## 类型标签 - [ ] Bug 修复 - [ ] 新特性 - [ ] 文档更新 - [x] 重构 ## 关联的Issue (无) See merge request: cann/cannbot!37 | 2 months ago | |
feat(hccl-op-generator): 新增集合通信领域算子开发插件 Co-authored-by: cann_wangyq<wangyuqing33@huawei.com> Co-authored-by: gcw_ceFcSOhT<fangmiao2@huawei.com> # message auto-generated for no-merge-commit merge: !124 merge feat/hccl-op-dev-plugin-fix into master feat(hccl-op-generator): 新增集合通信领域算子开发插件 Created-by: cann_wangyq Commit-by: cann_wangyq;gcw_ceFcSOhT Merged-by: cann-robot Description: 新增内容 将 HCCL 标准通信算子开发插件(hccl-op-dev)从 cannbot-hccl 仓迁移至本仓,对应 Skills 贡献至 cannbot-skills 仓的 communication/ 目录。 插件契约(plugins-official/hccl-op-dev/) 文件 说明 plugin-sources.json 声明 14 个 Skill 映射到 vendor/cannbot-skills/communication/ .claude-plugin/plugin.json 插件清单(v1.2.3,依赖 hccl-op-dev-skills) .codex-plugin/plugin.json Codex 插件清单 init.sh 17 行薄适配器,委托统一安装器 AGENTS.md HCCLBot 编排器定义(4 Agent 状态机) Agents(4 个) hccl-architect — 需求、设计和测试计划 hccl-developer — 生产源码和开发日志 hccl-reviewer — 独立检视结论 hccl-verifier — 基线、构建、安装、测试和原始证据 Workflows AICPU 多 Agent 状态机(aicpu-multi-agent-workflow.md) CCU 兼容旧流程(task-prompts.md) 流程策略校验器(workflow_policy.py)+ 产物门禁(validate_aicpu_artifacts.py) 13 个模板文件 + 5 个测试文件 Marketplace 注册 hccl-op-dev-skills(category: skills,git-subdir 指向 cannbot-skills communication/) hccl-op-dev(category: development,依赖 hccl-op-dev-skills) 关键变更 412 行自定义 init.sh → 17 行薄适配器(统一安装器接管安装逻辑) INCLUDED_SKILLS 硬编码白名单 → plugin-sources.json 声明式映射 ../../communication 硬编码路径 → vendor/cannbot-skills submodule 文档 迁移 4 个 HCCL 开发文档至 docs/: hccl-op-dev-adaptation-plan.md(适配方案) hccl-allreduce-fused-dev-summary.md / hccl-allreduce-v2-dev-summary.md(AllReduce 开发总结) agent/hccl-aicpu-multi-agent-refactor.md(多 Agent 重构记录) Closes #13 See merge request: cann/cannbot!124 | 1 month ago | |
refactor: 官方插件目录 plugins 更名为 plugins-official Co-authored-by: jon_jin<jinjiong@hisilicon.com> # message auto-generated for no-merge-commit merge: !37 merge refactor/plugins-official into master refactor: 官方插件目录 plugins 更名为 plugins-official Created-by: jon_jin Commit-by: jon_jin Merged-by: cann-robot Description: ## 描述 将官方插件目录 plugins/ 更名为 plugins-official/,与 cannbot-skills 子仓的 plugins-official/ 命名对齐,并与顶层 plugins-community/(社区插件)形成明确的官方/社区对仗。 ### 改动原因 - 子仓 cannbot-skills 中官方插件目录为 plugins-official/,主仓为 plugins/,两侧命名不一致 - 顶层已有 plugins-community/,plugins/ 无法直观表达"官方插件"语义 ### 改动方法 - git mv plugins plugins-official(114 个文件,100% rename,历史保留) - 同步更新所有指向源码目录的引用: - .claude-plugin/marketplace.json:官方插件 source 指向 ./plugins-official/<name> - script/bin/cannbot.js:源码仓插件发现路径改为 plugins-official - script/lib/plugin-bundle.js:源插件根目录与默认发现列表同步更名(打包产物仍输出 dist/plugins/,安装布局 .cannbot/plugins/ 不变) - 测试 fixture 与断言同步更新:仓库根防泄漏断言由禁止 plugins-official 改为禁止旧目录 plugins - README / docs / 插件内文档路径引用同步更新 ## 测试 - script/ 下 npm test:79/79 通过(覆盖插件组装、多工具安装、打包冒烟全流程) ## 类型标签 - [ ] Bug 修复 - [ ] 新特性 - [ ] 文档更新 - [x] 重构 ## 关联的Issue (无) See merge request: cann/cannbot!37 | 2 months ago | |
feat(installer): 统一 skills 来源选择、自动更新与版本记录 Co-authored-by: xutianze<xutianze2@huawei.com> # message auto-generated for no-merge-commit merge: !122 merge codex/unified-skills-source into master feat(installer): 统一 skills 来源选择、自动更新与版本记录 Created-by: xutianze Commit-by: xutianze Merged-by: cann-robot Description: ## 描述 扩展仓库公共安装组件,统一管理源码工作流依赖的 cannbot-skills 来源和版本。此前源码 init 不能统一完成依赖初始化、版本选择及版本记录;本次改动覆盖统一 CLI 和使用公共 init 入口的工作流。plugins-community 目录没有改动,ascendc-port-orchestrator/init.sh 等独立入口保留原有行为,未接入此次功能。 ### 安装行为 - 通过统一安装器安装声明了 cannbot-skills 依赖的源码插件时,每次默认初始化子模块,从其 origin 获取与 cannbot 当前分支同名分支的最新提交;远端没有该分支时回退到 master,cannbot 为 detached HEAD 时也使用 master。随后切换到解析出的提交并初始化对应嵌套子模块,不会自动更新 cannbot 主仓。远端查询或拉取失败会报错,不会当作分支不存在触发回退。 - 新增统一参数 --skills <SHA|本地路径>:优先识别存在的本地路径,否则按 Git SHA 处理。完整 SHA 可在本地缺失时拉取;短 SHA 必须已存在于本地。显式参数跳过默认分支匹配。 - 本地路径必须指向具有已检出提交的 Git 工作区根目录。直接链接其中声明的 Skills,保留本地未提交修改,不修改 vendor 子模块;许可证也使用所选来源中的版本。 - 公共 init 和安装 CLI 共用同一依赖准备逻辑。兼容现有 skillsRepository 两种声明方式,并保留工作流本地 Skills 和 harness。 - 在统一安装器现有 cannbot-plugin.json 的 source.revisions 中记录 cannbot SHA,以及 cannbot-skills 的选择方式、请求值、实际完整 SHA、dirty 状态和本地来源路径。默认选择使用 selection: "latest-branch",requested 记录实际选中的分支(回退时为 master)。 - 默认或 SHA 模式遇到 vendor 未提交修改时拒绝切换;拉取失败或所选版本缺失声明的 Skill 时明确失败。打包安装和无共享依赖的插件拒绝显式 --skills,不会静默忽略。 示例: bash bash plugins-official/ops-direct-invoke/init.sh project codex /path/to/project bash plugins-official/ops-direct-invoke/init.sh project codex /path/to/project --skills 2d271a6435d95bdeeba61dbe76bea1740d97bbbd bash plugins-official/ops-direct-invoke/init.sh project codex /path/to/project --skills /path/to/cannbot-skills ### 版本记录与兼容性边界 - 本次不更新主仓记录的子模块 gitlink,也不更改打包产物的依赖选择方式。 - 源码安装仍使用软链接;记录的 SHA 是安装时快照,不是内容锁定。本地修改或后续 init 切换同一 vendor 工作区会影响已有链接。需要多版本并存时,应使用独立 checkout 并通过 --skills 指定路径。 - 检视时,主仓 gitlink a25ecb1cda6234d9a95493bf8c913f81b86b55a0 缺少主仓已声明的 community/ops/ops-design-paradigms;skills master 34920ba29ef88355bf9190b526e59970d95f696c 又已将 ops/ascendc-cross-gen-port-light 重命名为 ops/ascendc-cross-gen-migration,与当前跨代移植清单不兼容。上述跨仓版本不匹配未在本 PR 中修改;可以用 --skills 指定兼容提交或本地工作区,缺失 Skill 时安装会明确报错。 ## 关联的Issue 无。 ## 测试 - 在隔离副本中,使用兼容依赖提交 2d271a6435d95bdeeba61dbe76bea1740d97bbbd 执行 cd script && npm test:插件预构建成功,96 项测试全部通过,无失败或跳过。此结果不代表当前主仓 gitlink 或最新 skills master 可通过完整预构建。 - 新增 11 项基于本地 Git 仓的测试,覆盖首次初始化、同名分支及重复更新、分支缺失回退(同名 tag 不算分支)、detached HEAD、远端查询失败、完整/短 SHA、本地路径及 dirty 状态、混合来源链接及许可证、非法参数、拉取失败、嵌套子模块版本切换。 - 既有源码安装与 harness 测试显式使用本地来源,避免默认联网更新造成测试间相互影响;marketplace 断言使用主仓 gitlink,避免误依赖可变的 vendor HEAD。 - JavaScript 语法检查、公共 init 脚本的 Bash 语法检查及 git diff --check 通过;确认 PR 中 plugins-community 无差异。 - 文档调整后执行工作流维护入口 test/ut/test_all.py:5 类共 36 项测试通过;修改文档的本地链接、章节锚点及 QUICKSTART 命令的 Shell 语法检查通过。 ## 文档更新 - script/README.md、script/docs/cannbot-workflows.md:公共参数、默认更新行为、记录字段、失败条件及软链接版本边界。 - plugins-official/ops-direct-invoke/QUICKSTART.md:按普通用户与开发者分流,普通用户在工作区使用 npx,开发者克隆源码运行 init,并提供本地 cannbot-skills 复用命令;只保留最短安装及任务启动路径。 - plugins-official/ops-direct-invoke/README.md:承接完整安装参数、环境要求、SHA 与本地来源、版本记录、软链接边界、定制、恢复及维护回归说明。 - 同步维护资料中的文档分工与引用,明确详细安装规则归 README,快速上手归 QUICKSTART。 ## 类型标签 - [x] ✨ 特性增强 - [x] 🧪 测试用例 - [x] 📝 文档更新 ## 流水线故障排查 若完整预构建报告缺少 Skill,请先核对 cannbot 清单与实际 cannbot-skills 提交是否兼容;本地完整回归使用的依赖提交和当前已知不匹配已在上文列出。 See merge request: cann/cannbot!122 | 1 month ago | |
feat(ops-registry-invoke): generalize design template skill Co-authored-by: zhangzijie<zhangzijie11@hisilicon.com> # message auto-generated for no-merge-commit merge: !55 merge feat/ops-registry-invoke-design-templates into master feat(ops-registry-invoke): generalize design template skill Created-by: zhangzijie Commit-by: zhangzijie Merged-by: cann-robot Description: ## Summary - add a reusable design-template skill with bundled ACLNN operator design templates - remove hard-coded workspace, workflow-install, paradigm-resource, requirement, and performance-artifact paths from templates - make resource locators, output paths, branch locators, thresholds, and missing-fact handling caller-provided - keep plugins-official/ops-registry-invoke/workflows/op-develop.yaml unchanged relative to upstream/master ## Validation - python3 /root/.codex/skills/.system/skill-creator/scripts/quick_validate.py plugins-official/ops-registry-invoke/skills/design-template passes - no diff remains in plugins-official/ops-registry-invoke/workflows/op-develop.yaml against upstream/master See merge request: cann/cannbot!55 | 2 months ago | |
refactor: 官方插件目录 plugins 更名为 plugins-official Co-authored-by: jon_jin<jinjiong@hisilicon.com> # message auto-generated for no-merge-commit merge: !37 merge refactor/plugins-official into master refactor: 官方插件目录 plugins 更名为 plugins-official Created-by: jon_jin Commit-by: jon_jin Merged-by: cann-robot Description: ## 描述 将官方插件目录 plugins/ 更名为 plugins-official/,与 cannbot-skills 子仓的 plugins-official/ 命名对齐,并与顶层 plugins-community/(社区插件)形成明确的官方/社区对仗。 ### 改动原因 - 子仓 cannbot-skills 中官方插件目录为 plugins-official/,主仓为 plugins/,两侧命名不一致 - 顶层已有 plugins-community/,plugins/ 无法直观表达"官方插件"语义 ### 改动方法 - git mv plugins plugins-official(114 个文件,100% rename,历史保留) - 同步更新所有指向源码目录的引用: - .claude-plugin/marketplace.json:官方插件 source 指向 ./plugins-official/<name> - script/bin/cannbot.js:源码仓插件发现路径改为 plugins-official - script/lib/plugin-bundle.js:源插件根目录与默认发现列表同步更名(打包产物仍输出 dist/plugins/,安装布局 .cannbot/plugins/ 不变) - 测试 fixture 与断言同步更新:仓库根防泄漏断言由禁止 plugins-official 改为禁止旧目录 plugins - README / docs / 插件内文档路径引用同步更新 ## 测试 - script/ 下 npm test:79/79 通过(覆盖插件组装、多工具安装、打包冒烟全流程) ## 类型标签 - [ ] Bug 修复 - [ ] 新特性 - [ ] 文档更新 - [x] 重构 ## 关联的Issue (无) See merge request: cann/cannbot!37 | 2 months ago | |
feat(hccl-op-generator): 新增集合通信领域算子开发插件 Co-authored-by: cann_wangyq<wangyuqing33@huawei.com> Co-authored-by: gcw_ceFcSOhT<fangmiao2@huawei.com> # message auto-generated for no-merge-commit merge: !124 merge feat/hccl-op-dev-plugin-fix into master feat(hccl-op-generator): 新增集合通信领域算子开发插件 Created-by: cann_wangyq Commit-by: cann_wangyq;gcw_ceFcSOhT Merged-by: cann-robot Description: 新增内容 将 HCCL 标准通信算子开发插件(hccl-op-dev)从 cannbot-hccl 仓迁移至本仓,对应 Skills 贡献至 cannbot-skills 仓的 communication/ 目录。 插件契约(plugins-official/hccl-op-dev/) 文件 说明 plugin-sources.json 声明 14 个 Skill 映射到 vendor/cannbot-skills/communication/ .claude-plugin/plugin.json 插件清单(v1.2.3,依赖 hccl-op-dev-skills) .codex-plugin/plugin.json Codex 插件清单 init.sh 17 行薄适配器,委托统一安装器 AGENTS.md HCCLBot 编排器定义(4 Agent 状态机) Agents(4 个) hccl-architect — 需求、设计和测试计划 hccl-developer — 生产源码和开发日志 hccl-reviewer — 独立检视结论 hccl-verifier — 基线、构建、安装、测试和原始证据 Workflows AICPU 多 Agent 状态机(aicpu-multi-agent-workflow.md) CCU 兼容旧流程(task-prompts.md) 流程策略校验器(workflow_policy.py)+ 产物门禁(validate_aicpu_artifacts.py) 13 个模板文件 + 5 个测试文件 Marketplace 注册 hccl-op-dev-skills(category: skills,git-subdir 指向 cannbot-skills communication/) hccl-op-dev(category: development,依赖 hccl-op-dev-skills) 关键变更 412 行自定义 init.sh → 17 行薄适配器(统一安装器接管安装逻辑) INCLUDED_SKILLS 硬编码白名单 → plugin-sources.json 声明式映射 ../../communication 硬编码路径 → vendor/cannbot-skills submodule 文档 迁移 4 个 HCCL 开发文档至 docs/: hccl-op-dev-adaptation-plan.md(适配方案) hccl-allreduce-fused-dev-summary.md / hccl-allreduce-v2-dev-summary.md(AllReduce 开发总结) agent/hccl-aicpu-multi-agent-refactor.md(多 Agent 重构记录) Closes #13 See merge request: cann/cannbot!124 | 1 month ago |
CANNBot managed plugins
This directory contains the official CANNBot plugin definitions and non-Skill files:
ops-direct-invokeascendc-st-designmodel-infer-optimizehccl-op-generator
Each plugin declares the Skills it needs in plugin-sources.json. The actual Skill source is maintained in the vendor/cannbot-skills submodule and is not duplicated in this repository.
Each plugin's init.sh creates project Skill symlinks to the submodule. npm --prefix script run build:plugins instead copies the declared Skills into script/dist/plugins/<plugin>/skills/ for a self-contained npm package.
Each init.sh is a thin source adapter for the shared Node installer. Optional dependency repositories are declared in plugin-install.json.
An official plugin's directory name is its plugin id: the directory name and the manifest name must agree, and the bundler rejects a plugin where they do not. Community plugins under plugins-community/ are indexed by their manifest name instead, so their directory name is only a storage location. Each official plugin is assembled with a copy of plugins/LICENSE; a community plugin keeps whatever licence it ships with, and the community root has none.