Command Palette

Search for a command to run...

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

lc-log

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

Append today's practice session to data/progress.txt — the daily log that is the only source for the review plan. Writes the day's line in the log's own shape…

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

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

Log a practice session

Append one day to data/progress.txt — the hand-written practice log that site/build-review-plan.js compiles into the review plan's data on every build. It is the only copy. Nothing else in the repo records that a problem was practised, so a line this skill writes badly is a day that quietly leaves the schedule.

Invocation: /lc-log <what you practised> — e.g. /lc-log 23 ok, 24 again!!, 25. With no argument, ask what was practised today; do not invent a session.

Prime directives

  1. Never invent an attempt. Only what the user actually says they practised goes in. Not what they were "supposed to" do, not the carried-over todo bucket's contents as though they were attempted, not a problem filed by /lc-python or /lc-java in the same session. Filing a solution is not practising it.
  2. A number must start its own comma-chunk, or it is silently lost. This is the format's sharpest edge and it has already cost this log 93 attempts — see The two shapes that lose data.
  3. The annotation is the whole signal. again beats ok when a note says both, and the bang count sorts. Copy the user's own wording; do not normalise again!! down to again.
  4. Never downgrade or rewrite a previous day. The log is an append-only record of what happened. A problem that went badly on Tuesday still went badly on Tuesday.
  5. Run the gate before reporting done. A line the parser misreads produces no error — it produces a smaller schedule. Step 5 is not optional.

The format, as the parser actually reads it

One physical line per day, newest first at the top of the file, separated by two blank lines:

20260921: top 100 like(dp):, 32(ok), 300 | LCA:, 236(again!!) | others:, 354(2D LIS) |
Piece Rule
YYYYMMDD: must be a real calendar date — an impossible one is warned about and the whole day is dropped
| groups the day into sessions. Cosmetic to the parser (it becomes a comma), structural to the reader
, the real separator. A . also splits, but that is typo-tolerance, not a convention — write commas
123(note) the annotation. Commas and nested parens inside it are safe: 70(ok*, o(1) space!!) is one entry
topo_sort, weekly_331 named drills. Parsed and ignored — they have no LC number to schedule, which is fine and intended
a line starting --- a separator that ends the current day. Do not write one mid-session

The annotation vocabulary, in the order the classifier tries it — again, then todo, then ok:

Written Classified Why it matters
141(ok) ok graduated this pass
994(ok*) ok the * is the user's own shading, carried through as the note
128(again!!!) again, emphasis 3 bangs are counted anywhere in the note and sort it above a bare again
44(again !!) again, emphasis 2 spaces inside the note are fine
139(ok, but again) again again is checked first, on purpose
79(todo) todo intended, not attempted — still records the intent
300 none practised, no verdict given. Legitimate; do not invent one

The two shapes that lose data

Both are already in the log, both parse without a single warning, and both are the reason this skill exists rather than a habit.

A number sharing a chunk with its bucket label

Each comma-chunk used to have to start with the digits. A chunk that starts with a label looked exactly like a named drill to the site's parser, so until Sep 2026 it was dropped whole — taking the number with it:

20260920: top 100 like(linked list):  23, 24(again!!!), 25 | ...
                                      ^^ LC 23 was dropped. 24 and 25 survived.

93 attempts across the log sit in a chunk shaped like that. The two readers of the log used to disagree about them — script/suggest_review.py strips the label first (_strip_label), and site/build-review-plan.js did not until Sep 2026, when it gained the same stripLabel because the roadmap stamps its done state from what that parser reads. Both read the chunk now; a reader that does not exist yet will not, so the shape is still avoided.

The fix is one character — end the label with a comma so the number starts its own chunk, which no reader has to be taught:

20260920: top 100 like(linked list):, 23, 24(again!!!), 25 | ...

That is the shape this skill writes. It reads identically to a human and parses losslessly.

A number written after its description

^(\d+) matches the first digits in the chunk, so a description that itself starts with a digit hands the parser the wrong number. Neither reader recovers this one:

2D LIS (354)      ->  logged as LC 2, note "D LIS" discarded.   16 entries in the log do this.
354(2D LIS)       ->  logged as LC 354, note "2D LIS".          correct.

Rule: **the LC n

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

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

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

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

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

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

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

Read
Glob
Grep
Bash
Write
Edit

FAQ

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

Append today's practice session to data/progress.txt — the daily log that is the only source for the review plan. Writes the day's line in the log's own shape (the YYYYMMDD date, the bucket labels, the `|` session separators), carries forward the buckets still open from yesterday, and gets the annotations right, because `again` / `again!!!` / `ok` / `ok*` / `todo` are what the whole spaced-repetition schedule keys on. Use when asked to log practice, record what was solved today, update the progress file, or mark a problem as done or still shaky. Triggers - "log today's practice", "/lc-log 23 ok, 24 again!!", "record that I did 141 and 142 clean", "update progress".

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

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

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

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

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

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