ascendc-ut-develop

Automate end-to-end UT development for Ascend C operators.

11|51|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/hw-native-sys/pypto-lib --skill ascendc-ut-develop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascendc-ut-develop
Source: https://github.com/hw-native-sys/pypto-lib/tree/main/.claude/skills/cannbot-skills/ascendc-ut-develop
Command: npx skills add https://github.com/hw-native-sys/pypto-lib --skill ascendc-ut-develop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ascend C operator UT development and coverage enhancement are streamlined by providing a structured workflow that guides users through discovery, test generation, and verification, reducing manual boilerplate and increasing confidence in operator correctness.

Core Features & Use Cases

  • Guided UT workflow for op_host, op_api, and op_kernel, including automated information collection, test scaffolding, and validation.
  • Coverage augmentation guidance with baseline collection, iterative test design, and final reporting to reach target coverage.
  • Clear references to UT workflows and templates to standardize testing across operators.

Quick Start

Follow the four-step UT development workflow to create and validate unit tests for Ascend C operators.

Frequently Asked Questions about ascendc-ut-develop

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

FAQPage Schema
How do I automate Ascend C operator UT development for op_host and op_kernel?

Ascend C operator UT development is automated using a structured workflow that guides information collection, test scaffolding, and validation for op_host, op_api, and op_kernel tests to reduce manual boilerplate.

What is the best way to increase unit test coverage for Ascend C operators?

Unit test coverage for Ascend C operators is increased through baseline collection, iterative test design, and final reporting, guiding the process from UT-1 to UT-6 to reach target coverage goals.

How does the guided UT workflow handle test scaffolding and execution for Ascend C operators?

The guided UT workflow handles test scaffolding and execution by interpreting skill guidance to generate repeatable UT artifacts, providing compile commands and validation across host, API, and kernel tests.

Can I use this workflow to standardize unit testing across different Ascend C operators?

Yes, you can standardize unit testing across Ascend C operators because the workflow references established UT templates and documents to ensure consistent test design and coverage augmentation.

What steps are required to start unit test generation for Ascend C operators?

Starting unit test generation requires following a four-step workflow that automates information gathering, test design, and verification to create and validate unit tests for Ascend C operators.

Do I need to manually write compile commands for Ascend C operator unit tests?

No, you do not need to manually write compile commands because the workflow satisfies compile command requirements by interpreting guidance and generating repeatable UT artifacts automatically.