
Comprehensive Unit Testing With Pytest
- 75 installs
- 36 repo stars
- Updated July 14, 2026
- oimiragieo/agent-studio
Helps with testing & qa tasks.
About
comprehensive-unit-testing-with-pytest is a Claude Code skill in the Testing & QA category.
- comprehensive-unit-testing-with-pytest
- Testing & QA
- AI-coding skill
Comprehensive Unit Testing With Pytest by the numbers
- 75 all-time installs (skills.sh)
- +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #1,076 of 2,153 Testing & QA skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oimiragieo/agent-studio --skill comprehensive-unit-testing-with-pytestAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 75 |
|---|---|
| repo stars | ★ 36 |
| Last updated | July 14, 2026 |
| Repository | oimiragieo/agent-studio ↗ |
What it does
Helps with testing & qa tasks.
Files
Comprehensive Unit Testing With Pytest Skill
<identity> You are a coding standards expert specializing in comprehensive unit testing with pytest. You help developers write better code by applying established guidelines and best practices. </identity>
<capabilities>
- Review code for guideline compliance
- Suggest improvements based on best practices
- Explain why certain patterns are preferred
- Help refactor code to meet standards
</capabilities>
<instructions> When reviewing or writing code, apply these guidelines:
- Thorough Unit Testing: Aim for high test coverage (90% or higher) using
pytest. Test both common cases and edge cases.
</instructions>
<examples> Example usage:
User: "Review this code for comprehensive unit testing with pytest compliance"
Agent: [Analyzes code against guidelines and provides specific feedback]</examples>
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.mdAfter completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Invoke the comprehensive-unit-testing-with-pytest skill and follow it exactly as presented to you
'use strict';
/**
* Post-execute hook for comprehensive-unit-testing-with-pytest
* Auto-generated by enterprise-bundle-scaffolder
*
* Records metrics after skill execution.
*/
function postExecute(_context) {
// Record execution metrics
return { ok: true, skill: 'comprehensive-unit-testing-with-pytest' };
}
module.exports = { postExecute };
'use strict';
/**
* Pre-execute hook for comprehensive-unit-testing-with-pytest
* Auto-generated by enterprise-bundle-scaffolder
*
* Validates inputs before skill execution.
*/
function preExecute(context) {
// Validate skill invocation context
if (!context || typeof context !== 'object') {
return {
allow: true,
message: 'comprehensive-unit-testing-with-pytest: no context to validate',
};
}
return { allow: true };
}
module.exports = { preExecute };
comprehensive-unit-testing-with-pytest Research Requirements
Generated: 2026-02-28
Skill Description
Aims for high test coverage using pytest, testing both common and edge cases.
Research Areas
- Current best practices for comprehensive-unit-testing-with-pytest
- Industry standards and tooling
- Integration patterns
Source References
- To be populated by skill-updater research phase
comprehensive-unit-testing-with-pytest Rules
Purpose
Aims for high test coverage using pytest, testing both common and edge cases.
Best Practices
- Follow the guidelines consistently
- Apply rules during code review
- Use as reference when writing new code
Integration Points
See SKILL.md for complete documentation.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "comprehensive-unit-testing-with-pytestInput",
"description": "Input schema for Aims for high test coverage using pytest, testing both common and edge cases.",
"type": "object",
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "Target file or path for the skill to operate on"
},
"options": {
"type": "object",
"description": "Additional options for skill execution",
"additionalProperties": true
}
}
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "comprehensive-unit-testing-with-pytestOutput",
"type": "object",
"additionalProperties": true,
"properties": {
"ok": {
"type": "boolean"
},
"summary": {
"type": "string"
}
}
}
#!/usr/bin/env node
/**
* comprehensive-unit-testing-with-pytest - Rule-based Skill
* Converted from: comprehensive-unit-testing-with-pytest.mdc
*/
const fs = require('fs');
const path = require('path');
// Parse arguments
const args = process.argv.slice(2);
const options = {};
for (let i = 0; i < args.length; i++) {
if (args[i].startsWith('--')) {
const key = args[i].slice(2);
const value = args[i + 1] && !args[i + 1].startsWith('--') ? args[++i] : true;
options[key] = value;
}
}
if (options.help) {
console.log(`
comprehensive-unit-testing-with-pytest - Code Guidelines Skill
Usage:
node main.cjs --check <file> Check a file against guidelines
node main.cjs --list List all guidelines
node main.cjs --help Show this help
Description:
Aims for high test coverage using pytest, testing both common and edge cases.
`);
process.exit(0);
}
if (options.list) {
console.log('Guidelines for comprehensive-unit-testing-with-pytest:');
console.log('See SKILL.md for full guidelines');
process.exit(0);
}
console.log(
'comprehensive-unit-testing-with-pytest skill loaded. Use with Claude for code review.'
);
comprehensive-unit-testing-with-pytest Implementation Template
Goal
- Define target outcome and acceptance criteria.
TDD
1. Red 2. Green 3. Refactor
Verification
- lint
- format
- targeted tests