Claude-skill-registry backend-test
Generate backend tests (unit, integration, mocks). Auto-invoke when user says "write test for", "add test", "test this", or "create test".
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/backend-test" ~/.claude/skills/majiayu000-claude-skill-registry-backend-test && rm -rf "$T"
manifest:
skills/data/backend-test/SKILL.mdsource content
Backend Test Generator
Generate comprehensive backend tests with Jest/Vitest including fixtures and mocks.
When to Invoke
Auto-invoke when user mentions:
- "Write test for"
- "Add test"
- "Test this"
- "Create test"
- "Test [component/function]"
What This Does
- Generates test file with describe/it blocks
- Creates test fixtures
- Generates mocks for dependencies
- Includes edge cases
- Follows testing best practices
Success Criteria
- Test file generated with proper structure
- Tests cover happy path and error cases
- Mocks isolate unit under test
- Fixtures provide test data
- Tests are runnable and pass
Auto-invoke when writing backend tests 🧪