Skip to content
Back to skills

Lessons Check

ASecurity

Self-review of the current diff against the lessons table of the Belayline harness (and the project's) before a PR or a review fix; returns a verdict per applicable lesson. Use before pushing or before moving a PR to review.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 19, 2026
ai-agentsgoswiftgit

Security analysis

A100/100

Scanned November 19, 2026

npx -y skills add francoisgn/belayline-agentic-harness --skill lessons-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lessons Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lessons Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/francoisgn-lessons-check/badge)](https://www.skillsdirectory.com/skills/francoisgn-lessons-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lessons-check
description: Self-review of the current diff against the lessons table of the Belayline harness (and the project's) before a PR or a review fix; returns a verdict per applicable lesson. Use before pushing or before moving a PR to review.
argument-hint: "[base, default: integration branch]"
---

# Self-review against the lessons

1. Diff: `git diff origin/<base>...HEAD`, where `<base>` is "$ARGUMENTS" if given, otherwise the integration branch
   (`.harness/config.json` → `integration_branch`).
2. Tables: `.harness/docs/LESSONS.md` (otherwise `${CLAUDE_PLUGIN_ROOT}/docs/LESSONS.md`) **and** the project's own
   lessons if it has any (e.g. `docs/agents/LESSONS.md`). Keep the relevant scopes: `general`, `docs`, `ci` always;
   `swift`, `ios`, `linux-cloud` depending on the project and the environment. Keep only the rows whose **Class**
   column is `judgment` or `mechanical, check to write`: a row `mechanical, enforced by <check>` is verified by that
   check (unless the project has switched it off: then read it), a `one-off` row is not re-read, nor is the
   **Archive** section. A project table without a Class column is read whole.
3. For **each** lesson that applies to the diff, one line: `L..: ✅ followed | ⚠️ to verify | ❌ broken: where
   (file:line) and why`. Do not list unrelated lessons.
4. Concrete checks, not impressions: run the announced tests, show that a new test fails without the change (L01),
   find the caller of a function "called at launch" (L82), check save compatibility if a persisted type changes
   (L80).
5. Fix the ❌ before pushing; unresolved ⚠️ go into "Watch points / not tested" in the PR.
6. **Candidates** to leave the table (exit rule in the header of `LESSONS.md`), listed after the verdicts, never
   moved by you: rows `mechanical, enforced by` or `one-off`; a row this review found to duplicate, or be a special
   case of, another (`Lnn → merge into Lmm`); a `judgment` row cited by no review or correction for six months
   (`git log --since=6.months --grep='Lnn'` empty, nor in the latest review rounds). One line each, with the reason;
   the operator decides.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.