kernel-designer

Design UnifiedSketch DSL algorithm sketches for Triton Ascend kernels.

33|51|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Just-it/AscendOpGenAgent --skill kernel-designer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kernel-designer
Source: https://github.com/Just-it/AscendOpGenAgent/tree/main/skills/kernel-designer
Command: npx skills add https://github.com/Just-it/AscendOpGenAgent --skill kernel-designer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Triton Ascend 算子算法草图设计 Skill — 根据任务描述设计高质量的算法草图(sketch),用于指导后续代码生成。支持首次设计和基于历史上下文的迭代优化。

Core Features & Use Cases

  • Generates UnifiedSketch DSL sketches from op_name, task_desc, arch with fixed backend=ascend, framework=torch, dsl=triton_ascend.
  • Uses knowledge references to inform design patterns and iteratively refine sketches based on history/context.
  • Produces sketches that guide kernel-generator to produce deterministic kernel code in Triton Ascend.

Quick Start

Provide a task description and architecture to generate a UnifiedSketch design that guides subsequent kernel code generation.

Frequently Asked Questions about kernel-designer

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

FAQPage Schema
How do I design algorithm sketches for Triton Ascend kernels?

To design algorithm sketches for Triton Ascend kernels, provide a task description and architecture to generate a UnifiedSketch DSL sketch that guides subsequent deterministic code generation. It applies to KernelBench style models within arch-specific constraints.

What is a UnifiedSketch DSL sketch and when do I need it for Triton Ascend?

A UnifiedSketch DSL sketch is a high-level algorithm design used to guide kernel code generation for Triton Ascend. You need it when you want to produce deterministic kernel code based on fixed configurations like backend=ascend and framework=torch.

Can I iterate and refine an existing Triton Ascend algorithm sketch?

Yes, you can iteratively refine an existing Triton Ascend algorithm sketch by providing history_context and inspirations. The design process uses knowledge references to inform design patterns and optimize the sketch based on this historical context.

Does kernel sketch design work with PyTorch frameworks and Ascend backends?

Yes, kernel sketch design operates with fixed configurations including backend=ascend and framework=torch. It specifically generates UnifiedSketch designs tailored for the Triton Ascend DSL within these architectural constraints.

How do I use the generated sketch to produce actual Triton Ascend kernel code?

The generated UnifiedSketch DSL sketch is consumed by a kernel-generator to produce deterministic Triton Ascend kernel code. You pass the sketch output directly to the kernel-generator to translate the algorithm design into functional code.