Skip to content

Replace pre-commit with prek and add Claude skill#131

Merged
Miyamura80 merged 2 commits intomainfrom
feat/replace-pre-commit-with-prek-760911467584852843
Feb 24, 2026
Merged

Replace pre-commit with prek and add Claude skill#131
Miyamura80 merged 2 commits intomainfrom
feat/replace-pre-commit-with-prek-760911467584852843

Conversation

@Miyamura80
Copy link
Owner

Replaced .pre-commit-config.yaml with prek.toml to use prek as the git hook runner. Added .claude/skills/prek/SKILL.md with instructions on how to use prek.


PR created automatically by Jules for task 760911467584852843 started by @Miyamura80

Replaced .pre-commit-config.yaml with prek.toml to use prek as the git hook runner.
Added .claude/skills/prek/SKILL.md with instructions on how to use prek.

Co-authored-by: Miyamura80 <38335479+Miyamura80@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 24, 2026

Greptile Summary

Migrated from Python-based pre-commit to Rust-based prek for faster git hook execution. All seven hooks from .pre-commit-config.yaml were successfully migrated to prek.toml with identical configurations.

  • Deleted .pre-commit-config.yaml
  • Added prek.toml with all hooks preserved (check-added-large-files, lint-links, make-fmt, ruff-check, ruff-complexity, ruff-tech-debt, pylint-duplicate-code, ai-writing-check)
  • Added .claude/skills/prek-precommit-hook/SKILL.md with comprehensive prek usage instructions

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • This is a straightforward migration from pre-commit to prek with perfect 1:1 hook translation. All hooks are preserved with identical configurations. The README already mentions prek, and no CI workflows need updates.
  • No files require special attention

Important Files Changed

Filename Overview
.pre-commit-config.yaml Removed the old pre-commit configuration file as part of migration to prek
prek.toml Added new prek configuration with all hooks from the previous pre-commit config migrated correctly
.claude/skills/prek-precommit-hook/SKILL.md Added Claude skill documentation explaining how to use prek for git hooks management

Last reviewed commit: b2a863b

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>
@Miyamura80 Miyamura80 merged commit ca989c2 into main Feb 24, 2026
11 checks passed
@github-actions github-actions bot deleted the feat/replace-pre-commit-with-prek-760911467584852843 branch February 24, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant