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."