Agent skill

lc-test

Test a Rust solution file against LeetCode's test cases (project)

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/lc-test-majiayu000-claude-skill-regist

SKILL.md

LeetCode Test

Test a solution file against LeetCode's test cases.

Usage

/lc-test <file> - Test the solution file (e.g., problems/1.two-sum.rs)

Instructions

  1. Run leetcode test <file> 2>&1 and show the results to the user
  2. If only problem ID is provided, find the file in problems/ directory

Note: leetcode test may have timeout issues. If it hangs, use leetcode submit directly.

Didn't find tool you were looking for?

Be as detailed as possible for better results