Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pre-commit-check

Skill by Mooshieblob1

Validates uncommitted MooshieUI changes before a commit or pull request. It runs build gates, Rust fmt and clippy, convention checks and i18n checks, and is meant for contributors and the push and release skills.

  • Score 70
  • 235 stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pre-commit-check

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Mooshieblob1/MooshieUI /tmp/MooshieUI && mkdir -p ~/.claude/skills && cp -r /tmp/MooshieUI/.claude/skills/pre-commit-check ~/.claude/skills/pre-commit-check

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pre-commit-check in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Pre-commit-check is an agent skill for the MooshieUI project. It validates uncommitted changes, both staged and unstaged, before a commit or pull request. The checks run in order and stop on blocking failures. Build gates cover the frontend build, the Rust compile, a server-feature Rust check and Rust formatting. Clippy runs as a non-blocking lint on changed Rust files.

A convention audit inspects added lines for rules such as Svelte style blocks, legacy event syntax, Tauri command return types and locale key parity. The skill is meant for MooshieUI contributors and for the push and release skills, which call it before committing. It reports findings with file and line. It does not auto-fix unless a parent workflow asks for fixes.

Written from the project's SKILL.md and checked against it.

What it can do

  • Build gatesRuns the frontend build and Rust compile checks, including a server-feature check, and stops on failure.
  • Rust formattingRuns cargo fmt --check on changed Rust files and blocks only when diffs overlap your changed lines.
  • Clippy lintRuns cargo clippy on changed Rust files and warns on new issues in those files.
  • Convention auditChecks added lines for Svelte, store, utility, Rust command and template conventions.
  • i18n parityChecks that locale files have the same keys and placeholders as the canonical en.ts file.
  • Cross-file checksFlags missing api.ts wrappers for changed commands and missing MCP decisions for generation changes.
  • ReportProduces a markdown report listing changed files, gate results, lint findings and a summary.

What you need

  • Git
  • Node.js and npm
  • Rust toolchain with Cargo
  • PowerShell

Try asking

  • Check my uncommitted MooshieUI changes before I commit.
  • Run the pre-commit check on my pull request branch.
  • Show the build gates and i18n results for my locale changes.

Good to know

  • Only audits files changed in the working tree.
  • Blocking build failures stop the run before the convention audit.
  • Does not auto-fix issues unless a parent workflow asks for fixes.
  • Written for the MooshieUI repository layout and rules.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/pre-commit-check/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to pre-commit-check

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

pre-commit-check: common questions

Does pre-commit-check fix problems automatically?

No. The source says it does not auto-fix unless the push or release workflow is fixing blockers.

When should I run pre-commit-check?

The source says to run it before any commit in the push or release workflows, and before committing in general.

Which findings block a commit?

Failed build gates, blocking convention errors and i18n problems in changed locale files block a commit.

How do I install pre-commit-check?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pre-commit-check free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is pre-commit-check safe to use?

It scores 70 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to pre-commit-check?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

pre-commit-check Install

Add to stack

Loading.