界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

repo-maintenance

repo-maintenance

【开发与工程】Maintain a BayesianOptimization checkout with safe install, test, lint, docs, CI-matrix, and release-boundary guidance.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: repo-maintenance description: "Maintain a BayesianOptimization checkout with safe install, test, lint, docs, CI-matrix, and release-boundary guidance." disable-model-invocation: true metadata: disco-role: operating license: MIT

Repo Maintenance

Use this sub-skill only when the user is maintaining or editing a bayesian-optimization source checkout. It covers development installs, focused native tests, lint/format decisions, docs/notebook checks, CI matrix expectations, and safe debugging paths.

For package usage questions, route away from maintenance:

Maintainer workflow

  1. Identify touched checkout files and choose the smallest native checks from references/development-workflows.md.
  2. Prefer non-mutating verification first: focused pytest, Ruff format check, and Ruff lint check.
  3. Use scripts/select_native_checks.py to print recommended command groups from touched paths or capability flags. The helper only prints commands; it does not execute them.
  4. Escalate to full unit, notebook, docs, or CI-matrix coverage only when the touched files affect those surfaces or when preparing a broad change.
  5. Use references/troubleshooting.md for Python/NumPy marker conflicts, pre-commit or Ruff failures, notebook timeouts, docs build failures, import confusion, and release/publish limits.

Safety rules

  • Treat commands as checkout-maintenance commands, not runtime user guidance.
  • Do not run scripts/format.sh unless the user explicitly wants formatting or automatic fixes; it mutates source files.
  • Do not use scripts/check_precommit.sh as a routine verification shortcut; it installs hooks before running all files. Prefer direct non-mutating Ruff or pre-commit commands when verification is enough.
  • Never provide credentialed publishing steps. PyPI publishing is release-only and guarded by repository secrets.
我的收藏