sketch-design

Describe operator sketches using UnifiedSketch with YAML frontmatter and structured sections.

6|1|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/xchang1121/AutoResearch-CC-hook --skill sketch-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sketch-design
Source: https://github.com/xchang1121/AutoResearch-CC-hook/tree/main/skills/designer/sketch-design
Command: npx skills add https://github.com/xchang1121/AutoResearch-CC-hook --skill sketch-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

此技能提供一种统一的草图设计语言(UnifiedSketch)的规范,使设计者能够用简洁的语言表达算子设计意图并实现到AI辅助实现的落地。

Core Features & Use Cases

  • 支持结构声明、张量声明与常量参数
  • 提供 llm_hint 装饰器用于硬件映射和优化策略
  • 提供详细示例与使用场景,便于设计师与开发者对接
  • Use Case: 定义一个简单的矩阵乘法草图并生成实现步骤
  • 灵活扩展:可对接不同硬件后端并支持自定义模板

Quick Start

Provide a minimal operator sketch example to start designing with UnifiedSketch.

Frequently Asked Questions about sketch-design

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

FAQPage Schema
What is UnifiedSketch and how does it streamline operator design?

UnifiedSketch is a unified design language that describes operator sketches using concise structured text to streamline design-to-implementation. It enforces YAML frontmatter and structured body sections to ensure consistent DSL usage across various hardware and evaluation paths.

How do I define operator sketches for matrix multiplication using a DSL?

You define operator sketches by declaring structures, tensors, and constant parameters within UnifiedSketch syntax. Applying it to a matrix multiplication task involves providing a minimal sketch example to generate sequential implementation steps for AI assistance.

Can I use UnifiedSketch to map operator designs to different hardware backends?

Yes, UnifiedSketch supports mapping operator designs to different hardware backends. It provides an llm_hint decorator specifically for specifying hardware mapping and optimization strategies within your operator design tasks.

Do I need any specific dependencies to start writing UnifiedSketch sketches?

No specific dependencies are required to start writing UnifiedSketch sketches. The skill operates independently, requiring only YAML frontmatter with name and description fields alongside structured body sections to define operator design tasks.

What is the best way to ensure consistent DSL usage across multiple operator design tasks?

The best way to ensure consistent DSL usage is to apply UnifiedSketch specifications across various domains and evaluation paths. It enforces structured sections and YAML frontmatter to maintain uniform operator design intent and implementation.

Are there limitations when using UnifiedSketch for complex operator design tasks?

UnifiedSketch focuses on lean operator sketches and currently supports structured declarations and llm_hint decorators. While it flexibly extends to custom templates, complex logic relies on AI interpretation of the structured design intent rather than direct compilation.