Command Palette

Search for a command to run...

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

lc-again

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

Move a problem's README status cell after a re-solve — promote AGAIN to OK when it was genuinely re-derived unaided, add a review pass when it was not, or…

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

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

Move a problem's status

Edit the status column of a problem's README row after a re-solve, and refresh data/again_problems.txt.

Invocation: /lc-again <LC number> [verdict] — e.g. /lc-again 128 ok, /lc-again 560. With no verdict, ask how the re-solve actually went before deciding (directive 1).

Why this exists

The status column is currently 325 AGAIN against 124 OK, and doc/lc-readiness-guide.md says why that number cannot be read as a mastery figure:

the AGAIN marker behaves as a permanent review tag rather than a mastery verdict — 125 of 136 hard rows carry it, some after 20+ passes. So the Mastery percentage is a floor, not a measurement.

106 problems are AGAIN after 12 or more passes. Nothing in the repo promotes a row, so the marker only accretes — and script/suggest_review.py reads a high pass count on an AGAIN row as difficulty, not progress, which means a problem you have actually mastered keeps scoring as a gap and keeps being handed back to you.

This skill is the missing half of that loop. It is deliberately hard to get a promotion out of, because a promotion that is given away turns the column into noise in the other direction.

What the cell actually means

The column is free text — 403 distinct spellings across the README — but three pieces are read by tooling and must survive any edit:

Piece Read by Meaning
the word OK / AGAIN suggest_review.py's STATUS_WORD, get_again_problems.sh the verdict
the trailing * run suggest_review.py's passes (status.count("*")), and the readiness guide's cost curve how many review passes the problem has cost
MUST in any casing extract_must_lc.py, suggest_review.py the must-know marker

(n), (not start), and the occasional typo ((not srart)) are the user's own notes. They are preserved verbatim.

AGAIN*** (3)                      three recorded passes, still not solid
OK* (2)                           solid, and it cost two passes to get there
AGAIN (not start)                 never attempted; not a promotion candidate at all
AGAIN*************** (7) (MUST)   LC 128, as it really reads: 15 stars, 7 in the paren,
                                  and a MUST that has to survive the edit

The star run and the (n) frequently disagree — LC 128 above is 15 against 7. Neither is recomputed from the other; both are kept as written.

Prime directives

  1. A promotion is earned, not asked for. The bar is all four of: the user re-derived it unaided, they can state the invariant the solution turns on, they can name the line that sets the complexity, and they handled the edge cases. If the user just says "mark it OK", ask which of those held before doing it. Taking their word once they answer is correct — interrogating them twice is not.
  2. Never erase the pass count. The * run is the cost record, and promoting is not forgetting what it cost. AGAIN*** (3) becomes OK*** (3), never OK. The cost curve in the readiness guide is computed from exactly those stars.
  3. Match the row's own idiom. 403 spellings exist; this is not the commit that standardises them. Change the verdict word, add a star when a pass was spent, and leave the rest of the cell exactly as written — spacing, parens, notes and all.
  4. One row, one cell. Not the tags, not the complexity, not the solution links, and not any other row.
  5. The log is a separate record. A re-solve is also a practice attempt, and that belongs in data/progress.txt via /lc-log. This skill does not write it, and /lc-log does not write the status cell. Say which one the user still needs.

The three moves

The re-solve went Move Example
clean, unaided, all four criteria promote — swap AGAIN → OK, keep the stars and notes AGAIN*** (3) → OK*** (3)
it came back / needed a hint / the idea was there but the code was not another pass — keep AGAIN, add one * AGAIN** → AGAIN***
a previously-OK problem failed demote — OK → AGAIN, keep the stars, add one OK* (2) → AGAIN** (2)

"Another pass" is the default and the most common outcome. A problem that needed one nudge did not graduate.

A row marked (not start) has never been attempted; a first attempt makes it an ordinary AGAIN/OK row, not a promotion.

The steps

1. Find the row and read the cell

grep -n "^| *0*<number> |" README.md

A problem can legitimately have two rows — LC 547 is filed under both DFS and Graph. Check, and edit both, or say which one you edited and why:

grep -cn "^| *0*<number> |" README.md

Read out of the cell, before changing anything: the verdict word, the star count, and whatever notes it carries.

2. Establish what actually ha

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

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

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

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

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

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

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

Read
Glob
Grep
Bash
Write
Edit

FAQ

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

Move a problem's README status cell after a re-solve — promote AGAIN to OK when it was genuinely re-derived unaided, add a review pass when it was not, or demote OK back to AGAIN when a solid problem comes back. Keeps the trailing `*` run, which is the recorded pass count that the cost curve and the review planner both read, and refreshes data/again_problems.txt. Use when asked to mark a problem solid, to graduate an AGAIN marker, to record another failed pass, or to update the status column after drilling something. Triggers - "I finally got 128, mark it OK", "/lc-again 139", "promote 1143 to OK", "560 came back again", "refresh the again list".

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

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

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

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

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

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