Skip to content
Back to skills

Hccl Aicpu Design

ASecurity

基于目标 HCCL 版本的源码和算子契约设计 AICPU 算法的层级改动、数据流、资源与选路方案。触发:新增或修改 AICPU 算法,需要形成设计与 Dataflow Spec 时使用。输出分层方案、Dataflow Spec、支持矩阵及待确认的设计输入。

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 7, 2026
documentationgo

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add hicann/cannbot-skills --skill hccl-aicpu-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hccl Aicpu Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hccl Aicpu Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hicann-hccl-aicpu-design/badge)](https://www.skillsdirectory.com/skills/hicann-hccl-aicpu-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hccl-aicpu-design
description: 基于目标 HCCL 版本的源码和算子契约设计 AICPU 算法的层级改动、数据流、资源与选路方案。触发:新增或修改 AICPU 算法,需要形成设计与 Dataflow Spec 时使用。输出分层方案、Dataflow Spec、支持矩阵及待确认的设计输入。
---

# HCCL AICPU 设计能力

适用于新增或修改 AICPU 算法时的需求澄清、方案选择和数据流规格。本 Skill 的算法设计入口是[通信算法设计](references/08-algorithm-design.md);目标版本的 HCCL 源码和架构文档优先于历史示例。不预设 HCCL 仓路径,调用方须提供已确认的仓根、分支和源码身份。

## 设计检查

1. 固定算子语义、目标拓扑、rank、数据类型、数据量、默认选路影响与功能验收范围。缺少会改变设计或验收的用户决策时,列出输入缺口,不猜测。
2. 按目标源码划分 template、executor、selector、TopoMatch 的实际改动;未受影响层明确标记不改。TopoMatch 优先复用并在已有实现中适配,尽量不新增文件;方案中说明复用对象、必要改动或新增理由,遵循[TopoMatch 复用与适配约束](../hccl-aicpu-best-practice/references/architecture.md#31-复用与适配约束)。注册名、算法身份、资源申请与消费者保持一致。算法形态、阶段、片归属和正确性证明按[通信算法设计](references/08-algorithm-design.md)推导,不照搬历史实现。
3. 新增算法或改变 slice、scratch、同步点、收发模式时,用[Dataflow Spec 记法](references/07-dataflow-spec.md)、[规格模板](dataflow-spec-template.md)和[已核验示例](assets/dataflow-spec.example.md)描述每轮数据的源、目标、偏移、长度和同步;再调用 `scripts/check_spec.py`、`scripts/check_layout.py` 消除语义 TBD,才进入实现。
4. 只显式启用与改变默认选择是两种不同设计。依据目标版本实际 selector 和成本候选链固定影响范围、支持矩阵及验收矩阵;不凭空设阈值或假定某个配置入口存在。
5. 需要可追溯的分支和边界用例时,再加载 `hccl-aicpu-whitebox-design`;不要把用例设计等同于实际测试通过。

输出技术设计应能让实现者和独立检视者复核每一层的必要性、数据流、资源、选路及其源码依据。输出须区分已核验结论、待确认输入和未验证范围。

Files in this skill

  • SKILL.md2.2 KB
  • assets/dataflow-spec.example.md8.7 KB
  • dataflow-spec-template.md21.8 KB
  • evals/evals.json2.3 KB
  • evals/evals.md363 B
  • references/07-dataflow-spec.md11.5 KB
  • references/08-algorithm-design.md4 KB
  • scripts/check_layout.py5 KB
  • scripts/check_spec.py31.8 KB
  • scripts/test_design.py7.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.