Skip to content
Skills Library
Programming · Review & audit

check

/check

Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.

Author
x-cmd ↗
Repository
x-cmd ↗
Licence
Apache-2.0
Last repository change
24.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.

Original author description

Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.

How it works

  1. Trigger
  2. Steps
  3. Output Format
  4. Constraints
Original SKILL.md headings · 72 lines, 243 words
SKILL.md preview
---
name: check
description: Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.
tools: Bash, Glob, Read
---

# Rule Checker

## Trigger

Use when:
- User says `/check`
- User wants to verify code against project rules
- Pre-commit or CI validation needed

Do NOT use when:
- User wants quick scan of top issues (use `/scan`)
- User wants multi-dimensional assessment (use `/assess`)

## Steps

### Step 1: Parse Arguments

```
/check [--ruleset <dir>] [target_root]
```

Default: current directory.

### Step 2: Load Rules

```bash
x rule which      # locate ruleset
ls $ruleset_dir/*.yml
cat $ruleset_dir/*.yml
```

### Step 3: Evaluate All Files Against All Rules

For each file under target_root:
1. Determine applicable rules based on rule `apply` field
2. Check each applicable rule
3. Record violations (score < 81)

Rule `apply` values:
| Apply Value | Files Matched |
|-------------|---------------|
| `all posix shell files` | `*.sh` |
| `all shell files` | `*.sh`, `*.bash`, `*.zsh` |
| `all yaml files` | `*.yml`, `*.yaml` |
| `all json files` | `*.json` |
| `all source files` | source code files |
| `all files` | any file |

### Step 4: Output Results

## Output Format

TSV with header:
```
root    target    ruleid    score    hint
```

Scoring:
- 0-10: Complete violation
- 11-50: Significant issues
- 51-80: Minor issues (still reported)
- 81-100: No violation (omitted from output)

If all pass: output header row only.

## Constraints

- Check EVERY file against EVERY applicable rule (exhaustive, not greedy)
- Do NOT stop early
- Do NOT auto-fix violations

Versions

RepositoryScoreLicence
This page · x-cmd/x-cmd100Apache-2.0
tw93/Waza100MIT
nigelng/nng-kit100MIT
Automatebasics/automatebasics-skills100MIT
tony/skills100MIT
vibiumdev/vibium100Apache-2.0
koda-ai-studio/agent-bom100Apache-2.0
JQ-WCoding/devkit100MIT
ribato22/vibecheck100MIT

Database snapshot: 13.11.2026 · package version 57078a96804a (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100obsidian-check
    Report every automated-review violation with its file location and fix. TRIGGER WHEN: preparing an Obsidian plugin for submission or before pushing code.
  • 100obsidian-check
    Report every automated-review violation with its file location and fix. TRIGGER WHEN: preparing an Obsidian plugin for submission or before pushing code.
  • 100run-patdown
    Run the patdown CLI against files or a directory using project AGENTS.PATDOWN.md rules. Use when the user asks to fuzzy-lint, patdown a tree, or check writes against markdown rules.
  • 100check-diff
    Check the current changes against this repo's own agent rules (CLAUDE.md, AGENTS.md, Cursor rules, Copilot instructions) before committing. Use when the user asks to check, review or verify their changes or diff against the repo's rules or conventions, or before a commit or pull request.
  • 100review-changes
    Use this skill when the user asks to "review changes against hookify rules", "check hookify compliance", "audit my diff for hookify violations", "run hookify code review", "review the PR for hookify rules", or "scan my changes for the hookify ruleset". Performs a…
  • 100release-check
    Check if project is ready for release with comprehensive pre-release validation. Use when verifying release readiness, running validation checks, or checking project quality before publishing.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.