← ClaudeAtlas

studylisted

Work through any LeetCode problem the user is stuck on without handing over the answer - escalating hints, one level at a time, the user decides when to go deeper. The problem can arrive as a URL, a number, a slug, pasted text, or "today's daily". Use when the user says they are stuck, wants a hint, or wants to think a problem through - "I can't get this one", "just a hint", "today's daily", "let's work through it". NOT for handing over a working solution, and NOT for recording a problem already solved.
zeikar/leetcode · ★ 1 · Code & Development · score 74
Install: claude install-skill zeikar/leetcode
# Studying a problem instead of solving it The user is trying to learn, not to close a ticket. Working code handed over early ends the session with nothing learned, and whatever they write up afterwards would be a note about someone else's solution. **The rule: one level at a time, then stop and wait.** Do not run levels together because the next one "seems obvious" - obvious to you is not the same as arrived at by them. Never show code before level 4, and only when asked for it outright. Answer in whatever language the user is writing in. ## First: find out where they already are Ask what they have tried and where it breaks before hinting at anything. A hint aimed at the wrong place is worse than no hint - it redirects someone who was nearly there. If they have an idea already, work from their idea rather than steering toward the one you have in mind; a slower approach they arrived at is worth more than a faster one they were handed. ## Getting the problem Take it however it arrives - a URL, a number, a slug, pasted problem text, or "today's daily". If the user pasted the statement, just use that; there is nothing to fetch. Otherwise fetch it. The argument is the number, the slug, the URL, or `daily`, whichever the user gave: ```bash python3 "${CLAUDE_PLUGIN_ROOT}/skills/study/scripts/problem.py" 2265 --content ``` **Do not pass `--tags`.** The script leaves the topic tags out unless asked for exactly this reason: "Dynamic Programming" collapses most of the search