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
- Identify touched checkout files and choose the smallest native checks from
references/development-workflows.md.
- Prefer non-mutating verification first: focused
pytest, Ruff format check,
and Ruff lint check.
- 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.
- Escalate to full unit, notebook, docs, or CI-matrix coverage only when the
touched files affect those surfaces or when preparing a broad change.
- 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.
1---2name: repo-maintenance-23description: "Maintain a BayesianOptimization checkout with safe install, test,4 lint, docs, CI-matrix, and release-boundary guidance."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/repo-maintenance-28 disco-role: operating9license: MIT10---1112# Repo Maintenance1314Use this sub-skill only when the user is maintaining or editing a15`bayesian-optimization` source checkout. It covers development installs,16focused native tests, lint/format decisions, docs/notebook checks, CI matrix17expectations, and safe debugging paths.1819For package usage questions, route away from maintenance:2021- Optimizer construction, registration/probing, fitting, save/load, or22 prediction workflows: [`../optimizer-workflows/SKILL.md`](../optimizer-workflows/SKILL.md)23- Acquisition-function selection or exploration/exploitation controls:24 [`../acquisition-control/SKILL.md`](../acquisition-control/SKILL.md)25- Constraints, typed parameters, categorical/integer domains, sequential domain26 reduction, or advanced examples:27 [`../advanced-domain-features/SKILL.md`](../advanced-domain-features/SKILL.md)2829## Maintainer workflow30311. Identify touched checkout files and choose the smallest native checks from32 [`references/development-workflows.md`](references/development-workflows.md).332. Prefer non-mutating verification first: focused `pytest`, Ruff format check,34 and Ruff lint check.353. Use [`scripts/select_native_checks.py`](scripts/select_native_checks.py) to36 print recommended command groups from touched paths or capability flags. The37 helper only prints commands; it does not execute them.384. Escalate to full unit, notebook, docs, or CI-matrix coverage only when the39 touched files affect those surfaces or when preparing a broad change.405. Use [`references/troubleshooting.md`](references/troubleshooting.md) for41 Python/NumPy marker conflicts, pre-commit or Ruff failures, notebook timeouts,42 docs build failures, import confusion, and release/publish limits.4344## Safety rules4546- Treat commands as checkout-maintenance commands, not runtime user guidance.47- Do not run `scripts/format.sh` unless the user explicitly wants formatting or48 automatic fixes; it mutates source files.49- Do not use `scripts/check_precommit.sh` as a routine verification shortcut; it50 installs hooks before running all files. Prefer direct non-mutating Ruff or51 pre-commit commands when verification is enough.52- Never provide credentialed publishing steps. PyPI publishing is release-only53 and guarded by repository secrets.