# tilelang-developer

tilelang-developer is a Claude Code skill for writing and debugging GPU kernels with TileLang. It helps optimize operators and port kernels across GPU vendors.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 158 repo stars
- Author: yzlnew
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/yzlnew/infra-skills/tree/HEAD/tilelang-developer/SKILL.md
- Updated: 2026-07-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/tilelang-developer

## What it does

The skill guides development of AI compute kernels in TileLang, a Python DSL for GPU programming. It walks through tensor requirements, hardware targets, kernel structure, compute grids, and memory use.

Its examples cover GEMM, FlashAttention, and DeepSeek MLA, with checks against a reference implementation. It also helps diagnose TileLang compilation and runtime errors. For AMD MI300X, the guidance notes a 64KB shared-memory limit and suggests that smaller blocks may be needed.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill tilelang-developer -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/tilelang-developer/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/tilelang-developer/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill tilelang-developer -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/tilelang-developer/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill tilelang-developer -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/tilelang-developer/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install yzlnew/infra-skills tilelang-developer
```

2. **Manually: put the files in place**
- File: `.github/skills/tilelang-developer/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add yzlnew/infra-skills --skill tilelang-developer -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/yzlnew/infra-skills --path tilelang-developer
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/tilelang-developer/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/yzlnew/infra-skills/tree/HEAD/tilelang-developer/SKILL.md

## When to use it
- write a GPU kernel for matrix multiplication or attention
- tune TileLang code for NVIDIA, AMD, or Ascend hardware
- port a compute kernel between GPU platforms
- debug a TileLang compilation or runtime error

## Example prompts
- Write a TileLang matrix multiplication kernel for my GPU.
- Tune this TileLang code for an AMD MI300X.
- Find the cause of this TileLang compilation error.

## Similar
- [tilegym-cutile-autotuning](https://affpapa.org/en/nevibecode/skills/tilegym-cutile-autotuning.md) — skill · 1600 installs
- [tilegym-converting-cutile-to-julia](https://affpapa.org/en/nevibecode/skills/tilegym-converting-cutile-to-julia.md) — skill · 1500 installs
- [triton-lang](https://affpapa.org/en/nevibecode/skills/triton-lang.md) — skill · 358 installs
- [optimize-for-gpu](https://affpapa.org/en/nevibecode/skills/optimize-for-gpu.md) — skill · 2200 installs
- [system-profile](https://affpapa.org/en/nevibecode/skills/system-profile.md) — skill · 527 installs
- [serverless-modal](https://affpapa.org/en/nevibecode/skills/serverless-modal.md) — skill · 515 installs

From the same set: [yzlnew/infra-skills](https://affpapa.org/en/nevibecode/by/yzlnew/infra-skills.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
