lc-show

Fetch LeetCode problem details and generate Rust templates in the problems/ directory.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly access LeetCode problem descriptions and generate a Rust solution template, enabling faster problem comprehension and setup for coding sessions.

Core Features & Use Cases

  • Fetch problem details using the LeetCode CLI and display them to the user.
  • Generate a ready-to-edit Rust template saved under the problems/ directory for the given problem.
  • Streamline LeetCode workflows in local projects by keeping problem data and templates in a predictable structure.

Quick Start

View a problem with leetcode show <problem_id> to read its description, then generate the Rust template with leetcode show <problem_id> -g -l rust so it is saved under the problems/ directory.

Frequently Asked Questions about lc-show

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

FAQPage Schema
How do I generate a Rust template for LeetCode problems?▼

To generate a Rust template for LeetCode problems, use the leetcode CLI with the show command and the generation flag. This fetches the problem description and creates a ready-to-edit Rust template saved under the problems/ directory.

What is the best way to view LeetCode problem details in a local Rust project?▼

Viewing LeetCode problem details in a local Rust project is done by running leetcode show <problem_id>. This fetches and displays the problem description directly in your terminal for quick comprehension.

Does the leetcode CLI need to be installed to show problem details and generate Rust templates?▼

Yes, the leetcode CLI must be installed and available in your environment. The Skill relies on this command-line interface to fetch problem data and generate the corresponding Rust templates in your local directory.

Can I organize generated Rust templates into a specific directory for LeetCode practice?▼

Yes, generated Rust templates are automatically saved into a predictable problems/ directory. This structure streamlines your local LeetCode workflow by keeping problem data and solution templates organized.

How do I fetch a LeetCode problem description and create a Rust file at the same time?▼

Fetch a LeetCode problem description and create a Rust file simultaneously by running leetcode show <problem_id> -g -l rust. This displays the details and generates the template in one step.

Why are my generated LeetCode Rust templates not saving to the correct project directory?▼

Generated LeetCode Rust templates must be relocated to the problems/ directory. Ensure the leetcode CLI has the correct write permissions and the target directory exists before running the generation command.