用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tile-ai/TileOPs --skill bench-op命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | bench-op |
| description | Fix benchmark file to work with the new Op interface. Run benchmark, fix errors, repeat until it produces numbers. |
op_name, source_bench, source_op — passed by align-family orchestrator.
op_name, source_bench, source_opblocked with reason.stateDiagram-v2
[*] --> RUN_BENCH
RUN_BENCH --> DONE: benchmark produces numbers
RUN_BENCH --> FIX_ERROR: runtime error
FIX_ERROR --> RUN_BENCH: benchmark code fixed
FIX_ERROR --> BLOCKED: error is not interface-related
BLOCKED --> [*]: return blocked to orchestrator
DONE --> COMMIT
COMMIT --> [*]
Execute the benchmark file:
python -m pytest <source_bench> -v
If it runs and produces numbers → DONE.
Read the traceback. The error is the signal — typically the benchmark constructs the Op with the old interface (e.g., Op(M, N, dtype) instead of Op(dim, dtype)).
Fix the benchmark construction code to use the new Op interface. This is interactive — fix what breaks, don't predict errors in advance.
If the error is NOT about interface mismatch (e.g., kernel crash, CUDA error) → BLOCKED.
Commit benchmark changes only. Follow docs/design/testing.md benchmark requirements.
Generate or re-align one `src/tileops/manifest/` entry from a reference-API docs URL. Caller provides the manifest key (`op_name`); skill writes that one entry. Idempotent.
Scaffold a new T2 (L1-direct) Op file from a single `src/tileops/manifest/` entry by following the 7-step playbook in docs/design/ops-design.md. Emits the 17 scaffold slots (S1-S7, S12-S21); leaves family-specific protocol variables, optional hooks, and kernel implementations to downstream skills.
Write tests for the target spec using PyTorch as ground truth, verify they fail on current code.
基于 SOC 职业分类