submit-onboarding-prs
БесплатноБез исполняемых скриптовНе проверенOpen the per-definition pair of PRs that publishes a model onboarding — PR 2 to the HuggingFace flashinfer-trace dataset (definition + reference test +…
от flashinfer-ai★ 314 звёзд на GitHubОб этом скилле
Submit Onboarding PRs
For each new definition that has reached "ready" state (definition JSON written, workloads collected, baseline eval passing), open two atomic PRs in sequence:
| # | Target repo | Content | Trigger |
|---|---|---|---|
| 2 | flashinfer-ai/flashinfer-trace (HuggingFace) |
definition JSON + reference test + baseline solution + workload JSONL + safetensors blobs + eval traces | after Phase 3 |
| 1 | flashinfer-ai/flashinfer-bench (GitHub) |
docs/model_coverage.mdx update only |
after PR 2 is open (so PR 1 can link to it) |
After the trace-dataset refactor, the local flashinfer_trace/ directory does not exist in
flashinfer-bench; everything trace-related lives in the HuggingFace dataset. PR 1 is
only the coverage-doc update plus a back-link to PR 2.
Rule: one definition = one pair of PRs. Do not batch multiple definitions into one PR — each must be independently reviewable and mergeable.
Usage
# Process all "ready" definitions for a model (per the manifest)
/submit-onboarding-prs --manifest tmp/onboard_qwen3-235b-a22b_20260427.json
# Limit to a specific subset of definitions
/submit-onboarding-prs \
--manifest tmp/onboard_qwen3-235b-a22b_20260427.json \
--definitions gqa_paged_decode_h40_kv8_d128_ps1,gqa_paged_decode_h40_kv8_d128_ps64
# Dry-run: print the worktree plan + PR titles without committing or pushing
/submit-onboarding-prs --manifest ... --dry-run
Parameters
--manifest(required): Path to the onboard-model run manifest. Readsmodel_slug,hf_repo_id,repo_shas, and the per-kernel statuses; writes back thephase4block with PR URLs as it makes progress.--definitions(optional): Comma-separated subset to process. Default: every kernel withphase2_status=doneand (phase3_status=doneORfi_status=fi_missing).--dry-run(optional): Print the worktree layout, agent plan, and PR titles; do not write commits or open PRs.
Prerequisites
ghCLI authenticated forflashinfer-ai/flashinfer-bench(PR 1).huggingface_hubauthenticated forflashinfer-ai/flashinfer-trace(PR 2).- For each definition: definition JSON in
tmp/flashinfer-trace/definitions/{op_type}/, workload JSONL + blobs in the correspondingtmp/flashinfer-trace/workloads/andtmp/flashinfer-trace/blob/workloads/paths, baseline solution undertmp/flashinfer-trace/solutions/baseline/{op_type}/{name}/, and eval traces undertmp/flashinfer-trace/traces/{op_type}/{name}.jsonlwith every entry showingevaluation.status == "PASSED". (fi_missingdefinitions skip workloads/baseline/traces.) pre-commitinstalled (PR 1 must passpre-commit run --all-files).
Phase 4-setup: Create worktrees before spawning agents
For each definition, create two worktrees up front so agents can run in parallel:
DATE=$(date +%Y%m%d)
# Worktree 1: flashinfer-bench (this repo) — for docs/model_coverage.mdx update
git worktree add \
tmp/worktrees/bench-{definition_name} \
-b feat/def-{definition_name}
# Worktree 2: flashinfer-trace (HuggingFace dataset clone) — for definition JSON,
# reference test, baseline solution, workloads, blobs, eval traces
git -C tmp/flashinfer-trace worktree add \
../worktrees/trace-{definition_name} \
-b workloads-${DATE}-{definition_name}
Worktree layout after setup:
flashinfer-bench/
└── tmp/
├── flashinfer-trace/ # main clone (do not commit here directly)
└── worktrees/
├── bench-{def1}/ # isolated branch for def1 model_coverage.mdx update
├── bench-{def2}/ # isolated branch for def2 model_coverage.mdx update
├── trace-{def1}/ # isolated branch for def1 dataset content (HF repo)
└── trace-{def2}/ # isolated branch for def2 dataset content (HF repo)
Phase 4-spawn: One agent per definition, in parallel
Spawn all definition agents simultaneously. Each agent owns its two worktrees and runs
Phase 4a then Phase 4b (below) end-to-end. Write a .claude/TASK.md into each agent's
bench worktree using the TASK.md template and include the two
worktree paths plus the staging paths for the definition JSON, workloads, and blobs. The
agent reports the two PR URLs when done.
Phase 4a: PR 2 — HuggingFace flashinfer-trace
PR 2 is opened first so PR 1 can link to it.
Check first — if a baseline solution already exists in
tmp/flashinfer-trace/solutions/baseline/{op_type}/{definition_name}/, skip creating a new
one and skip running flashinfer-bench run. Include the existing solution files in the PR
commit as-is; do not regenerate eval traces. Only create a new baseline solution and run
eval when no solution exists yet.
Inside tmp/worktrees/trace-{definition_name}/:
# 1. Copy kernel definition JSON (canonical home — only lives in flashinfer-trace now)
cp tmp/flashinfer-trace/definitions/{op_type}/{definition_name}.js
Установить submit-onboarding-prs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл submit-onboarding-prs?
Open the per-definition pair of PRs that publishes a model onboarding — PR 2 to the HuggingFace flashinfer-trace dataset (definition + reference test + baseline solution + workloads + blobs + eval traces) and PR 1 to flashinfer-bench (docs/model_coverage.mdx update only). Use as Phase 4 of /onboard-model.
Как установить скилл submit-onboarding-prs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл submit-onboarding-prs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic