AGENT SKILL

create-pr

Use when opening a new pull request for this repository requires the repo's branch, validation, and skill-script checking gates to run before PR creation.

License 许可
Apache-2.0
所属仓库
Piagari/helix
最近更新
2026-07-16
Stars
★ 0
Forks
0

01 前言 Front Matter

name
create-pr
description
Use when opening a new pull request for this repository requires the repo's branch, validation, and skill-script checking gates to run before PR creation.

02 资源文件 2

03 SKILL.md 正文

Create PR

Use this repo-local skill when opening a new PR for this repository. It only adds the repo-specific gates before handing off to $managing-gitcode-prs.

When To Use

  • Opening a new PR for the current repository
  • Enforcing this repo's pre-PR checks and fresh-branch rule

Do not use this skill just to inspect, list, or update an existing PR. Use $managing-gitcode-prs for those tasks.

Required Gates

  • GC_TOKEN must be set before the final PR creation step.
  • A new PR must come from a fresh topic branch. Do not open it from main, master, dev, or another reused branch.
  • Finish with a clean working tree and a pushed branch.
  • Run exactly these checks from the repository root:
uv run --group dev ruff check
uv run pyright
uv run python -m pytest -q --tb=short --no-header -p no:warnings tests/
bash ./scripts/check-skill-scripts.sh

Only run the strict skill-script pyright check on skills/*/scripts/*.py files changed in this branch (diff against origin/main). If the diff produces no matching files, the loop is a no-op. If any required command fails, stop, fix it, and rerun the full set before creating the PR.

PR Description Style

  • Write short, bullet-point key points only. Do not include long prose, verification tables, or redundant summaries.
  • The description should make it clear at a glance what changed and why.

Final Handoff

Use $managing-gitcode-prs for the actual PR creation step. Keep GitCode-specific flags and API details there instead of duplicating them here.

04 同仓库更多 Skills

Piagari
Piagari/helix

triton-npu-repair-guide

Heuristic fixes for Ascend Triton compile/JIT/kernel errors and numerical precision mismatches when editing or converting the operator. Does not replace ascend-npu-gen-test, ascend-npu-gen-bench, or harness specs.

★ 0
Piagari
Piagari/helix

triton-npu-optimize

Iteratively optimize a Triton Ascend NPU operator with correctness and performance gates. Use for operator optimization tasks that need repeated correctness validation, benchmark validation, multi-round experiment tracking, reusable optimization notes, and profiler-backed performance analysis when benchmark results need deeper explanation.

★ 0
Piagari
Piagari/helix

triton-npu-optimize-knowledge

Generic reference-only optimize knowledge for pattern triage and evidence-backed symptom routing. This skill does not define optimize workflow or own round artifacts.

★ 0
Piagari
Piagari/helix

triton-npu-optimize-knowledge-v3

Generic reference-only optimize knowledge (v3 working copy) for pattern triage and evidence-backed symptom routing. This skill does not define optimize workflow or own round artifacts; prefer this tree for ongoing knowledge updates.

★ 0
Piagari
Piagari/helix

triton-npu-optimize-knowledge

Generic reference-only optimize knowledge for pattern triage and evidence-backed symptom routing. This skill does not define optimize workflow or own round artifacts.

★ 0
Piagari
Piagari/helix

triton-npu-convert-pytorch-operator

Convert one PyTorch operator into a Triton NPU-backed PyTorch operator, preserve the trailing input-helper block, and validate the converted output through standalone or differential testing.

★ 0