Testing

SkillAI & models

Gives your agent guidelines for testing apps with Vitest, including unit, integration, AI tests, and LLM eval suites.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Testing skill

About this capability

Guidelines for testing the application with Vitest, including unit tests, integration tests (emulator), AI tests, and eval suites for LLM features

What this skill tells your AI

The instructions your AI receives, as published by elie222/inbox-zero in .claude/skills/testing/SKILL.md and read by ahel’s review.

All testing guidance lives in this directory. Read the relevant file for your task:

TypeFileWhen to use
Unit testsunit.mdFramework setup, mocks, colocated tests
Writing testswrite-tests.mdWhat to test, what to skip, workflow
LLM testsllm.mdTests that call real LLMs (pnpm test-ai)
Eval suiteeval.mdCross-model comparison, LLM-as-judge
Integrationintegration.mdEmulator-backed tests (pnpm test-integration)
Databaseapps/web/__tests__/db/README.mdReal Postgres, for unique constraints and updateMany count guards (pnpm test-db)
E2E testse2e.mdReal email workflow tests from inbox-zero-e2e repo

Prefer behavior-focused assertions; avoid freezing prompt copy or internal call shapes unless those exact values are the contract under test.

Quick Commands

pnpm test path/to/file.test.ts       # Single unit test
pnpm test                            # All unit tests
pnpm test-integration                # Integration tests (emulator)
pnpm test-db                         # Database tests (needs DATABASE_URL on a throwaway db)
pnpm test-ai ai-regression/your-feature  # Live AI regression test
EVAL_MODELS=all pnpm test-ai eval/your-feature  # Eval across models

Signals

GitHub stars
12k
Forks
2k
Last commit
Sep 2026
Hacker News mentions
20
Advanced
Catalog kind
skill
Gateway key
testing-elie222
Source
github.com/elie222/inbox-zero