test-specialist

Automate testing planning and debugging for JavaScript/TypeScript applications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Systematic testing and bug-analysis guidance for JavaScript/TypeScript projects to reduce defects and accelerate dependable software delivery.

Core Features & Use Cases

  • Writing unit, integration, and end-to-end tests with clear patterns and examples.
  • Structured bug analysis workflow (Reproduction, Isolation, Root Cause, Fix, Validation) to quickly diagnose and fix issues.
  • Guidance on test coverage measurement, maintenance, and best practices for long-term quality.
  • Reference materials and pattern catalogs to support day-to-day QA activities.

Quick Start

Start by writing a failing unit test for a bug, implement the fix, and run the full test suite.

Frequently Asked Questions about test-specialist

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

FAQPage Schema
How do I write unit and integration tests for JavaScript and TypeScript?

To write unit and integration tests for JavaScript and TypeScript, you can use systematic testing patterns and examples that apply common tools like Jest or Vitest to ensure clear coverage and dependable software delivery.

What is the best way to debug and reproduce bugs in TypeScript applications?

The best way to debug and reproduce bugs in TypeScript applications is following a structured bug analysis workflow: Reproduction, Isolation, Root Cause, Fix, and Validation, which quickly diagnoses issues and validates the implemented fix.

Does this testing guidance work with Jest and Vitest for end-to-end testing?

Yes, this testing guidance works with Jest and Vitest, requiring these common testing tools and patterns to automate systematic end-to-end testing planning and evaluate test coverage for JavaScript and TypeScript applications.

How do I measure and maintain test coverage for JavaScript applications?

You measure and maintain test coverage for JavaScript applications by applying guidance on coverage measurement and best practices, ensuring long-term quality through reference materials and pattern catalogs for day-to-day QA activities.

Why should I use a structured workflow for bug analysis instead of ad-hoc debugging?

A structured bug analysis workflow reduces defects and accelerates dependable software delivery by systematically guiding you through bug reproduction, isolation, root cause identification, and validation, rather than relying on inconsistent ad-hoc debugging.

Can I start systematic testing by writing a failing test for an existing bug?

Yes, you can start systematic testing by writing a failing unit test for an existing bug, implementing the required fix, and then running the full test suite to validate the correction and ensure no regressions.