test-sentinel

Plan, write, and execute Vitest and Playwright tests for Next.js apps.

1|1|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/penghang1223/niannian-workspace --skill test-sentinel-penghang1223
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-sentinel
Source: https://github.com/penghang1223/niannian-workspace/tree/main/test-sentinel
Command: npx skills add https://github.com/penghang1223/niannian-workspace --skill test-sentinel-penghang1223

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writes and runs tests (unit, integration, and E2E), performs linting, and auto-fixes failures to keep code healthy.

Core Features & Use Cases

  • Supports Vitest for unit/integration tests and Playwright for end-to-end tests.
  • Enforces linting passes and auto-fix workflows during development and CI to prevent regressions.
  • Provides a planning protocol to analyze scope, mock dependencies, and generate robust test plans before execution.

Quick Start

Run the test sentinel on your project to generate tests, execute them, and apply fixes.

Frequently Asked Questions about test-sentinel

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

FAQPage Schema
How do I automate test creation and execution for Next.js apps?

Automating test creation and execution for Next.js apps involves planning test scope, writing Vitest unit/integration tests and Playwright E2E tests, executing them, and applying automated fixes to failures.

What is the best way to fix failing tests and enforce linting during CI?

Fixing failing tests and enforcing linting during CI is achieved by running automated workflows that execute tests, validate results with regression checks, and apply auto-fixes to ensure code passes linting.

How do I mock external services when writing integration tests?

To mock external services when writing integration tests, you should use a mandatory planning phase to analyze the test scope, identify dependencies, and generate a robust test plan that mocks external services before execution.

Does this automated testing workflow support both Vitest and Playwright?

Yes, this automated testing workflow supports both Vitest for unit and integration tests, and Playwright for end-to-end tests, allowing comprehensive coverage across different testing levels in Next.js applications.

Why do I need a planning phase before writing and running tests?

A planning phase is required before writing and running tests to analyze the scope, mock dependencies, and generate a robust test plan, ensuring that the tests effectively verify features and prevent regressions.

How to generate test coverage reporting and validate regression checks?

To generate test coverage reporting and validate regression checks, execute your Vitest and Playwright tests through an automated workflow that validates results, enforces linting, and produces coverage reports to prevent regressions.