draft-tests

Community

Automate pytest test generation, streamline code review.

Authorqvidal01
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Skill unit "draft-tests" solves the problem of manual pytest test generation by automating the creation of test cases using a local Ollama server, reducing the time spent on repetitive tasks and enhancing code review efficiency.

Core Features & Use Cases

  • Automated Test Drafting: Generates pytest test cases for specific modules based on code analysis.
  • Code Review Efficiency: Allows Claude to focus on reviewing and improving the generated test cases, rather than on creating them from scratch.
  • Use Case: When working on a module, use the /draft-tests command to generate tests, then Claude reviews and commits them, ensuring high-quality test coverage.

Quick Start

Run the /draft-tests command followed by the module path, such as: /draft-tests sentinel-core/app/services/compliance/scoring.py

Dependency Matrix

Required Modules

pytest

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: draft-tests
Download link: https://github.com/qvidal01/claude-code-skills/archive/main.zip#draft-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.