repo-development
Maintain a gptme checkout: branch policy, style, focused tests, docs, Web UI dev, package validation, and performance guardrails.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- repo-development
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Maintain a gptme checkout: branch policy, style, focused tests, docs, Web UI dev, package validation, and performance guardrails.
- disable-model-invocation
- true
02 资源文件 8
- 参考文档references/contributor-workflows.md3.1 KB
- 参考文档references/testing-and-ci.md4.7 KB
- 参考文档references/troubleshooting.md5.2 KB
- 参考文档references/webui-development.md3.6 KB
- 脚本scripts/check_python_project_health.py10.4 KB
- 脚本scripts/check_release_package_contents.py2.2 KB
- 脚本scripts/check_rst_patterns.py6.4 KB
- 脚本scripts/suggest_focused_tests.py22.9 KB
03 SKILL.md 正文
repo-development
Use this sub-skill when the task is about maintaining a gptme checkout: code style, targeted tests, docs, Web UI development, release/package validation, repository policy, or startup/performance constraints.
This sub-skill assumes commands are run from the target gptme checkout unless a command explicitly says otherwise. It does not operate on the generated skill tree itself.
Route away when the task is mainly about:
- terminal chat usage, prompts, logs, slash commands, or
gptme-agent: usecli-and-conversations. - config files, credentials, provider/model selection, or auth helpers: use
configuration-and-providers. - tools, plugins, hooks, MCP, browser, computer-use, skills, or lessons: use
tools-and-extensibility. gptme-server, REST/SSE, TUI, ACP, deployment, or hosted runtime behavior: useserver-webui-and-protocols.- eval suites, benchmark runs, or leaderboard processing: use
evals-and-benchmarks.
Read first
- references/contributor-workflows.md for branch/commit policy, explicit staging, core-vs-contrib scope, maintainer commands, and release/package guardrails.
- references/testing-and-ci.md for pytest markers, focused test selection, CI command families, and startup/performance checks.
- references/webui-development.md for frontend setup, test commands, bundling, and Web UI gotchas.
- references/troubleshooting.md for safe maintainer troubleshooting across lint, docs, Web UI, packaging, and performance regressions.
Safe helpers
These helpers only inspect local files or built artifacts. They do not run tests, publish releases, or make network calls.
- scripts/suggest_focused_tests.py maps changed paths to focused pytest and Web UI commands.
- scripts/check_python_project_health.py checks
pyproject.toml,poetry.lock, package version, and entrypoint coherence. - scripts/check_rst_patterns.py catches common RST list/blank-line mistakes before a full docs build.
- scripts/check_release_package_contents.py validates built wheel/sdist contents, including the bundled Web UI assets.
Fast operating checklist
- Confirm the task is maintainer work in a target
gptmecheckout. - Follow repo policy: no direct pushes to
master, usefeat/,fix/,docs/, orrefactor/branches, write conventional commits, and stage files explicitly. - Keep changes small and scoped; when in doubt, prefer the
gptmecore /gptme-contribboundary described in the references. - Pick the smallest useful verification set first: focused pytest commands,
cd webui && npm ...commands, or the bundled helper scripts. - Use
make test,make lint,make typecheck,make docs,make check-openapi, and the Web UI npm commands as checkout-maintenance commands for the target repo, not as hidden background actions. - For packaging failures, verify that the built archive contains
gptme/server/webui-dist/before chasing runtime regressions.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).