Skip to content
Back to skills

Prevention Rules

ASecurity

Generate and review prevention rules auto-promoted from repeated failure patterns.

  • 27 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agents

Works with

  • mcp

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add IgorGanapolsky/ThumbGate --skill prevention-rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prevention Rules?

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

Security grade badge for Prevention Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/igorganapolsky-prevention-rules/badge)](https://www.skillsdirectory.com/skills/igorganapolsky-prevention-rules)

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: prevention-rules
description: Generate and review prevention rules auto-promoted from repeated failure patterns.
---

# Prevention Rules

Manage prevention rules that are auto-generated from repeated failure patterns.

## When to use

- Reviewing current active prevention rules for the project
- Checking if a specific action is blocked by a prevention rule
- Understanding why an action was blocked
- Generating new prevention rules from observed patterns

## How it works

Use the `prevention_rules` MCP tool to:

1. **List rules** — View all active prevention rules with their match patterns and corrective actions.
2. **Check rules** — Test if a specific action matches any prevention rule before execution.
3. **Review rule history** — See which feedback events led to a rule's promotion.

## Example

```
Check prevention rules for "npm publish without running tests" to see if this action is blocked.
```

Prevention rules are auto-promoted when the same failure pattern appears multiple times in captured feedback. Each rule includes the original failure context and a corrective action.

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.

Comments

Loading comments…

Newsletter

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