← ClaudeAtlas

learnlisted

Appends a one-line lesson to <app>'s project-local .claude/learnings.jsonl and shows how to consult prior entries before repeating similar work.
Facta-Dev/beautifulpython · ★ 0 · Data & Documents · score 75
Install: claude install-skill Facta-Dev/beautifulpython
# <app> learn skill > Reusable workflow for capturing a durable, project-local lesson learned > while working on `<app>`. An agent invokes this skill; the agent supplies > the lesson, the skill supplies the append + consult procedure. ## When to Activate Activate this skill when a session surfaces a lesson worth remembering for `<app>`: a recurring pitfall, a pattern that worked, or a team preference discovered mid-task. Typical triggers: - A bug traced to a root cause that will recur if unrecorded (e.g. a migration shipped with an empty `downgrade()` — no paired rollback). - A workaround that should become the default approach next time. - A stated preference from a reviewer or the requester that should persist beyond this session. Do NOT activate this skill for one-off facts with no future recurrence value, or to record anything resembling a secret, credential, or `<APP>_DATABASE_URL` value — the log is committed to the project and is not a secret store. ## Core Principles - **Append-only.** `.claude/learnings.jsonl` is never rewritten or reordered; each `/learn` invocation adds exactly one line at the end. Never parse-and-rewrite prior lines. - **Consult before you repeat.** Before starting work that resembles a past pitfall class (a migration, an import-boundary edge, an auth flow), grep `.claude/learnings.jsonl` for the relevant `kind` first. - **Deliberately independent of any cross-project runtime.** This log is local to the generated `<app>` proje