pinpoint-testing

Provides a structured testing strategy for the PinPoint project.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/timothyfroehlich/PinPoint-SkillEval --skill pinpoint-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pinpoint-testing
Source: https://github.com/timothyfroehlich/PinPoint-SkillEval/tree/main/.claude/skills/pinpoint-testing
Command: npx skills add https://github.com/timothyfroehlich/PinPoint-SkillEval --skill pinpoint-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured testing strategy and practical patterns for building reliable tests in PinPoint.

Core Features & Use Cases

  • Defines testing pyramid guidance (70% unit, 25% integration, 5% E2E) and patterns for Playwright, Vitest, and PGlite.
  • Explains how to organize tests by type, use cases, and contributor workflows.
  • Use Case: When writing tests, debugging failures, or setting up test infrastructure.

Quick Start

Install and reference the standard project tooling, then run the quick checks:

  • pnpm run check
  • pnpm test
  • pnpm run preflight
  • pnpm run test:integration

Frequently Asked Questions about pinpoint-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I distribute unit, integration, and end-to-end tests for a web project?

A structured testing strategy distributes tests across the pyramid: 70% unit, 25% integration, and 5% end-to-end. This distribution ensures fast feedback, reliable coverage, and maintainable test infrastructure.

What is the best way to organize Playwright and Vitest test files?

Organize test files by type, use cases, and contributor workflows. Separating Playwright end-to-end tests from Vitest unit tests prevents execution conflicts and streamlines debugging when failures occur.

How do I use PGlite in an integration test environment?

Integration testing with PGlite uses worker-scoped patterns to isolate database instances. This approach ensures each test worker manages its own in-memory database, preventing state leakage between concurrent test runs.

Which commands do I run to execute unit and integration tests?

Run unit and integration tests using pnpm test and pnpm run test:integration. Additional checks like pnpm run check and pnpm run preflight validate formatting and build integrity before executing test suites.

Why are my end-to-end tests failing during local setup?

End-to-end test failures often stem from improper test distribution or missing preflight checks. Running pnpm run preflight validates formatting and build integrity, while proper file organization isolates E2E dependencies.