Thumbgate rules

From IgorGanapolsky/ThumbGate · View interactive version

Thumbgate rules is an AI agent skill from the GitHub repository IgorGanapolsky/ThumbGate. List the active ThumbGate prevention rules, reliability rules, and the promoted lessons behind them, so the user can see which guardrails are currently protecting this project and WHY each one exists. Reads the live rule and lesson stores via the prevention_rules, get_reliability_rules, and search_l

How to use this skill

Skill file

ThumbGate Rules

Show the guardrails currently in force for this project: the auto-promoted prevention rules, the

reliability rules, and the lessons they came from — so the user sees not just what is blocked

but why.

This skill wraps existing ThumbGate capability and adds no new logic — it reads the live rule

and lesson stores.

Workflow

  1. List active rules with the prevention_rules MCP tool (CLI fallback: npx thumbgate rules).
  2. Pull reliability rules with get_reliability_rules to show which tool-call shapes are gated.
  3. Surface the lesson behind each rule with search_lessons, so the user sees the origin, not

just the block.

  1. Present a compact table (see the example below).
  2. If there are zero active rules, point the user to the thumbgate-guard skill to promote

their first one.

Field-by-field tool output and how rules map to lessons are in

references/rule-stores.md.

Example

Input: "what is ThumbGate protecting me from in this repo?"

Action: call prevention_rules + get_reliability_rules, enrich each with search_lessons, then:

| Rule / Gate | Blocks | From lesson | State |

|-------------|--------|-------------|-------|

| no-force-push-main | git push --force to main | overwrote a teammate's commit (2026-05) | active |

| verify-before-deploy | deploy without npm test | shipped a broken build | active |

Troubleshooting

returns nothing because the lesson store is fresh.

thumbgate-doctor skill to check wiring.

skill for fire counts and the thumbgate-doctor skill for hook installation.

Quality checklist (self-verify before delivering)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.