Skip to content

gpsaggese/helpers / .claude/skills/skill.check_against_rules

skill.check_against_rules

Verified

Check a file against applicable convention rules and list violations

FileKindSize
SKILL.mdskill md1.3 KB
---
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`
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall