baliaga-repo/vibe-tools/unit-test-generator

Claude Code and agent skill by baliaga-repo/vibe-tools

Trust tier 2
  • community
LLM review pending
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-generator

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

  1. Strict Mocking: Never require live internet, GUI, or external binaries. Mock heavy SDKs, subprocesses, and network APIs via unittest.mock (MagicMock, patch) or pytest fixtures (tmp_path, monkeypatch).
  2. Granular & Concise: Scope tests to discrete functions (keep suites < 150 lines).
  3. Repository Rules: Place tests in tests/test_<module>.py. Use Indonesian docstrings and comments.

Workflow & Recipes

  1. Analyze: Identify pure functions vs side-effect boundaries (I/O, subprocess, SDK).
  2. Scaffold: Create tests/test_<name>.py covering happy paths, edge cases, and error fallback.
  3. Mocking Pattern:
  • DaVinci Resolve SDK: Patch resolver function, mock ProjectManager -> CurrentProject -> CurrentTimeline.
  • Subprocess / CLI: Patch subprocess.run to return MagicMock(returncode=0, stdout=...).
  1. Execution: Run pytest tests/test_<name>.py -v (or python -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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/baliaga-repo/vibe-tools/unit-test-generator/badge)](https://verified-skill.com/skills/baliaga-repo/vibe-tools/unit-test-generator)

Something wrong with this skill or its page? Tell us.