pre-commit

Automate pre-commit checks for changed projects before committing.

Updated Jun 10, 2025
One-click install
npx skills add https://github.com/skrymer/trading --skill pre-commit-skrymer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-commit
Source: https://github.com/skrymer/trading/tree/main/.claude/skills/pre-commit
Command: npx skills add https://github.com/skrymer/trading --skill pre-commit-skrymer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates pre-commit checks for changed projects (udgaard, midgaard, asgaard) and verifies CLAUDE.md files before committing code.

Core Features & Use Cases

  • Automated checks across multiple projects: runs tests, linting, static analysis, and documentation verification for udgaard, midgaard, and asgaard.
  • CLAUDE.md validation & change detection: ensures CLAUDE.md files are up to date when changes touch relevant components.
  • Delegate checks to specialized sub-agents: distributes linting, testing, and validation tasks to backend and frontend reviewers and docs reviewer.

Quick Start

Run the pre-commit skill to perform all code quality checks on changed projects before committing.

Frequently Asked Questions about pre-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run pre-commit checks for multiple git projects automatically?

You can automate pre-commit checks across multiple git projects by running the skill, which detects changed files and applies tests, linting, and static analysis to verify code quality before committing.

What is the best way to enforce code quality and linting before a git commit?

The best way to enforce code quality before a commit is using an automated pre-commit process that runs linting, tests, and static analysis, reporting pass or fail with auto-fix capabilities.

Can I delegate git pre-commit linting and tests to specialized sub-agents?

Yes, the pre-commit process distributes linting, testing, and validation tasks by delegating checks to specialized backend, frontend, and documentation sub-agents.

Does pre-commit automation validate documentation when project components change?

Pre-commit automation validates documentation by verifying CLAUDE.md files are up to date whenever changes touch relevant components in the repository.

How does automated pre-commit static analysis handle failing code quality checks?

Automated pre-commit static analysis reports check failures as pass or fail and provides auto-fix capabilities to resolve detected code quality issues before committing.

What projects are supported for automated pre-commit checks and CLAUDE.md validation?

Automated pre-commit checks and CLAUDE.md validation are supported for the udgaard, midgaard, and asgaard repositories.