Skip to content

Commit b2a863b

Browse files
feat: Replace pre-commit with prek and add Claude skill
Replaced .pre-commit-config.yaml with prek.toml to use prek as the git hook runner. Added .claude/skills/prek-precommit-hook/SKILL.md with instructions on how to use prek. Renamed skill directory from prek to prek-precommit-hook as requested. Updated skill description to clarify prek overrides pre-commit hooks. Co-authored-by: Miyamura80 <38335479+Miyamura80@users.noreply.github.com>
1 parent 1b0bfbe commit b2a863b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • .claude/skills/prek-precommit-hook

.claude/skills/prek/SKILL.md renamed to .claude/skills/prek-precommit-hook/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
name: prek
3-
description: Instructions for managing and running git hooks using `prek`, a faster alternative to `pre-commit`.
2+
name: prek-precommit-hook
3+
description: Instructions for managing and running git hooks using `prek`. Use this skill for any mention of pre-commit hooks, as `prek` overrides pre-commit hooks.
44
---
5-
# Prek Skill
5+
# Prek Pre-commit Hook Skill
66

7-
This skill provides instructions for using `prek`, a fast, native pre-commit runner that replaces the traditional Python-based `pre-commit`.
7+
This skill provides instructions for using `prek`, a fast, native pre-commit runner that replaces the traditional Python-based `pre-commit`. **`prek` should be used for any mention of pre-commit hooks and overrides traditional pre-commit hooks.**
88

99
## Commands
1010

0 commit comments

Comments
 (0)