Skip to content
Back to skills

Cannbot Dsl Code Reviewer

ASecurity

检视调用方提供的 CANNBotDSL 算子代码,依据真实调用链核查生产执行约束、计算与导出路径,以及命名、魔数和可读性。当用户要求 DSL 代码审查、检视实现或复核 PR 时使用。

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 7, 2026
code-qualitygocode-review

Security analysis

A100/100

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

Scanned November 7, 2026

npx -y skills add hicann/cannbot-skills --skill cannbot-dsl-code-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cannbot Dsl Code Reviewer?

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

Security grade badge for Cannbot Dsl Code Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hicann-cannbot-dsl-code-reviewer/badge)](https://www.skillsdirectory.com/skills/hicann-cannbot-dsl-code-reviewer)

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: cannbot-dsl-code-reviewer
description: "检视调用方提供的 CANNBotDSL 算子代码,依据真实调用链核查生产执行约束、计算与导出路径,以及命名、魔数和可读性。当用户要求 DSL 代码审查、检视实现或复核 PR 时使用。"
metadata:
  category: review
---

# CANNBotDSL 代码检视

## 输入

- 调用方指定的算子源码文件、目录或 PR 差异。
- 可选:算子规格、设计资料、Unit 和测试结果,用于理解代码职责与排除误报。

## 输出

在调用方指定的位置写代码检视报告,分别给出生产执行约束和可读性结论。每项发现包含文件、准确行号、最短必要代码片段、问题、分级、证据与修复建议;没有发现时也给出明确结论。报告格式参考 [报告写法](steps/report-write.md)。

## 检视方法

1. 实际阅读公开入口、helper、注册/适配层、分配、搬运与启动,按 [生产执行约束](references/execution-rules.md) 核查全部生产路径;再按 [可读性规则](references/readability-rules.md) 检查命名、魔数与结构风格。
2. 按 [检视方法](core/methodology.md) 对候选问题检测、核实、判定。每条正反证据都引用真实代码行;缺少证据的候选不判为 FAIL。
3. 报告使用 FAIL、SUSPICIOUS、待确认分级。已证实的生产执行约束违规直接判 FAIL,不参与风格置信度抵扣,也不降为普通建议。执行域或证据不清楚时保留待确认,不能把缺少设备证据标为 PASS。
4. 调用方仅提供上下文或检视意见、无源码可读时(如复核他人结论):给定事实只作分析输入,不计为已核实证据、不参与置信度打分;结论限定为"在给定证据下指控是否成立",并说明仍需实际读相关引用确认职责与一致性,不声称已验证。

本 Skill 提供检视方法与报告内容。调用方安排执行角色、并行和报告路径。

Files in this skill

  • SKILL.md1.9 KB
  • core/methodology.md5 KB
  • evals/evals.json3.1 KB
  • evals/fixtures/readability.py1.2 KB
  • references/execution-rules.md5.9 KB
  • references/readability-rules.md14.3 KB
  • steps/clause-review.md3.5 KB
  • steps/report-write.md3.3 KB
  • workflows/file-review.md2.6 KB
  • workflows/pr-review.md2.1 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 code-quality →

Comments

Loading comments…

Newsletter

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