lint
Run the full code quality pipeline — ruff format, ruff check, mypy, bandit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the full code quality pipeline — ruff format, ruff check, mypy, bandit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Prepare and execute a selectools release — version bump, changelog, docs, git, PyPI
Auto-fill HANDOFF.md with current session state from git, then suggest /clear for a fresh start
Autonomous hunt-and-fix loop for a single selectools module. Finds bugs, auto-applies fixes, writes regression tests, verifies with pytest. Outputs RALPH_RESULT sentinel on the last line so the orchestration script can detect convergence.
End-to-end feature implementation — source, exports, tests, docs, examples, and notebook
Deploy parallel QA agents to hunt for bugs across selectools. Each agent audits a different subsystem. Use for pre-release quality gates or periodic sweeps.
Cross-reference audit for stale counts, broken links, and doc drift across all files
| name | lint |
| description | Run the full code quality pipeline — ruff format, ruff check, mypy, bandit |
| argument-hint | ["check-only"] |
| disable-model-invocation | true |
The repo migrated off black/isort/flake8 to ruff (format + lint) plus mypy
and bandit. These are exactly what the pre-commit hooks and CI enforce, so
matching them here keeps /release from tripping at commit time.
If "$ARGUMENTS" contains "check" or "check-only", run in check mode (no modifications). Otherwise, run in fix mode (auto-format and auto-fix, then verify).
Run these in sequence, stopping on first failure:
ruff check src/ tests/ --fix (lint + autofix; replaces flake8 + isort)ruff format src/ tests/ (format; replaces black)mypy src/bandit -c pyproject.toml -r src/Read-only, no modifications:
ruff check src/ tests/ruff format src/ tests/ --checkmypy src/bandit -c pyproject.toml -r src/# noqa.# type: ignore unless truly unavoidable, and always give it an explicit error code (# type: ignore[code]) plus a comment explaining why.# nosec <ID> and a comment.When all four pass, report: "All clean — ruff check, ruff format, mypy, bandit passed."