toike08d17012/dev-agent-kit/run-pytest
Claude Code and agent skill by toike08d17012/dev-agent-kit
Trust tier 3
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending
Checking that the SKILL.md file is still in the repository.
Run Python tests and investigate pytest failures through the repository pytest wrapper, preserving requested scope and avoiding redundant verification.
Install
npx vskill@latest install toike08d17012/dev-agent-kit/run-pytestSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as toike08d17012/dev-agent-kit/run-pytest.
Run pytest
Use this skill for pytest execution, failure investigation, and test verification.
Execution
- From the repository root, run
./scripts/pre-commit/pytest.sh [PYTEST_ARGS ...]. Never invokepytest,python -m pytest, or Docker Compose directly for this purpose unless the user explicitly requests another execution method. - Preserve user-supplied targets and options. Do not silently broaden or replace the requested scope.
- The wrapper selects Docker execution on the host and direct execution inside the project container/devcontainer. Do not wrap it again in
./docker/run-docker.sh. - Check the wrapper exists only when needed. If it lacks executable permission, use
bash ./scripts/pre-commit/pytest.sh [PYTEST_ARGS ...]rather than changing repository permissions. - If the wrapper or Docker is unavailable, distinguish the environment failure from a test failure. Do not silently fall back to host pytest.
Verification budget
- Run only the requested or task-relevant tests; do not run the whole suite by default when a narrower check suffices.
- For failures, report failing test nodes and the essential assertion/exception. Investigate the smallest likely cause; do not broaden edits or checks automatically.
- After a fix, rerun the smallest failing node/file first. Return to the originally requested scope when needed to establish that result; expand further only for shared fixtures, public behavior, configuration, or cross-module changes.
- Stop once the necessary scope passes. Repeat a successful run only after relevant code, tests, fixtures, or configuration changes.
- Do not modify code, fixtures, snapshots, or configuration merely to execute a verification request.
Exit status and reporting
- The wrapper maps pytest exit code
5(no tests collected) to success. Report wrapper succeeded; no tests collected, not tests passed. Other nonzero wrapper exit statuses are failures. - Report the exact command, outcome, relevant failures or counts, and next action only if necessary. Keep environment/wrapper failures separate from actual test failures.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-source/skills/run-pytest/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/toike08d17012/dev-agent-kit/run-pytest)