rhyolyn/handbag-of-holding/rut
Claude Code and agent skill by rhyolyn/handbag-of-holding
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Short alias for the run-unit-tests skill. Run a Python project's unit tests in a managed .venv — creates the venv if missing, installs all test + pre-commit requirements, runs the full suite and pre-commit, and (with --fix) repairs failures. Use when the user types 'rut' or asks for the quick unit-test run.
Install
npx vskill@latest install rhyolyn/handbag-of-holding/rutSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as rhyolyn/handbag-of-holding/rut.
rut (run-unit-tests, short form)
/rut is the short alias for the run-unit-tests skill. It performs the exact same workflow. If the run-unit-tests skill is available, follow it; otherwise follow the self-contained procedure below.
Invocation / Flags
| Argument | Effect | |
|---|---|---|
| (none) | Set up the venv, install deps, run the full test suite + pre-commit, report results. | |
--target <dir> | Project root to operate in. Default: the current working directory. | |
--fix | As above, but also repair any failing tests and any pre-commit violations, then re-run until clean. | |
--help | Print the usage below and stop. Do not set up or run anything. |
--help output
When invoked with --help, respond with exactly this usage block and do nothing else:
Procedure
Work from the project root. The project root is the --target directory when one is given, otherwise the current working directory.
Step 1 — Create the virtual environment if missing
Checkpoint: python -c "import sys; print(sys.prefix)" prints a path ending in .venv.
Step 2 — Install all test + pre-commit requirements
Checkpoint (all must succeed):
If a requirements file is absent, skip it — do not fail.
Step 3 — Run the full test suite
pytest.ini already enables coverage and writes report.xml / coverage.xml. Run:
Pass criteria: final line is N passed with 0 failed and 0 errors. Skips are fine.
Step 4 — Run pre-commit
Pass criteria: every hook reports Passed (or Skipped). Any Failed hook is a pre-commit error.
Step 5 — Report
Summarize: test count (passed/failed/errors/skipped), pre-commit hook status, and the overall verdict (green / red).
--fix behavior
Only when --fix is present. After Steps 3–4, if there are failures or pre-commit errors:
- Failing tests — read each failure, find the root cause in the source (not the
test), and fix the code. Re-run only the affected test, then the full suite.
- Pre-commit violations — prefer auto-fix first:
``bash python -m pre_commit run --all-files --hook-stage manual ` For anything it cannot auto-fix, edit the offending file by hand. Re-run python -m pre_commit run --all-files` until clean.
- Fix policy — never suppress a violation with
# noqa,# type: ignore, or
config overrides. Fix the code. If a fix is non-obvious or risky, stop and surface it to the user instead of guessing.
- Re-run the whole gate (Steps 3 and 4) after fixes to confirm everything is green.
Commit message (only if --fix changed files)
If, during --fix, you edited or created any file, end your final response with a single-line commit message that is under 80 characters. Do not stage, add, or commit anything — just provide the message for the user to use.
Format: type: concise summary (e.g. fix: guard discovery walk against unreadable dirs). If --fix made no changes, do not emit a commit message.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsecret-agents/docs/migrations/2026-10-13-worky-agent/.retired-worky-tree/skills/rut/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooksconfigConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rhyolyn/handbag-of-holding/rut)