Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lc-discussion

БесплатноБез исполняемых скриптовНе проверен

Search recent LeetCode Discuss posts (leetcode.com/discuss/) by keyword — a company, a level, a round — plus Blind and Glassdoor through web-search results…

yennanliuот yennanliu★ 141 звезда на GitHub

Об этом скилле

Recent LeetCode Discuss posts, summarised

Turn the last few weeks of interview write-ups on LeetCode Discuss, Blind and Glassdoor into one doc in 繁體中文: the posts worth reading, the questions that came up more than once, and which of those problems this repo has never practised.

Invocation: /lc-discussion <keywords> [--days N] [--sources lc,blind,glassdoor] — e.g. /lc-discussion google, /lc-discussion google l3 --days 30, /lc-discussion amazon oa --sources lc. All three sources by default; a source left out of --sources is not searched at all — step 1 runs only for lc, and step 2 runs one site's searches only for blind or glassdoor.

Why this exists

leetcode.com/discuss/ renders in the browser, so fetching the page returns an empty shell, and most of what the listing shows is noise: team-matching threads, pay questions, roadmap posts that mention the company name once. In the Oct 2026 Google scan, about 30 of 200 posts described an actual coding question. The useful part is reading those 30 and lining them up against the log. That turned up five problems that had come straight from L3/L4 loops and had never been practised (1235, 3026, 1218, 2812, 1101).

script/lc_discussion.py does the mechanical part. It calls the GraphQL endpoint the page itself uses (no login), keeps only posts that carry every keyword term, fetches the full markdown of the ones you pick, and cross-references LC numbers against README and data/progress.txt offline, using the parsers script/l3_core.py uses.

Blind and Glassdoor are never fetched. Blind's robots.txt disallows ClaudeBot and anthropic-ai site-wide, and Glassdoor answers a script with a 403 bot wall. Both are read through the agent's web search instead: the result titles and URLs, and the search tool's summary of them. snippets shortlists the saved results offline.

Prime directives

  1. First-hand beats aggregated. A post saying "I was asked X" counts. A post saying "the 8 problems Google asks in 2026" is pattern-level, often built from Glassdoor or Blind, and is reported with that caveat. Never treat it as a sighting.
  2. Name or match, never guess silently. An LC number is named when the post links it or writes it. Anything else is a match you inferred from the story (the mouse-and-cat grid → LC 2812), and the doc labels it 相近. A question with no good match is listed as 無對應 LC. Do not force a number onto it.
  3. The log is the record. Every LC number in the doc gets the xref result: the log's latest verdict first, README's status cell beside it. A problem is never described as solid because README says OK.
  4. Summarise, don't republish. Each post gets a link and a one-line digest of the question. Quote a constraint or an example when the question depends on it, never a whole post.
  5. Read-only on the record. This skill writes one file under doc/ws/. It never writes README or data/progress.txt. Drills it suggests are logged with /lc-log.
  6. A search result is not a post. Blind and Glassdoor are seen only as titles, URLs and the search tool's summary. A question taken from that summary cannot be tied to one post, so it is labelled 搜尋摘要, cites every result it could have come from, and never counts as a repeat on its own. An LC number counts as named only when a result's own title names it.

The steps

1. Search

Only when lc is in --sources.

python3 script/lc_discussion.py search google --days 90 --summary
python3 script/lc_discussion.py search google l3 --days 30

Each line gives the date, upvotes, topic id, title and URL. Every keyword term must appear in the title or summary; --loose drops that filter, and --order MOST_RELEVANT ranks by match instead of date. --pages (default 4 × 50) widens the sweep. --json FILE keeps the list for later.

2. Search Blind and Glassdoor (search results only)

Run the Blind searches only when blind is in --sources, and the Glassdoor ones only when glassdoor is. Restrict each to its site, with the same keywords:

WebSearch  query="google l3 interview coding question"  allowed_domains=["teamblind.com"]
WebSearch  query="google software engineer interview questions"  allowed_domains=["glassdoor.com"]

Two or three queries per site is enough; vary the level and the round (phone screen, onsite, OA). Save every result to <scratch dir>/hits.json — never inside the repo — as {"url", "title"}, adding "snippet" only for text tied to that one result and "date" (YYYY-MM-DD) only when the title or URL carries one (...-march-2026-...). Then:

python3 script/lc_discussion.py snippets <scratch dir>/hits.json google l3 --days 30

It keeps results from the three sites only, merges a post found by two searches, applies the every-term filter, drops results date

Полный SKILL.md на GitHub

Установить lc-discussion в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Glob
Grep
Bash
WebSearch

FAQ

Что делает скилл lc-discussion?

Search recent LeetCode Discuss posts (leetcode.com/discuss/) by keyword — a company, a level, a round — plus Blind and Glassdoor through web-search results (never fetched), read the ones that describe real interview questions, map each question to an LC number, check every one against README and the practice log, and write the result as a 繁體中文 summary doc under doc/ws/. Use when asked what a company has been asking lately, to scan LC discuss for interview experiences, to turn recent posts into a drill list, or to summarise discussion threads into a doc. Triggers - "/lc-discussion google", "/lc-discussion meta e4 --days 30", "scan LC discuss for recent Google L3 questions", "what is Amazon asking lately?", "summarise the latest interview posts into a doc", "what is Blind saying about Google L3?".

Как установить скилл lc-discussion?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lc-discussion запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить lc-discussion с