baliaga-repo/vibe-tools/unit-test-generator
Claude Code and agent skill by baliaga-repo/vibe-tools
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Automated guidelines for designing, scaffolding, and executing isolated Python unit tests using pytest and unittest.mock. Focuses on zero-regression verification, mocking heavy dependencies (DaVinci Resolve SDK, FFmpeg, yt-dlp), and token-efficient test creation.
Install
npx vskill@latest install baliaga-repo/vibe-tools/unit-test-generatorSKILL.md
The same SKILL.md was published earlier as baliaga-repo/vibe-tools/unit-test-generator.
Skill: Unit Test Generator
Scaffold and execute fast, isolated Python unit tests for automation pipelines.
Principles
- Strict Mocking: Never require live internet, GUI, or external binaries. Mock heavy SDKs, subprocesses, and network APIs via
unittest.mock(MagicMock,patch) orpytestfixtures (tmp_path,monkeypatch). - Granular & Concise: Scope tests to discrete functions (keep suites < 150 lines).
- Repository Rules: Place tests in
tests/test_<module>.py. Use Indonesian docstrings and comments.
Workflow & Recipes
- Analyze: Identify pure functions vs side-effect boundaries (I/O, subprocess, SDK).
- Scaffold: Create
tests/test_<name>.pycovering happy paths, edge cases, and error fallback. - Mocking Pattern:
- DaVinci Resolve SDK: Patch resolver function, mock
ProjectManager -> CurrentProject -> CurrentTimeline. - Subprocess / CLI: Patch
subprocess.runto returnMagicMock(returncode=0, stdout=...).
- Execution: Run
pytest tests/test_<name>.py -v(orpython -m unittest).
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 repositoryCheckingskills/unit-test-generator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/baliaga-repo/vibe-tools/unit-test-generator)