# mcp-pre-commit

> mcp-pre-commit — ars-system-mcp-pre-commit. Use this tool when you need to automate code formatting and linting in git repositories, as it detects project types and configures pre-commit hooks with tools like Black, Flake8, ESLint, and Prettier. It solves problems related to code consistency and quality, providing a standardized interface for managing git repositories. Ideal for use in development workflows where code formatting and linting are essential, it takes git repositories as input and outputs configured pre-commit hooks.

Canonical page: https://skillsregistry.net/skills/ars-system-mcp-pre-commit  
JSON: https://api.skillsregistry.net/v1/skills/ars-system-mcp-pre-commit

## Description

MCP tool server for managing git repositories and pre-commit hooks. Automatically detects project type (Python/JS/TS) and configures appropriate pre-commit hooks with Black, Flake8, ESLint, Prettier, and more.

## Trust

- **Trust score (0–1):** 0.89
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** MIT
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/ars-system/mcp-pre-commit)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ars-system-mcp-pre-commit"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ars-system-mcp-pre-commit` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ars-system-mcp-pre-commit/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
