install
source · Clone the upstream repo
git clone https://github.com/vstorm-co/pydantic-deepagents
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/vstorm-co/pydantic-deepagents "$T" && mkdir -p ~/.claude/skills && cp -r "$T/apps/cli/skills/test-writer" ~/.claude/skills/vstorm-co-pydantic-deepagents-test-writer && rm -rf "$T"
manifest:
apps/cli/skills/test-writer/SKILL.mdsource content
Test Writer
Generate comprehensive tests for the target code.
Process
- Read the source code to understand all public functions/methods
- Identify the testing framework already used in the project (pytest, unittest, etc.)
- Follow existing test patterns and conventions in the project
- Write tests covering all categories below
Coverage Strategy
Happy Path
- Normal inputs with expected outputs
- All public methods/functions
Edge Cases
- Empty inputs (empty string, empty list, None)
- Boundary values (0, -1, max int)
- Single element collections
Error Cases
- Invalid input types
- Missing required arguments
- Network/IO failures (mock external calls)
Integration
- Multiple functions working together
- State changes across calls
Guidelines
- One test function per behavior, not per method
- Descriptive test names:
test_<what>_<condition>_<expected> - Use fixtures for shared setup
- Mock external dependencies (APIs, databases, filesystem)
- Assert specific values, not just truthiness
- Test both return values and side effects