Code Review Checklist
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.
TileLang-Ascend 环境检查与配置验证技能。检查代码仓库完整性、编译安装状态、环境变量配置,并运行简单测试验证环境。发现问题会自动调用相关 skill 进行修复,并按依赖顺序重新执行后续步骤。触发关键词:"环境检查"、"检查环境"、"验证环境"、"环境配置"、"环境搭建"、"env check"、"check environment"、"verify…
$ npx skills add tile-ai/tilelang-ascend --skill tilelang-env-check -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-env-check --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-env-check .claude/skills/tilelang-env-check && 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-env-check" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-env-check into .claude/skills/tilelang-env-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-env-check", 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-env-checkType 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-env-check -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-env-check --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-env-check .agents/skills/tilelang-env-check && 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-env-check" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-env-check into .agents/skills/tilelang-env-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-env-check", 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-env-check -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-env-check --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-env-check .cursor/skills/tilelang-env-check && 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-env-check" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-env-check into .cursor/skills/tilelang-env-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-env-check", 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-env-check--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-env-check -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tile-ai/tilelang-ascend tilelang-env-check --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-env-check .gemini/skills/tilelang-env-check && 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-env-check" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-env-check into .gemini/skills/tilelang-env-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-env-check", 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-env-checkInstalls 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-env-check -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-env-check .github/skills/tilelang-env-check && 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-env-check" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-env-check into .github/skills/tilelang-env-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-env-check", 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-env-check -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-env-check --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-env-check .opencode/skills/tilelang-env-check && 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-env-check" agent skill from https://github.com/tile-ai/tilelang-ascend/tree/ascendc_pto/.agents/skills/tilelang-custom-skill/tilelang-env-check into .opencode/skills/tilelang-env-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tilelang-env-check", 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-env-checkTileLang-Ascend 环境检查与配置验证技能。检查代码仓库完整性、编译安装状态、环境变量配置,并运行简单测试验证环境。发现问题会自动调用相关 skill 进行修复,并按依赖顺序重新执行后续步骤。触发关键词:"环境检查"、"检查环境"、"验证环境"、"环境配置"、"环境搭建"、"env check"、"check environment"、"verify…
Tilelang Env Check is an agent skill from tile-ai/tilelang-ascend. TileLang-Ascend 环境检查与配置验证技能。检查代码仓库完整性、编译安装状态、环境变量配置,并运行简单测试验证环境。发现问题会自动调用相关 skill 进行修复,并按依赖顺序重新执行后续步骤。触发关键词:"环境检查"、"检查环境"、"验证环境"、"环境配置"、"环境搭建"、"env check"、"check environment"、"verify environment"、"setup environment"。
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/check_env.sh` and `scripts/quick_verify.py`).
It sits in Development. It works with Python. 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.
Ships 2 files in scripts/ (Shell and Python), which the agent can run.
Shell commands in SKILL.md call:
bashgitpippip3pythonpython3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, pip and pip3, which can reach the network depending on how they are called.
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 Env Check loads about 3.4k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 725 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); the scripts in this folder are not scanned.
The full file from tile-ai/tilelang-ascend at commit 83b0ece, republished under its MIT licence (© tile-ai). 725 words, ~3,422 tokens.
.claude/skills/tilelang-env-check/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.本技能用于验证 TileLang-Ascend 开发环境是否正确配置。包括:
重要特性:
前置检查说明:步骤 0-1 为前置检查,只检查不修复,检查完成后统一告知用户结果,然后继续后续检查流程。
当用户提到以下关键词时触发:
| 检查项 | 最低版本要求 | 说明 |
|---|---|---|
| torch | >= 2.6.0 | PyTorch 基础库 |
| torch_npu | >= 2.6.0 | 昇腾 NPU 支持 |
| CANN | >= 8.3 | 昇腾计算架构 |
环境配置三步骤之间存在严格的依赖关系:
子模块完整 ──→ 编译成功 ──→ 环境变量设置关键规则:
| 问题场景 | 需要执行的操作 |
|---|---|
| 子模块缺失 | ① 拉取子模块 → ② 重新编译 → ③ 设置环境变量 |
| 无编译产物(子模块完整) | ① 编译 → ② 设置环境变量 |
| 环境变量未设置 | 设置环境变量 |
重要:如果子模块缺失,即使之前存在编译产物,也必须重新编译,因为旧产物是基于不完整代码生成的。
当检查发现问题时,AI agent 应主动执行以下修复操作,并按依赖顺序执行:
| 问题类型 | 自动修复动作 | 后续必须操作 |
|---|---|---|
| 子模块不完整 | 调用 tilelang-submodule-pull skill | 必须重新编译 + 设置环境变量 |
| 编译产物不存在 | 执行 bash install_ascend.sh | 必须设置环境变量 |
| 环境变量未设置 | 执行 source set_env.sh | 无 |
重要:修复前必须告知用户问题存在,修复后再告知用户已修复。
检查 torch 和 torch_npu 包是否已安装且版本满足要求:
# 检查 torch 和 torch_npu 版本
pip list 2>/dev/null | grep -E "^torch\s|^torch_npu\s" || pip3 list 2>/dev/null | grep -E "^torch\s|^torch_npu\s"检查逻辑:
版本比较方法: 使用 Python 进行版本比较:
python3 -c "
import re
def check_version(pkg_line, min_ver):
match = re.search(r'(\d+\.\d+\.\d+)', pkg_line)
if match:
ver = match.group(1)
parts = [int(x) for x in ver.split('.')]
min_parts = [int(x) for x in min_ver.split('.')]
return ver, parts >= min_parts[:len(parts)]
return None, False
torch_line = 'torch 2.5.0' # 示例
torch_npu_line = 'torch_npu 2.5.0' # 示例
torch_ver, torch_ok = check_version(torch_line, '2.6.0')
torch_npu_ver, torch_npu_ok = check_version(torch_npu_line, '2.6.0')
if not torch_ok:
print(f'torch 版本过低: {torch_ver}')
if not torch_npu_ok:
print(f'torch_npu 版本过低: {torch_npu_ver}')
"重要:此检查只报告结果,不自动修复。检查完成后继续下一步。
检查 ASCEND_HOME_PATH 环境变量是否设置且版本满足要求:
# 检查 ASCEND_HOME_PATH 和版本
if [ -n "$ASCEND_HOME_PATH" ]; then
echo "ASCEND_HOME_PATH: $ASCEND_HOME_PATH"
# 从路径中提取版本号(如 cann-8.5.0)
cann_ver=$(echo "$ASCEND_HOME_PATH" | grep -oP 'cann-\d+\.\d+' | sed 's/cann-//')
echo "CANN 版本: $cann_ver"
else
echo "ASCEND_HOME_PATH 未设置"
fi检查逻辑:
版本提取方法:
CANN 版本通常从 ASCEND_HOME_PATH 路径中提取,如 /home/user/Ascend/cann-8.5.0 中的 8.5。
重要:此检查只报告结果,不自动修复。检查完成后继续下一步。
在完成前置步骤 0 和 1 后,AI agent 应汇总结果告知用户:
========================================
前置环境检查结果
========================================
[Python 包] torch: ✓ 已安装 (版本 X.X.X) / ✗ 未安装 / ✗ 版本过低 (X.X.X < 2.6.0)
[Python 包] torch_npu: ✓ 已安装 (版本 X.X.X) / ✗ 未安装 / ✗ 版本过低 (X.X.X < 2.6.0)
[CANN 环境] ASCEND_HOME_PATH: ✓ 已设置 (版本 X.X) / ✗ 未设置 / ✗ 版本过低 (X.X < 8.3)
========================================如果前置检查全部通过,告知用户 "前置环境检查通过,继续后续检查..."; 如果前置检查存在问题,告知用户具体问题项,然后询问用户是否继续后续检查。
检查以下内容:
git submodule status 检查完整性)# 检查主仓库
git status
# 检查子模块完整性(推荐方式)
git submodule status
# 输出格式说明:
# <commit-hash> <path> - 正常,子模块完整
# -<commit-hash> <path> - 未初始化,需要拉取
# +<commit-hash> <path> - commit 与索引不一致,可能下载不完整
# (空) - 子模块不存在完整性检测逻辑:
git submodule status 获取状态前缀- 前缀:未初始化+ 前缀:commit 不一致,下载不完整问题提示要求: 如果子模块不完整,必须先告知用户问题存在:
✗ 发现问题:子模块不完整,正在自动修复...然后执行修复流程,修复完成后告知用户:
✓ 问题已修复:子模块已完整拉取如果子模块不完整,AI agent 应执行以下操作序列:
tilelang-submodule-pull skill 拉取子模块:skill(name="tilelang-submodule-pull")bash install_ascend.shsource set_env.sh检查以下内容:
build/ 目录是否存在# 检查 build 目录
ls -la build/
# 检查编译产物(根据实际情况调整)
ls -la build/*.so 2>/dev/null || echo "No .so files found"问题提示要求: 如果编译产物不存在,必须先告知用户问题存在:
✗ 发现问题:编译产物不存在,正在自动修复...然后执行修复流程,修复完成后告知用户:
✓ 问题已修复:编译产物已生成如果检查失败,AI agent 应执行以下操作序列:
bash install_ascend.shsource set_env.sh检查以下环境变量:
TL_ROOT:TileLang 根目录PYTHONPATH:Python 路径ACL_OP_INIT_MODE:ACL 操作初始化模式echo "TL_ROOT: $TL_ROOT"
echo "PYTHONPATH: $PYTHONPATH"
echo "ACL_OP_INIT_MODE: $ACL_OP_INIT_MODE"问题提示要求: 如果环境变量未设置,必须先告知用户问题存在:
✗ 发现问题:环境变量未设置,正在自动修复...然后执行修复流程,修复完成后告知用户:
✓ 问题已修复:环境变量已设置如果检查失败,AI agent 应执行环境设置:
source set_env.sh| 文件 | 路径 | 说明 |
|---|---|---|
| 环境检查脚本 | .agents/skills/tilelang-custom-skill/tilelang-env-check/scripts/check_env.sh | 主检查脚本 |
| 快速验证脚本 | .agents/skills/tilelang-custom-skill/tilelang-env-check/scripts/quick_verify.py | 最小化TileLang测试脚本 |
执行简单测试验证环境是否可用:
source set_env.sh
python .agents/skills/tilelang-custom-skill/tilelang-env-check/scripts/quick_verify.py测试失败处理:直接执行子模块修复流程(调用 tilelang-submodule-pull → 编译 → 设置环境变量 → 测试),跳过重新检查。
bash .agents/skills/tilelang-custom-skill/tilelang-env-check/scripts/check_env.sh当用户请求环境检查时,AI agent 应:
脚本会输出详细的检查结果,格式如下:
========================================
TileLang-Ascend 环境检查
========================================
[前置] 检查 Python 包依赖...
✓ torch 已安装 (版本 2.7.1 >= 2.6.0)
✓ torch_npu 已安装 (版本 2.7.1 >= 2.6.0)
[前置] 检查 CANN 环境变量...
✓ ASCEND_HOME_PATH 已设置 (CANN 版本 8.5 >= 8.3)
[1/4] 检查代码仓库完整性...
✓ Git 仓库存在
✓ 子模块 tvm 存在
✓ 子模块 cutlass 存在
✓ 所有子模块完整
[2/4] 检查编译安装状态...
✓ build 目录存在
✓ 编译产物存在
[3/4] 检查环境变量...
✓ TL_ROOT 已设置
✓ PYTHONPATH 已设置
✓ ACL_OP_INIT_MODE 已设置
========================================
✓ 环境检查通过!所有配置正确。
========================================发现问题时的输出格式:
========================================
TileLang-Ascend 环境检查
========================================
[前置] 检查 Python 包依赖...
✓ torch 已安装 (版本 2.7.1 >= 2.6.0)
✓ torch_npu 已安装 (版本 2.7.1 >= 2.6.0)
[前置] 检查 CANN 环境变量...
✓ ASCEND_HOME_PATH 已设置 (CANN 版本 8.5 >= 8.3)
[1/4] 检查代码仓库完整性...
✓ Git 仓库存在
✗ 发现问题:子模块不完整,正在自动修复...
[执行 tilelang-submodule-pull skill]
✓ 问题已修复:子模块已完整拉取
[2/4] 检查编译安装状态...
✗ 发现问题:编译产物不存在,正在自动修复...
[执行 bash install_ascend.sh]
✓ 问题已修复:编译产物已生成
[3/4] 检查环境变量...
✗ 发现问题:环境变量未设置,正在自动修复...
[执行 source set_env.sh]
✓ 问题已修复:环境变量已设置
========================================
✓ 环境检查通过!所有配置已修复完成。
========================================开始
↓
[前置0] 检查 Python 包依赖 (torch + torch_npu >= 2.6.0)
├─ 缺失/版本过低 → 告知用户问题,询问是否继续
└─ 正常 → 继续
↓
[前置1] 检查 CANN 环境变量 (ASCEND_HOME_PATH, CANN >= 8.3)
├─ 未设置/版本过低 → 告知用户问题,询问是否继续
└─ 正常 → 继续
↓
[前置结果汇总] 告知用户前置检查结果
↓
[2] 检查代码仓库完整性
├─ 失败 → 告知用户问题 → 执行子模块修复流程 [A] → 告知用户修复结果
│
└─ 成功 → 继续
↓
[3] 检查编译安装状态
├─ 失败 → 告知用户问题 → 执行编译修复流程 [B] → 告知用户修复结果
│
└─ 成功 → 继续
↓
[4] 检查环境变量
├─ 失败 → 告知用户问题 → 执行 source set_env.sh → 告知用户修复结果 → 继续 [5]
└─ 成功 → 继续
↓
[5] 运行测试验证
├─ 成功 → ✓ 环境正确,告知用户
│
└─ 失败 → 告知用户问题 → 执行子模块修复流程 [A](跳过检查,直接修复)→ 告知用户修复结果
↓
结束
[A] 子模块修复流程(测试失败时直接执行此流程):
告知用户问题 → 调用 tilelang-submodule-pull → 编译 → 设置环境变量 → 测试 → 告知用户修复结果
[B] 编译修复流程:
告知用户问题 → bash install_ascend.sh → 设置环境变量 → 测试 → 告知用户修复结果关键逻辑:
当触发此 skill 时,AI agent 应按以下步骤执行:
使用 Bash 工具检查 torch 和 torch_npu:
pip list 2>/dev/null | grep -E "^torch\s|^torch_npu\s" || pip3 list 2>/dev/null | grep -E "^torch\s|^torch_npu\s"结果处理:
重要:此检查只报告结果,不自动修复。
使用 Bash 工具检查 ASCEND_HOME_PATH:
echo "ASCEND_HOME_PATH: $ASCEND_HOME_PATH"
# 从路径中提取版本号
echo "$ASCEND_HOME_PATH" | grep -oP 'cann-\d+\.\d+' | sed 's/cann-//'结果处理:
重要:此检查只报告结果,不自动修复。
汇总步骤 0 和 1 的结果,告知用户:
========================================
前置环境检查结果
========================================
[Python 包] torch: ✓ 已安装 (版本 X.X.X) / ✗ 未安装 / ✗ 版本过低 (X.X.X < 2.6.0)
[Python 包] torch_npu: ✓ 已安装 (版本 X.X.X) / ✗ 未安装 / ✗ 版本过低 (X.X.X < 2.6.0)
[CANN 环境] ASCEND_HOME_PATH: ✓ 已设置 (版本 X.X) / ✗ 未设置 / ✗ 版本过低 (X.X < 8.3)
========================================如果前置检查存在问题,询问用户是否继续后续检查。
使用 Bash 工具运行检查脚本:
bash .agents/skills/tilelang-custom-skill/tilelang-env-check/scripts/check_env.sh根据检查脚本的输出结果:
场景 A:子模块不完整
如果显示 "✗ 子模块不完整":
tilelang-submodule-pullbash install_ascend.sh(即使之前有编译产物)source set_env.sh场景 B:编译产物不存在(子模块完整)
如果显示 build 目录不存在或编译产物不存在,但子模块完整:
bash install_ascend.shsource set_env.sh场景 C:环境变量未设置
如果仅显示环境变量未设置:
source set_env.sh场景 D:所有检查通过
直接跳转到 步骤 4 运行测试验证。
执行简单测试脚本验证环境是否真正可用:
source set_env.sh
python .agents/skills/tilelang-custom-skill/tilelang-env-check/scripts/quick_verify.py测试结果处理:
| 测试结果 | 处理动作 |
|---|---|
| ✓ TileLang 环境验证通过! | 告知用户 "环境已正确配置,可以开始使用" |
| 测试失败 | 告知用户问题存在,然后执行子模块修复流程,跳过重新检查 |
测试失败时的处理流程:
tilelang-submodule-pull skill 拉取子模块bash install_ascend.shsource set_env.sh重要:测试失败时,不要重新检查代码仓库完整性,直接执行子模块修复流程,这样可以确保环境肯定正确。
tilelang-error-fixer skill 进行诊断处理方式:只报告结果,不自动修复。告知用户:
处理方式:只报告结果,不自动修复。告知用户:
处理方式:
tilelang-submodule-pull skill处理方式:
bash install_ascend.shtilelang-error-fixer skill 诊断处理方式:
source set_env.sh处理方式:
tilelang-submodule-pull skill 拉取子模块bash install_ascend.shsource set_env.sh注意:测试失败时,不需要重新检查代码仓库完整性,直接执行修复流程即可确保环境正确。
source set_env.sh)tilelang-submodule-pull:自动拉取代码和子模块(子模块缺失时调用)tilelang-debug-helper:调试帮助tilelang-error-fixer:错误诊断与修复(测试失败时调用)© 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 2 other files (scripts) in .agents/skills/tilelang-custom-skill/tilelang-env-check of tile-ai/tilelang-ascend.
Open the folder on GitHubat commit 83b0ece
Tilelang Env Check 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 Env Check this skilltile-ai/tilelang-ascend | 403 | — | ~3.4k | Automated safety check: Pass | MIT | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Minimizing Ty Ecosystem Changesastral-sh/ruff | 50k | — | ~4.6k | Automated safety check: Pass | MIT | |
| Merge Dependabot PRsonyx-dot-app/onyx | 32k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Summarise Ecosystem Resultsastral-sh/ruff | 50k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Senior Architect Toolkitmaslennikov-ig/claude-code-orchestrator-kit | 260 | 8 repos | ~1.2k | Automated safety check: Notes | Custom licence |
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.
astral-sh/ruff
A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…
onyx-dot-app/onyx
Triages and lands a batch of open Dependabot PRs in the Onyx repo, where main is gated exclusively by GitHub's merge queue: approves and enqueues green PRs, closes superseded duplicates, fixes…
astral-sh/ruff
A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…
maslennikov-ig/claude-code-orchestrator-kit
Comprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin…
kedro-org/kedro
Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or…
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 算子测试设计技能。支持多种场景:(1) 从 design.md 设计测试配置 (2) 从 examples/{op}/.py 补充测试 (3) 手动提供算子信息生成测试 (4) 测试覆盖率分析。理解算子实现逻辑后智能判断测试策略。触发:设计算子测试、生成测试用例、补充测试、测试覆盖率不足。
tile-ai/tilelang-ascend
检查代码格式是否符合 CI 规则。自动检测并安装缺失工具(ruff、clang-format),先运行检查生成报告,使用醒目方式询问用户后,仅在用户同意时执行修复。工作流程:检测环境→自动安装缺失工具→运行检查→生成报告→醒目询问→用户确认→执行修复。使用此技能当:用户要求"格式检查"、"格式化代码"、"代码格式化"、"检查代码格式"、"代码…
tile-ai/tilelang-ascend
基于设计文档生成 TileLang-Ascend 算子实现代码与测试。从 design.md 中提取关键信息,结合 examples/ 中的参考实现生成可运行代码。触发:实现算子、写 kernel、生成代码、算子编码、根据设计文档实现。
Works with
Categories
TileLang-Ascend 环境检查与配置验证技能。检查代码仓库完整性、编译安装状态、环境变量配置,并运行简单测试验证环境。发现问题会自动调用相关 skill 进行修复,并按依赖顺序重新执行后续步骤。触发关键词:"环境检查"、"检查环境"、"验证环境"、"环境配置"、"环境搭建"、"env check"、"check environment"、"verify…. Tilelang Env Check is an agent skill from tile-ai/tilelang-ascend.
Tilelang Env Check fits situations like: development work in your project.
Run `npx skills add tile-ai/tilelang-ascend --skill tilelang-env-check -a claude-code`. Or copy the skill folder (.agents/skills/tilelang-custom-skill/tilelang-env-check in tile-ai/tilelang-ascend) into .claude/skills/tilelang-env-check in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tile-ai/tilelang-ascend --skill tilelang-env-check -a codex`. Or copy the skill folder (.agents/skills/tilelang-custom-skill/tilelang-env-check in tile-ai/tilelang-ascend) into .agents/skills/tilelang-env-check 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-env-check -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-env-check, .gemini/skills/tilelang-env-check, .github/skills/tilelang-env-check and .opencode/skills/tilelang-env-check in your project.
Going by SKILL.md and its folder, Tilelang Env Check needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (bash, git, pip, pip3, python and python3). Our summary lists: Python 3; A Bash shell.
SKILL.md contains no URLs. Its commands use git and pip, which can reach the network depending on how they are called. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Tilelang Env Check is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tilelang Env Check: Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Minimizing Ty Ecosystem Changes (astral-sh/ruff, 50k stars), Merge Dependabot PRs (onyx-dot-app/onyx, 32k stars) and Summarise Ecosystem Results (astral-sh/ruff, 50k 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 403 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.