Skip to content
Back to skills

Skill.Check Against Rules

ASecurity

Check a file against applicable convention rules and list violations

  • 158 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 7, 2026
toolsgo

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add gpsaggese/helpers --skill skill.check_against_rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill.Check Against Rules?

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

Security grade badge for Skill.Check Against Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gpsaggese-skill-check-against-rules/badge)](https://www.skillsdirectory.com/skills/gpsaggese-skill-check-against-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
---
description: Check a file against applicable convention rules and list violations
model: opus
---

# Goal
- Find the violations of the rules that apply to the given file `<FILE>` and
  create a plan to fix them

# Workflow

## Select Rules
- If the user specifies a set of rules, apply those
- Otherwise, read `@.claude/rules.md`, which maps file types to rule sets
  - Find which `<RULE_FILE>` applies to `<FILE>`
  - Print it as
    ```text
    Rules: <RULE_FILE>
    ```

## Read Rules
- Read `<RULE_FILE>`
- Check its rules one by one on `<FILE>`
- List the unmet rules, ordered by importance and effort

## Save the Plan to File
- Do not implement any change. Create `<FILE>.plan.md` describing all the
  transformations needed to follow the rules, without changing the content or
  intention of `<FILE>`
- Say in the plan file how it was generated, with this line right after the title:
  ```markdown
  - Generated by `.claude/skills/skill.check_against_rules/SKILL.md`
  ```

# Verification
- [ ] `<FILE>` itself was not modified
- [ ] `<FILE>.plan.md` lists every violation found, ordered by importance and
      effort
- [ ] The plan does not change the content or intention of `<FILE>`
- [ ] The plan file says that it was generated by
      `.claude/skills/skill.check_against_rules/SKILL.md`

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 tools →

Comments

Loading comments…

Newsletter

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