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.

Install it, pinned
mdr add pablodiazjorge/prompt-forge/record-lesson@v2.1.0

Pins 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

The exact contents, by fingerprint
mdr add pablodiazjorge/prompt-forge/record-lesson@sha256:b3a1052e5661c270

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ew2ipye4mo6e2b3l.svg)](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.

versioncommittedcommitsizeaudit
v2.1.0 latest2026-10-12 f0011ba 5,196 BA view · diff
v2.0.02026-10-12 9adcef4 5,196 BA view · diff
v2.0.02026-10-12 5d5a3e1 5,127 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md AGENTS.md file
pablodiazjorge/prompt-forge · AGENTS.md
git:20261012.e45bca6 · audit A · 2 stars
CLAUDE.md CLAUDE.md file
pablodiazjorge/prompt-forge · CLAUDE.md
git:20261012.e45bca6 · audit B · 2 stars
curate-lessons SKILL.md skill
pablodiazjorge/prompt-forge · template/.agents/skills/curate-lessons/SKILL.md · Reviews every lesson in knowledge/lessons/, merges duplicates, rejects unsafe or trivial ones, promotes lessons seen by…
v2.1.0 · audit B · 2 stars
git-workflow SKILL.md skill
pablodiazjorge/prompt-forge · template/.agents/skills/git-workflow/SKILL.md · Non-interactive git usage and commit conventions for AI coding agents. Use when staging changes, committing, writing…
v2.1.0 · audit A · 2 stars
powershell-patterns SKILL.md skill
pablodiazjorge/prompt-forge · template/.agents/skills/powershell-patterns/SKILL.md · Pitfalls and safe patterns for running commands and writing scripts in Windows PowerShell 5.1 and PowerShell 7.x. Use…
v2.1.0 · audit A · 2 stars
record-lesson SKILL.md skill
pablodiazjorge/prompt-forge · template/.agents/skills/record-lesson/SKILL.md · Records a non-obvious failure, workaround, or project quirk as a lesson in knowledge/lessons/ so that teammates' agents…
v2.1.0 · audit A · 2 stars
curate-lessons SKILL.md skill
pablodiazjorge/prompt-forge · template/.claude/skills/curate-lessons/SKILL.md · Reviews every lesson in knowledge/lessons/, merges duplicates, rejects unsafe or trivial ones, promotes lessons seen by…
v2.1.0 · audit B · 2 stars
git-workflow SKILL.md skill
pablodiazjorge/prompt-forge · template/.claude/skills/git-workflow/SKILL.md · Non-interactive git usage and commit conventions for AI coding agents. Use when staging changes, committing, writing…
v2.1.0 · audit A · 2 stars
powershell-patterns SKILL.md skill
pablodiazjorge/prompt-forge · template/.claude/skills/powershell-patterns/SKILL.md · Pitfalls and safe patterns for running commands and writing scripts in Windows PowerShell 5.1 and PowerShell 7.x. Use…
v2.1.0 · audit A · 2 stars
AGENTS.md@template AGENTS.md file
pablodiazjorge/prompt-forge · template/AGENTS.md
git:20261012.9adcef4 · audit A · 2 stars
CLAUDE.md@template CLAUDE.md file
pablodiazjorge/prompt-forge · template/CLAUDE.md
git:20261012.5d5a3e1 · audit B · 2 stars

Every file in pablodiazjorge/prompt-forge

Other files named record-lesson

record-lesson SKILL.md skill
pablodiazjorge/prompt-forge · template/.agents/skills/record-lesson/SKILL.md · Records a non-obvious failure, workaround, or project quirk as a lesson in knowledge/lessons/ so that teammates' agents…
v2.1.0 · audit A · 2 stars

Browse by kind, by grade A, or by owner.