Back to Skills

backend-test

verified

Generate backend tests (unit, integration, mocks). Auto-invoke when user says "write test for", "add test", "test this", or "create test".

View on GitHub

Marketplace

navigator-marketplace

alekspetrov/navigator

Plugin

navigator

Repository

alekspetrov/navigator
130stars

skills/backend-test/SKILL.md

Last Verified

January 23, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/alekspetrov/navigator/blob/main/skills/backend-test/SKILL.md -a claude-code --skill backend-test

Installation paths:

Claude
.claude/skills/backend-test/
Powered by add-skill CLI

Instructions

# 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

1. Generates test file with describe/it blocks
2. Creates test fixtures
3. Generates mocks for dependencies
4. Includes edge cases
5. 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** 🧪

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
695 chars