.claude/skills/run/SKILL.md
Run TypeScript solution against test cases. Use when user wants to test their code.
npx skillsauth add diana-uk/senior-interview-mentor runInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the user's TypeScript solution against test cases.
File to run: $ARGUMENTS (If empty, look for solution.ts in current directory)
Process:
Test file format expected:
{
"functionName": "twoSum",
"cases": [
{ "input": [[2,7,11,15], 9], "expected": [0,1] },
{ "input": [[3,2,4], 6], "expected": [1,2] }
]
}
Output format:
Running: [functionName]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Test 1: ✓ PASS (0.12ms)
Input: [2,7,11,15], 9
Expected: [0,1]
Got: [0,1]
Test 2: ✗ FAIL (0.08ms)
Input: [3,2,4], 6
Expected: [1,2]
Got: [0,2]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Results: 1/2 passed
Total time: 0.20ms
If tests fail, analyze the failure and offer to help debug. If no test file exists, offer to create one based on the problem.
testing
Quick way to get the next appropriate hint. Automatically advances hint level. Use when you're stuck and need help without specifying hint level.
development
Start solving a LeetCode problem with guided teaching. Use when user wants to learn how to solve a coding problem.
development
Shortcut for /solve - start solving a LeetCode problem with guided teaching
development
Review and score code using a 6-dimension rubric. Use when user shares code for feedback or asks for code review.