Vercel Composition Patterns
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
TileLang Ascend API 使用最佳实践。提供内存分配、数据搬运、矩阵计算、归约、元素级运算、同步、调度原语等 API 的正确用法和最佳实践。触发:使用 TileLang API 编写 Ascend NPU kernel 时或遇到 API 相关问题时。
$ npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-api-best-practices --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/tile-ai/tilelang-ascend.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices .claude/skills/tilelang-api-best-practices && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tilelang-api-best-practices" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices into .claude/skills/tilelang-api-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-api-best-practices", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-api-best-practicesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-api-best-practices --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tile-ai/tilelang-ascend.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices .agents/skills/tilelang-api-best-practices && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tilelang-api-best-practices" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices into .agents/skills/tilelang-api-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-api-best-practices", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-api-best-practices --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tile-ai/tilelang-ascend.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices .cursor/skills/tilelang-api-best-practices && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tilelang-api-best-practices" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices into .cursor/skills/tilelang-api-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-api-best-practices", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/tile-ai/tilelang-ascend.git --path .agents/skills/tilelang-custom-skill/tilelang-api-best-practices--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-api-best-practices --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tile-ai/tilelang-ascend.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices .gemini/skills/tilelang-api-best-practices && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tilelang-api-best-practices" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices into .gemini/skills/tilelang-api-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-api-best-practices", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install tile-ai/tilelang-ascend tilelang-api-best-practicesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/tile-ai/tilelang-ascend.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices .github/skills/tilelang-api-best-practices && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tilelang-api-best-practices" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices into .github/skills/tilelang-api-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-api-best-practices", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-api-best-practices --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tile-ai/tilelang-ascend.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices .opencode/skills/tilelang-api-best-practices && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tilelang-api-best-practices" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-api-best-practices into .opencode/skills/tilelang-api-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-api-best-practices", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tilelang-api-best-practicesTileLang Ascend API 使用最佳实践。提供内存分配、数据搬运、矩阵计算、归约、元素级运算、同步、调度原语等 API 的正确用法和最佳实践。触发:使用 TileLang API 编写 Ascend NPU kernel 时或遇到 API 相关问题时。
Tilelang API Best Practices is an agent skill from tile-ai/tilelang-ascend. TileLang Ascend API 使用最佳实践。提供内存分配、数据搬运、矩阵计算、归约、元素级运算、同步、调度原语等 API 的正确用法和最佳实践。触发:使用 TileLang API 编写 Ascend NPU kernel 时或遇到 API 相关问题时。
Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/api-compute.md`, `references/api-kernel-memory.md` and `references/api-schedule-sync.md`).
It sits in Development. The repository describes itself as: Ascend TileLang adapter. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 83b0ece. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tilelang API Best Practices loads about 697 tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 40 tokens; SKILL.md has 162 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from tile-ai/tilelang-ascend at commit 83b0ece, republished under its MIT licence (© tile-ai). 162 words, ~697 tokens.
.claude/skills/tilelang-api-best-practices/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.| 文档 | 涵盖内容 | 典型场景 |
|---|---|---|
| api-kernel-memory.md | Kernel 定义、JIT/compile_flags、内存分配、数据搬运 | Kernel 编写、编译配置、片上存储管理 |
| api-compute.md | GEMM、归约、tmp arena、Element-wise、Tile 扩展原语 | GEMM、Softmax、逐元素计算、排序、显式 UB 规划 |
| api-schedule-sync.md | 循环(T.serial, T.unroll)、流水线(T.Pipelined)、持久化调度(T.Persistent)、同步(T.set_flag/wait_flag, T.barrier_all, T.set_cross_flag)、调试(T.printf, T.dump_tensor) | 流水线优化、多核均衡、同步、调试 |
| 使用场景 | 相关文档 | 关键技巧 |
|---|---|---|
| GEMM 矩阵乘 | api-compute, api-kernel-memory | 内存层级、layout、init 与模式对应的同步 |
| Softmax/LayerNorm | api-compute | T.reduce_max/sum、T.tile.exp/sub/div |
| 逐元素计算 | api-compute | T.Parallel + 符号 API 或 T.tile.xxx 两种范式 |
| 多 block/core 累加到 GM | api-compute | T.tile.atomic_add(dst_gm, src_local),调用前显式清零 GM |
| CV 融合算子 | api-kernel-memory, api-schedule-sync | Developer/Hybrid 用 threads + passes;Expert 用显式 scope/sync |
| 流水线优化 | api-schedule-sync | T.Pipelined num_stages、核间/核内流水线 |
| 多核负载均衡 | api-schedule-sync | T.Persistent 缓存友好调度 |
| 排序 | api-compute | T.tile.sort → T.tile.merge_sort → T.tile.topk |
| 显式 UB scratch / row-expand | api-compute | 区分通用 tmp arena 与 row-expand 专用布局 |
| JIT 编译选项 | api-kernel-memory | 使用 kernel-scoped compile_flags,不修改进程环境 |
| 手动缓冲复用 | api-schedule-sync | 同时审计 ready 与 free 两个 ownership 方向 |
| Kernel 调试 | api-schedule-sync | T.printf、T.dump_tensor、get_kernel_source() |
| dtype 标量回退适配 | api-compute | 先确认硬件支持;同宽 reinterpret / kernel 内 cast / record-aware DMA / 块 DMA + UB-local fallback;宽 dtype lane 拆分仅作已验证实验 |
docs/ 是公开契约,API 签名和支持范围以该文档及当前源码为准。examples/;文档未覆盖时再查
tilelang/language/ascend.py、ascend_tile.py 和 testing/python/language/。tilelang/language/pto.py。© tile-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in .agents/skills/tilelang-custom-skill/tilelang-api-best-practices of tile-ai/tilelang-ascend.
Open the folder on GitHubat commit 83b0ece
Tilelang API Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tilelang API Best Practices this skilltile-ai/tilelang-ascend | 402 | — | ~697 | Automated safety check: Pass | MIT | |
| Vercel Composition Patternssupabase/supabase | 111k | 58 repos | ~726 | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT |
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
tile-ai/tilelang-ascend
Automatically pull tilelang repository and its third-party code.
tile-ai/tilelang-ascend
How to add debugging capabilities to TileLang Ascend example operators.
tile-ai/tilelang-ascend
将 tilelang example 脚本转换为可在 A5 camodel 仿真器上直接运行的版本。输入脚本路径,输出一个新的 sim.py 文件,不覆盖原始文件。触发:仿真运行、camodel、A5 仿真、sim 模式、转换脚本为仿真、不需要 NPU 跑 kernel、simulate A5。
tile-ai/tilelang-ascend
TileLang-Ascend 环境检查与配置验证技能。检查代码仓库完整性、编译安装状态、环境变量配置,并运行简单测试验证环境。发现问题会自动调用相关 skill 进行修复,并按依赖顺序重新执行后续步骤。触发关键词:"环境检查"、"检查环境"、"验证环境"、"环境配置"、"环境搭建"、"env check"、"check environment"、"verify…
tile-ai/tilelang-ascend
TileLang-Ascend 算子测试设计技能。支持多种场景:(1) 从 design.md 设计测试配置 (2) 从 examples/{op}/.py 补充测试 (3) 手动提供算子信息生成测试 (4) 测试覆盖率分析。理解算子实现逻辑后智能判断测试策略。触发:设计算子测试、生成测试用例、补充测试、测试覆盖率不足。
tile-ai/tilelang-ascend
检查代码格式是否符合 CI 规则。自动检测并安装缺失工具(ruff、clang-format),先运行检查生成报告,使用醒目方式询问用户后,仅在用户同意时执行修复。工作流程:检测环境→自动安装缺失工具→运行检查→生成报告→醒目询问→用户确认→执行修复。使用此技能当:用户要求"格式检查"、"格式化代码"、"代码格式化"、"检查代码格式"、"代码…
Categories
TileLang Ascend API 使用最佳实践。提供内存分配、数据搬运、矩阵计算、归约、元素级运算、同步、调度原语等 API 的正确用法和最佳实践。触发:使用 TileLang API 编写 Ascend NPU kernel 时或遇到 API 相关问题时。. Tilelang API Best Practices is an agent skill from tile-ai/tilelang-ascend.
Tilelang API Best Practices fits situations like: development work in your project.
Run `npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a claude-code`. Or copy the skill folder (.agents/skills/tilelang-custom-skill/tilelang-api-best-practices in tile-ai/tilelang-ascend) into .claude/skills/tilelang-api-best-practices in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a codex`. Or copy the skill folder (.agents/skills/tilelang-custom-skill/tilelang-api-best-practices in tile-ai/tilelang-ascend) into .agents/skills/tilelang-api-best-practices in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tile-ai/tilelang-ascend --skill tilelang-api-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tilelang-api-best-practices, .gemini/skills/tilelang-api-best-practices, .github/skills/tilelang-api-best-practices and .opencode/skills/tilelang-api-best-practices in your project.
SKILL.md names no scripts, command-line tools or credentials: Tilelang API Best Practices is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tilelang API Best Practices is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 697 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Tilelang API Best Practices: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
tile-ai (a GitHub organization) maintains it in tile-ai/tilelang-ascend, which has 402 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 9, 2026.
Source: tile-ai/tilelang-ascend on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.