workflow-cp5

Reviews code changes against anti-cheat rules and coding standards to produce a structured inspection report.

Updated Sep 15, 2026
One-click install
npx skills add https://github.com/WangWindow/CANN-BatchMatMulMaxsum --skill workflow-cp5-wangwindow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-cp5
Source: https://github.com/WangWindow/CANN-BatchMatMulMaxsum/tree/main/.agents/skills/workflow-cp5
Command: npx skills add https://github.com/WangWindow/CANN-BatchMatMulMaxsum --skill workflow-cp5-wangwindow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It gives QA reviewers a consistent, criteria-driven way to judge whether all changed files in an Ascend C operator project meet submission quality, catching anti-cheat violations, spec drift, and documentation-code mismatches before evaluation. ## Core Features & Use Cases - Six-dimension inspection: Checks submission anti-cheat red lines (A-class rules A1-A7), coding standards (B-class rules), design consistency with proto.yaml, documentation-code synchronization, potential risks, and dead code cleanup. - Zero-tolerance anti-cheat gating: Flags blocking violations such as PyTorch/torch_npu proxy computation, CPU fallback, built-in operator routing, output caching, profiler tampering, and FakeTensor returns, which zero out the operator score in evaluation submissions. - Structured review report: Produces a pass/fail code review report using the CP5 template, with per-issue severity, file:line location, and documentation-vs-code discrepancy annotations. - Use Case: Before submitting a BatchMatmulMaxSum operator implementation for evaluation, load this skill at the CP5 checkpoint to verify no A-class red lines are violated and all delivered documents match the final code. ## Quick Start Load the workflow-cp5 skill and ask it to review all changed files in the repository against the repo-coding-rules and proto.yaml, then produce the CP5 code review report.

Frequently Asked Questions about workflow-cp5

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a CP5 code review checkpoint?

Load the workflow-cp5 skill and point it at all changed files. It inspects each file across six dimensions, scores the results against thresholds, and outputs a structured pass/fail review report.

What are A-class anti-cheat red lines in operator submission?

A-class rules prohibit proxying computation through PyTorch or torch_npu, routing to built-in same-name operators, CPU fallback, output caching, profiler tampering, and FakeTensor returns. Violating any one in an evaluation submission zeroes the entire operator score.

Does the CP5 review modify code it finds problematic?

No. The skill only inspects and reports. It lists issues with severity, file and line location, and fix suggestions, but never edits code or changes upstream design decisions.

What happens when documentation does not match the code?

Each mismatch is reported as a documentation-versus-code discrepancy, citing what the document claims versus what the code actually does. Deliverables that went through rollback iterations are checked especially closely for stale documentation.

When does a CP5 review fail?

The review fails when any blocking or high-severity issue remains, including any A-class red line violation, or when the composite inspection score falls below the threshold. A fail verdict includes structured, per-issue remediation guidance.