Skip to content
Back to skills

Agents Pre Commit

ASecurity

Run pre-commit checks using src.agents.scripts.pre_commit after editing code. Use when you need automated lint/format hooks on changed files or before running tests and review.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspythonbashgit

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill agents-pre-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agents Pre Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agents Pre Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-agents-pre-commit/badge)](https://www.skillsdirectory.com/skills/david-li0406-agents-pre-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agents-pre-commit
description: Run pre-commit checks using src.agents.scripts.pre_commit after editing code. Use when you need automated lint/format hooks on changed files or before running tests and review.
---

# Agents Pre Commit

## Overview

Use this skill to run the repo's pre-commit hooks on files changed since HEAD.

## Quick start

```bash
uv run python -m src.agents.scripts.pre_commit
```

## Notes

The script runs pre-commit on `git diff --name-only HEAD` and may delegate fixes to sub-agents.
Logs are saved under `agents_workspace/sub_agents/logs/`.

If `uv` cache permissions fail, use a workspace cache:

```bash
uv --cache-dir agents_workspace/tmp_cache/uv_cache run python -m src.agents.scripts.pre_commit
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…