run

Run TypeScript solutions against in-directory test cases with pass/fail results.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/diana-uk/senior-interview-mentor --skill run-diana-uk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run
Source: https://github.com/diana-uk/senior-interview-mentor/tree/main/.claude/skills/run
Command: npx skills add https://github.com/diana-uk/senior-interview-mentor --skill run-diana-uk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates running a user's TypeScript solution against a defined set of test cases to verify correctness and identify failures.

Core Features & Use Cases

  • Locate the solution file in the current directory (defaulting to solution.ts if not specified) and find the corresponding test file in the same directory.
  • Execute the test runner with deterministic output, producing clear PASS/FAIL results and a concise failure trace.
  • Use cases include validating algorithm implementations, debugging edge cases, and quickly iterating on problem solutions.

Quick Start

Run the user's TypeScript solution against the provided test cases in the current folder.

Frequently Asked Questions about run

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

FAQPage Schema
How do I run test cases against my TypeScript solution?

You can validate a TypeScript solution by locating the solution file, matching a test file in the same directory, and executing the test runner to output deterministic pass or fail results.

What is the best way to automate TypeScript testing for algorithm implementations?

Automating TypeScript testing for algorithm implementations involves executing the solution against defined test cases to verify correctness, identify failures, and iterate quickly using deterministic test runner output.

Do I need a specific test file structure to validate my TypeScript solution?

Yes, validating your TypeScript solution requires placing a corresponding test file in the same directory as your solution, which defaults to solution.ts if not explicitly specified.

How does the test runner report failures when validating TypeScript code?

The test runner reports failures by producing deterministic output with clear PASS or FAIL results and providing a concise failure trace to help debug edge cases in your TypeScript code.

Can I specify a custom TypeScript file instead of the default solution.ts?

Yes, you can specify a custom TypeScript file for testing; otherwise, the runner defaults to locating and executing solution.ts in the current directory against its matched test file.