Provides standard templates and writing guidelines for Ascend C operator documentation, including requirements analysis, detailed design, iteration plans, aclnnAPI docs, and operator READMEs.
Ships in ops-direct-invoke-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
本技能提供算子开发文档的写作标准和模板参考,覆盖开发过程文档和用户文档。
| 文档类型 | 模板路径 | 输出位置 |
|---|---|---|
| 需求分析 | requirement-analysis-template.md | operators/{operator_name}/docs/REQUIREMENTS.md |
| 详细设计 | detailed-design-template.md | operators/{operator_name}/docs/DESIGN.md |
| 迭代计划 | iteration-plan-template.md | operators/{operator_name}/docs/PLAN.md |
| aclnnAPI 接口文档 | aclnn-api-doc-template.md | operators/{operator_name}/docs/aclnn{OperatorName}.md |
| 算子 README | operator-readme-template.md | operators/{operator_name}/README.md |
需求分析文档 ──[确认]──▶ 详细设计文档 ──▶ 迭代执行计划
│
├──▶ aclnnAPI 接口文档(数据来源:需求文档的算子规格、API定义、约束部分)
│
└──▶ 算子 README(数据来源:需求文档+设计文档+代码)
REQUIREMENTS.mdDESIGN.mdPLAN.mdaclnn{OperatorName}.md(如 aclnnAdd.md)README.mdevals/evals.json (opens in a new tab)references/aclnn-api-doc-template.md (opens in a new tab)references/detailed-design-template.md (opens in a new tab)references/iteration-plan-template.md (opens in a new tab)references/operator-readme-template.md (opens in a new tab)references/requirement-analysis-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/ascendc-api-best-practicesAscend C API 使用最佳实践。提供算术、归约、数据搬运、Buffer管理、精度转换、通信接口等 API 的正确用法和限制说明。触发:用户询问具体 API 用法(如"DataCopy 怎么用"、"ReadNbi 怎么用")、遇到 API 参数错误或限制报错(如 repeatTimes、对齐问题)、需要查看 API 最佳实践或避坑指南时。/ascendc-blaze-best-practice在 Ascend 950 / DAV_3510 平台上,基于 Blaze/tensor_api 开发 Basic、Batch、Grouped、Quantized、MX 等 MatMul 类算子或相关的融合算子时使用。不适用于纯 Vector 算子或 A2/A3 平台。/ascendc-blaze-migration评估并将 ops-nn、ops-transformer 等仓中 Ascend 950 / DAV_3510 的 AscendC Kernel 分支等价迁移到 ops-tensor Blaze/Tensor API。适用于 CMCT、CGMCT、单体或自定义分层 Kernel,以及 Cube、Vector、MIX、高阶 Matmul、手工 Buffer、数据搬运、自定义调度、VF 和同步路径;在隔离迁移工程中串行完成迁移合同冻结、Blaze 开发、验证资产生成、原始基线、Blaze 验收和双仓本地提交交付。/ops-direct-invoke-skills:ascendc-docs-genfrom ops-direct-invoke-skills
npx claudepluginhub catman626/cannbot-skills --plugin ops-direct-invoke-skillsOther plugins' skills for the same job