external-cannbot-ops-ascendc-regbase-best-practice
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "external-cannbot-ops-ascendc-regbase-best-practice" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6c0851c388348cd814af0cfdb941314705d350a9869efa2092055b54b7d229bd. Verify the upstream source and version against https://github.com/ascend-ai-coding/awesome-ascend-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
This skill is used as a best-practice reference when verifying API constraints, implementation structure, troubleshooting common pitfalls, or selecting real reference operators for DAV_3510 RegBase operators.
Introduction source: third_party · ascend-ai-coding · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: external-cannbot-ops-ascendc-regbase-best-practice
description: 当需要为 DAV_3510 RegBase 算子确认 API 约束、实现结构、排查常见陷阱或选择真实参考算子时使用。
original-name: ascendc-regbase-best-practice
synced-from: https://gitcode.com/cann/cannbot-skills
synced-date: '2026-05-26'
synced-commit: ac5bbd2b4cf427d011874e11f8d1e8b1bef66eda
license: UNKNOWNAscend C RegBase 开发
该能力解决 RegBase 路线下的四类问题:API 约束确认、实现结构参考、常见陷阱排查、真实参考算子选择。
reference-ops 子树是轻量参考资产。算子名称或基础类型匹配只表示“值得查看的候选参考”,不能证明目标任务可以直接复用、融合或复制该实现。是否复用必须重新做 RegBase 专项设计判断。
何时使用
满足以下任一条件时使用该能力:
- Architect 在方案决策中把 RegBase 作为候选路线。
- 用户、DESIGN.md 或代码明确出现 RegBase / RegTensor / asc_vf_call / __simd_vf__ 等信号。
- Developer 或 Reviewer 需要确认 RegBase 专属 API、实现结构、陷阱或参考实现。
不要把该能力当成默认算子开发路径的通用替代品。技术路线未决时,由 Architect 完成 SIMD/MemBase 与 RegBase 的方案决策。
阅读入口
- 端到端开发主线:
references/regbase_development_guide.md - API 约束和签名:
references/api/index.md - 陷阱和精度风险:
references/pitfalls/index.md - 工程经验和路线判断:
references/dev-experience/index.md - 真实参考实现:
references/reference-ops/open_source_operator_table.md
按阶段选择
- 方案决策:
references/regbase_development_guide.md、references/dev-experience/index.md - 设计:
references/regbase_development_guide.md、references/api/index.md - 实现:
references/api/index.md、references/dev-experience/regbase_programming_notes.md、references/reference-ops/open_source_operator_table.md - 审查:
references/pitfalls/index.md、references/dev-experience/index.md - 修复和调试:
references/pitfalls/symptom_to_cause.md、references/dev-experience/index.md
进入 api/、pitfalls/ 或 dev-experience/ 后,先读该目录的 index.md,再打开叶子文档。针对一个子问题,最多展开 5 篇叶子文档;仍不够时拆分问题,而不是一次加载整个子树。
约束
- 引用 API 前必须检查 API 白名单、API reference 或官方文档;不要凭函数名猜测。
- 设计伪代码不能直接当作可编译实现;写代码时必须回到真实工程模板和 API 签名。
- 编写新 RegBase 算子前,必须通过
open_source_operator_table.md定位候选目录,并阅读至少一个经确认包含 RegBase 证据的真实实现。 - 看到
RegTensor/MaskReg/asc_vf_call/__simd_vf__等关键词时,优先检查 API 层和 pitfalls 层。 - 架构判断必须显式说明。如果某条经验来自兼容路径而不是主路径
DAV_3510 / RegBase,需要说清楚。
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 DAV_3510 RegBase 算子开发提供专项支持,覆盖 API 约束、实现结构、陷阱排查等核心环节
- 明确区分参考算子候选与可复用性,强调需重新做专项设计判断,避免误用
Highlights
- 触发条件清晰,涵盖 Architect 决策、关键词信号(RegBase/RegTensor/asc_vf_call)等多种场景
- 明确指出不应作为默认算子开发路径的通用替代品,边界定义合理
Highlights
- 文档结构完整,分阶段(方案决策/设计/实现/审查/修复)提供精准文档指引
- 约束条件具体可执行,如 API 白名单检查、真实实现验证等
Highlights
- 所有引用文档路径清晰,形成完整知识链路
- 强调‘不能凭函数名猜测’‘伪代码不能直接编译’等关键风险点,提升执行安全性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- gitcode.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.