Claude-skill-registry lc-submit

Submit a Rust solution file to LeetCode (project)

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/lc-submit" ~/.claude/skills/majiayu000-claude-skill-registry-lc-submit && rm -rf "$T"
manifest: skills/data/lc-submit/SKILL.md
source content

LeetCode Submit

Submit a solution file to LeetCode.

Usage

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

Instructions

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