gohypergiant avatar

Accelint Ts Testing

Opinionated vitest testing guidance for TypeScript projects that emphasizes what not to do. The skill covers test organization using the AAA pattern, property-based testing with fast-check for roundtrip and idempotence checks, and a test doubles hierarchy (fakes over stubs over mocks). It's notably strict about avoiding loose assertions like toBeTruthy, never mocking your own pure functions, and never testing constants files or library internals. Includes a mandatory type checking step before marking tests complete. Most useful when you're trying to prevent brittle tests or optimize slow suites, though the prescriptive tone won't be for everyone. Worth reviewing if your team keeps hitting flaky test issues.

skills.sh installs
350
GitHub stars
25
last updated
Aug 21, 2026

Install

$ npx -y skills add gohypergiant/agent-skills --skill accelint-ts-testing --agent claude-code

Installs into .claude/skills of the current project.

Files

Vitest Best Practices

Comprehensive patterns for writing maintainable, effective vitest tests. Focused on expert-level guidance for test organization, clarity, and performance.

NEVER Do When Writing Vitest Tests

Sponsors

Details

Repository
github.com/gohypergiant/agent-skills
Categories
Testing & QA, Documentation, AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from gohypergiant/agent-skills

All 14
1secondsky avatarcloudflare-workers-testingsecondsky/claude-skillsComprehensive testing guide for Cloudflare Workers using Vitest and @cloudflare/vitest-pool-workers. Use for test setup, binding mocks (D1/KV/R2/DO), integratio340skills.sh installs
2supabase avatarstudio-testingsupabase/supabaseTesting strategy for Supabase Studio. Use when writing tests, deciding whether a change needs tests and which type, extracting logic from components into testab337skills.sh installs
3thedivergentai avatargodot-testing-patternsthedivergentai/gd-agentic-skillsExpert testing decision trees for GdUnit4: unit vs scene vs CI gates, headless runners, snapshots, and mock networks. Use when choosing test layers, wiring CI, 329skills.sh installs
4patricio0312rev avatarapi-test-suite-generatorpatricio0312rev/skillsGenerates comprehensive API test suites using Jest, Vitest, or Supertest from Express, Next.js, Fastify, or other API routes. Creates integration tests, contrac314skills.sh installs
5davila7 avatartesting-patternsdavila7/claude-code-templatesJest testing patterns, factory functions, mocking strategies, and TDD workflow. Use when writing unit tests, creating test factories, or following TDD red-green306skills.sh installs
6pproenca avatarrails-testingpproenca/dot-skillsRuby on Rails testing best practices for writing effective, maintainable test suites with RSpec. This skill should be used when writing, reviewing, or refactori301skills.sh installs