← Back to list

lc-show
by iQeda
⭐ 0🍴 0📅 Jan 6, 2026
SKILL.md
name: lc-show description: Show LeetCode problem details and generate Rust template (project)
LeetCode Show
Show problem details and generate Rust template in problems/ directory.
Usage
/lc-show <problem_id> - Show problem and generate Rust code template
Instructions
- Run
leetcode show <problem_id> 2>/dev/nullto display the problem description - Show the problem details to the user
- Run
leetcode show <problem_id> -g -l rust 2>/dev/nullto generate the Rust template - Move the generated file to
problems/directory:mv <problem_id>.<problem-name>.rs problems/ - Tell the user the file is ready at
problems/<problem_id>.<problem-name>.rs
File Format
use std::collections::HashMap; // if needed
impl Solution {
pub fn function_name(...) -> ... {
// implementation
}
}
Note: struct Solution; は含めない(LeetCode側で定義されるため)。rust-analyzer用には build.rs が lib.rs 経由で提供する。
Commands
- Test:
leetcode test problems/<file>.rs - Submit:
leetcode submit problems/<file>.rs
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon