Skip to main content
AI/MLIgorGanapolsky

search-lessons

Search promoted lessons for corrective actions, lifecycle state, linked rules, and linked gates.

Stars
21
Source
IgorGanapolsky/ThumbGate
Updated
2026-05-30
Slug
IgorGanapolsky--ThumbGate--search-lessons
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/IgorGanapolsky/ThumbGate/HEAD/plugins/cursor-marketplace/skills/search-lessons/SKILL.md -o .claude/skills/search-lessons.md

Drops the SKILL.md into .claude/skills/search-lessons.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Search Lessons

Search the promoted lessons database for corrective actions and guidance.

When to use

  • Looking for corrective actions for a specific failure pattern
  • Checking if a known lesson applies to the current task
  • Reviewing lifecycle state of lessons (active, archived, superseded)
  • Finding linked prevention rules and gates for a topic

How it works

Use the search_lessons MCP tool with a query string. The tool searches across:

  1. Lesson descriptions — What happened and why
  2. Corrective actions — Specific steps to prevent recurrence
  3. Linked rules — Prevention rules generated from the lesson
  4. Linked gates — Pre-action gates that enforce the lesson
  5. Lifecycle state — Whether the lesson is active, archived, or superseded

Example

Search lessons for "force push" to find corrective actions and prevention rules related to force pushing.

Results include the full lesson context, any linked enforcement rules, and the current lifecycle state.