record-lesson SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
record-lesson from pablodiazjorge/prompt-forge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add pablodiazjorge/prompt-forge/record-lesson@v2.1.0Pins v2.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- pablodiazjorge/prompt-forge
- Path
template/.claude/skills/record-lesson/SKILL.md- Versions recorded
- 3
- Latest version
- v2.1.0, committed Oct 12, 2026
- First version recorded
- Oct 12, 2026
- Size
- 5,196 bytes
- Repository stars
- 2
- License
- MIT
Records a non-obvious failure, workaround, or project quirk as a lesson in knowledge/lessons/ so that teammates' agents do not repeat it. Use at a checkpoint (before committing, before opening a pull request, or when reporting a task as done) after something went wrong in a way another agent would likely repeat, after finding that an entry in knowledge/memory/ is wrong, or when the user says "record a lesson", "save this lesson", or "what did we learn".
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Record a Lesson
A lesson is one non-obvious thing an agent got wrong in this repository, written
so the next agent (yours or a teammate's) gets it right. Lessons are only
candidates. The `curate-lessons` skill promotes the ones that recur into
`knowledge/memory/`, through a pull request that a human reviews.
You write only to `knowledge/lessons/`. Never edit `knowledge/memory/`, any
skill, or `AGENTS.md`.
## 1. Admission test
Record a lesson only if every point holds. Most sessions produce no lesson, and
that is the correct outcome.
- **Non-obvious.** An agent actually got it wrong, or would without being told.
Skip general knowledge ("use `const`", "run the tests first").
- **Verified.** You reproduced the failure and confirmed the fix, or you can
point at a file, doc, or test that proves it.
- **Actionable.** It changes what an agent should do, in one or two sentences.
- **Repeatable.** Someone else working in this repository would plausibly hit it.
- **Not covered.** It is not already in `knowledge/memory/` or a skill, and no
lint rule, test, or CI check already fails with a message that points at the
fix.
…Read the whole file at its exact version.
How to install
mdr add pablodiazjorge/prompt-forge/record-lesson@sha256:b3a1052e5661c270The line at the top of this page pins the label v2.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ew2ipye4mo6e2b3l)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, all committed on Oct 12, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1.0 latest | 2026-10-12 | f0011ba | 5,196 B | A | view · diff |
| v2.0.0 | 2026-10-12 | 9adcef4 | 5,196 B | A | view · diff |
| v2.0.0 | 2026-10-12 | 5d5a3e1 | 5,127 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5196 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
pablodiazjorge/prompt-forge · 2 stars · license MIT · pushed 2026-10-12 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_ew2ipye4mo6e2b3l GET https://markdownregistry.com/api/v1/resolve?ref=pablodiazjorge/prompt-forge/record-lesson GET https://markdownregistry.com/api/v1/blob/b3a1052e5661c270114a6d9a68286f70fbd49220a75881757296a54ccea2ad5e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from pablodiazjorge/prompt-forge
Every file in pablodiazjorge/prompt-forge