lc-test

Run LeetCode tests on Rust solution files and report failures.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/iQeda/MyRust-NeetCode --skill lc-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lc-test
Source: https://github.com/iQeda/MyRust-NeetCode/tree/main/.claude/skills/lc-test
Command: npx skills add https://github.com/iQeda/MyRust-NeetCode --skill lc-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill tests Rust LeetCode solutions against LeetCode's test cases, enabling quick verification of correctness before submission.

Core Features & Use Cases

  • Run LeetCode tests against a given Rust solution file.
  • Report failing cases with input, expected vs actual output, and failure messages.
  • Integrate with existing project workflows to streamline local verification.

Quick Start

Provide a Rust source file path under problems/ (e.g., problems/1.two-sum.rs) and run the skill to execute tests and display results.

Frequently Asked Questions about lc-test

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

FAQPage Schema
How do I test Rust LeetCode solutions locally against test cases?

To test Rust LeetCode solutions locally, provide a Rust source file path under the problems/ directory, and the Skill uses the leetcode CLI to run tests and report passing or failing results.

What do I need to run automated tests for Rust LeetCode problems?

You need a Rust development environment and the leetcode CLI to run automated tests for Rust LeetCode problems, ensuring your solutions are verified against expected inputs and outputs.

Why are my Rust LeetCode test cases failing or timing out?

Rust LeetCode test cases may fail or time out due to missing files, non-Rust inputs, or exceeding execution limits, which the Skill handles robustly by reporting detailed failure messages.

Can I verify a specific Rust file in the problems directory?

Yes, you can verify a specific Rust file in the problems directory by providing its path, such as problems/1.two-sum.rs, to execute the test cases and display the results.

What is the best way to report failing LeetCode test cases in Rust?

The best way to report failing LeetCode test cases in Rust is to run the Skill, which captures input, expected versus actual output, and failure messages for quick debugging.