ascendc-operator-testcase-gen

Generate validated test-case design plans for AscendC operators from design.md.

31|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Ascend/agent-skills --skill ascendc-operator-testcase-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascendc-operator-testcase-gen
Source: https://github.com/Ascend/agent-skills/tree/main/skills/ascendc-operator-testcase-gen
Command: npx skills add https://github.com/Ascend/agent-skills --skill ascendc-operator-testcase-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

完成AscendC算子验证用例生成 - 帮助用户完成testcase设计。当用户提到用例设计、泛化用例生成、算子标杆、UT用例、精度用例、性能用例时,使用此skill。

Core Features & Use Cases

  • Design-driven test case generation: 根据ascendc-operator-design的design.md生成验证用例和标杆,供后续代码生成、精度/性能验证使用。
  • 泛化用例扩展: 从给定设计扩展出泛化场景,覆盖更广的数据形状和边界条件。
  • 用例输出模板化: 按模板输出测试用例文档,便于团队复用和自动化集成。

Quick Start

Provide a design.md file to generate a complete test-case design for AscendC operators.

Frequently Asked Questions about ascendc-operator-testcase-gen

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

FAQPage Schema
How do I generate test cases for AscendC operators?

You generate AscendC operator test cases by providing a design.md file, which the system uses to output a validated test-case design plan covering benchmark scenarios, UT-like cases, and accuracy and performance considerations.

What is included in an AscendC operator test case design plan?

An AscendC operator test case design plan includes benchmark scenarios, UT-like cases, generalized test shapes, data types, boundary conditions, and concrete verification steps for both accuracy and performance validation.

How do I design accuracy and performance test cases for custom operators?

You design accuracy and performance test cases for custom operators by feeding the operator design document into the generation process, which outputs concrete guidance for test shapes, data types, and verification steps across typical implementations.

Can I generate generalized test cases from an operator design document?

Yes, you can generate generalized test cases from an operator design document by providing the design.md file, which allows the system to expand the given design into broader scenarios covering wider data shapes and boundary conditions.

Does AscendC test case generation require a specific input format?

AscendC test case generation requires a design.md file as input, which serves as the design-driven foundation for generating validation test cases and benchmarks for subsequent code generation and verification.