setup-pre-commit

Configure two-stage pre-commit and pre-push hooks for quality and security checks.

12|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/jrjsmrtn/project-orchestration-skills --skill setup-pre-commit-jrjsmrtn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-pre-commit
Source: https://github.com/jrjsmrtn/project-orchestration-skills/tree/main/skills/setup-pre-commit
Command: npx skills add https://github.com/jrjsmrtn/project-orchestration-skills --skill setup-pre-commit-jrjsmrtn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires editorconfig, gitleaks, mix, pip, cargo, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup of two-stage pre-commit hooks for quality automation, streamlining the process of enforcing code quality standards and security checks in software development.

Core Features & Use Cases

  • Two-Stage Hook Setup: Configures pre-commit and pre-push hooks for fast and thorough code quality checks.
  • Technology Agnostic: Supports various technology stacks including Elixir, Python, TypeScript, etc.
  • Use Case: After initializing a new project with the 'bootstrap-project' and 'setup-adrs' skills, use this Skill to enforce code quality standards and security checks.

Quick Start

Run the 'setup-pre-commit' skill to configure pre-commit hooks for your project.

Frequently Asked Questions about setup-pre-commit

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

FAQPage Schema
How do I configure pre-commit hooks for code quality automation?

Setting up pre-commit hooks for code quality automation involves configuring a two-stage process: fast pre-commit checks for immediate feedback and thorough pre-push validations for security checks, supporting stacks like Python, Elixir, and TypeScript.

What is a two-stage pre-commit hook workflow?

A two-stage pre-commit hook workflow separates quality checks into fast pre-commit validations for immediate code quality feedback and comprehensive pre-push security scans using gitleaks to catch vulnerabilities before remote repository updates.

Does this pre-commit setup support Elixir, Python, and TypeScript projects?

Yes, this pre-commit setup supports Elixir, Python, and TypeScript projects by integrating with language-specific tools like mix, pip, and cargo to enforce technology-agnostic code quality standards across diverse development stacks.

How do I add gitleaks security checks to my CI/CD pipeline?

You can add gitleaks security checks to your CI/CD pipeline by configuring pre-push hooks through this Skill, which seamlessly integrates with common CI/CD pipelines to enforce strict security standards and prevent sensitive data leaks.

Do I need editorconfig to enforce code quality standards?

Yes, you need editorconfig as a prerequisite dependency to enforce consistent formatting standards, working alongside gitleaks and language-specific tools to fully automate quality checks in your software development workflow.