run-tests

Run npm test suites and recommend new tests for recent code changes.

1|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/fotescodev/portfolio --skill run-tests-fotescodev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/fotescodev/portfolio/tree/main/.claude/skills/run-tests
Command: npx skills add https://github.com/fotescodev/portfolio --skill run-tests-fotescodev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual process of running tests, analyzing recent code changes, and determining what new tests are needed.

Core Features & Use Cases

  • Test Automation: Execute the full test suite and report results automatically.
  • Coverage Analysis: Identify untested code changes and recommend specific test implementations.

Core Features & Use Cases

  • Use Case: Imagine you've just completed a feature and need to verify everything works correctly. Use this Skill to run tests and get immediate recommendations for maintaining test coverage.

Quick Start

Say "run tests" to execute the test suite and get a report on what new tests should be written for recent changes.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I run tests and check coverage for recent code changes?

Test execution and coverage analysis identifies which parts of your recent changes lack test coverage. Run your test suite using npm scripts, then analyze git diff outputs to map untested modifications and receive recommendations for new test implementations across your TypeScript/JavaScript codebase.

Can I automate test execution and get recommendations for missing tests?

Yes. Automate test suite execution and coverage gap identification by accessing npm test scripts and git diff data. The process analyzes your project's test structure, identifies untested code changes, and recommends specific test implementations needed to maintain coverage.

What do I need to run tests and identify coverage gaps in my JavaScript project?

You need a TypeScript or JavaScript project with npm test scripts configured, git history to compare code changes, and an existing test file structure. The Skill maps test results to your project layout and identifies which modified or added components require new tests.

How does test coverage analysis help identify what tests to write?

Coverage analysis compares your recent code changes against existing tests by examining git diffs and test file mappings. It pinpoints untested or partially tested components, then recommends specific test implementations to close gaps and maintain quality assurance standards.

Does this work with existing test frameworks in TypeScript and JavaScript projects?

Yes, it integrates with projects that use npm run test scripts for test execution. The Skill works with your existing test framework and structure, analyzing results to identify coverage gaps specific to your recent modifications and component changes.

What if test execution fails or coverage reports are incomplete?

Test failure or incomplete coverage reports typically indicate missing test files, broken npm scripts, or inaccessible git diff data. Verify npm test runs successfully independently, check that git history is available, and ensure your test file structure aligns with your project layout.