Skip to content
Back to skills

Lesson Propose

ASecurity

Proposes a new lesson (recurring mistake, review finding of a new kind) for the LESSONS.md table, in the project, or in the Belayline harness through a "Lesson" issue if it applies elsewhere. Use after a review round, an incident or a mistake that must not happen again.

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

Security analysis

A100/100

Scanned November 19, 2026

npx -y skills add francoisgn/belayline-agentic-harness --skill lesson-propose --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lesson Propose?

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

Security grade badge for Lesson Propose
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/francoisgn-lesson-propose/badge)](https://www.skillsdirectory.com/skills/francoisgn-lesson-propose)

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: lesson-propose
description: Proposes a new lesson (recurring mistake, review finding of a new kind) for the LESSONS.md table, in the project, or in the Belayline harness through a "Lesson" issue if it applies elsewhere. Use after a review round, an incident or a mistake that must not happen again.
argument-hint: "<finding or link to a PR / comment>"
---

# Propose a lesson

Material: $ARGUMENTS. Reference: `.harness/docs/LESSONS.md` (header: scope, sources, stable numbering).

1. **Already listed?** Search the harness table **and** the project table (keywords, synonyms). Already there → no
   new row: the self-review missed it; propose tightening `/lessons-check` or the lesson.
2. **Classify** each item (review finding, CI failure, operator correction), one class each:
   - **mechanical**: a rule can verify it → propose a deterministic check (lint rule, hook, CI step, test) as an
     issue; **no line** in `LESSONS.md`. If the check would cost more than the failure it prevents, record it as
     judgment and say that reason.
   - **judgment**: only a reviewer can tell → a lesson line (steps 3 and 4).
   - **one-off**: will not recur → add nothing and say why.

   Class unclear → say so, propose **judgment** and the question that would settle it.
3. **Write** (judgment only) one row: scope (`general`, `docs`, `ci`, `linux-cloud`, `swift`, `ios`…), the lesson as
   one imperative, verifiable sentence (what to do, not the anecdote), the **source** (PR, comment, commit, at a SHA).
4. **Where?**
   - specific to the project's domain → project table, in the commit that fixes it;
   - valid elsewhere → an issue on `francoisgn/belayline-agentic-harness` with the "Lesson" form (labels `lesson`,
     `type: docs`): title `Lesson: <summary>`, body = class, scope, lesson, source, counter-example, how to check it
     in review (for mechanical: the check). From a cloud session, the harness repository must be attached
     (`add_repo`).
5. Show the proposal to the operator before creating the issue (it touches another repository). The `L..` number is
   assigned by the harness PR that integrates it, never by the project.

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.