# git hooks

Published articles for git hooks.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Inside the Git Hooks: Tagging Every AI Agent Commit (Part 3)

DevFeed: [Inside the Git Hooks: Tagging Every AI Agent Commit (Part 3)](<https://devfeed.tech/articles/inside-the-git-hooks-tagging-every-ai-agent-commit-part-3-25424.md>)

Original publisher: [Read original article](<https://jonnyzzz.com/blog/2026/06/26/inside-the-git-hooks-for-ai-agents/>)

Author: Eugene Petrenko

Published: 2026-06-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [Eugene Petrenko](<https://devfeed.tech/sources/eugene-petrenko.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-coding](<https://devfeed.tech/tags/ai-coding.md>), [capture](<https://devfeed.tech/tags/capture.md>), [commit](<https://devfeed.tech/tags/commit.md>), [eugene-petrenko](<https://devfeed.tech/tags/eugene-petrenko.md>), [git](<https://devfeed.tech/tags/git.md>), [git-hooks](<https://devfeed.tech/tags/git-hooks.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [jonnyzzz](<https://devfeed.tech/tags/jonnyzzz.md>), [provenance](<https://devfeed.tech/tags/provenance.md>), [repo](<https://devfeed.tech/tags/repo.md>), [sandbox](<https://devfeed.tech/tags/sandbox.md>), [tag-41199d53f463](<https://devfeed.tech/tags/tag-41199d53f463.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

This third-part tutorial explains a best-effort Git hook layer for AI agents running inside a sandbox. The hooks stamp session IDs on commits, preserve the tags through amend, rebase, and squash, and capture restorable copies of pushed changes while continuing to run repository-local hooks.

### Source excerpt

Part 3 -- the build for the lighter solution. How a set of git hooks stamps a session id on every commit an AI Agent makes, survives squash and rebase, and captures each push -- all best-effort, all inside the sandbox.

## One Decade Later: Revisiting Five Front-End Kung Fu Moves

DevFeed: [One Decade Later: Revisiting Five Front-End Kung Fu Moves](<https://devfeed.tech/articles/one-decade-later-revisiting-five-front-end-kung-fu-moves-27460.md>)

Original publisher: [Read original article](<https://ariya.io/2026/04/one-decade-later-revisiting-five-front-end-kung-fu-moves/>)

Published: 2026-04-30T23:26:34Z

Content type: opinion

Language: en

Sources: [Ariya Hidayat](<https://devfeed.tech/sources/ariya-hidayat.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [ci](<https://devfeed.tech/topics/ci.md>), [Instrumentation](<https://devfeed.tech/topics/instrumentation.md>), [ESLint](<https://devfeed.tech/topics/eslint.md>), [Git](<https://devfeed.tech/topics/git.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [code-coverage](<https://devfeed.tech/tags/code-coverage.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [eslint](<https://devfeed.tech/tags/eslint.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [git-hooks](<https://devfeed.tech/tags/git-hooks.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [testing](<https://devfeed.tech/tags/testing.md>), [web-standards](<https://devfeed.tech/tags/web-standards.md>)

### AI overview

A retrospective revisits front-end engineering techniques presented at a JavaScript meetup ten years earlier. It discusses git hooks, code complexity, code coverage, and cross-browser testing, explaining how common tools and modern workflows have changed their practical use.

### Source excerpt

Exactly ten years ago, I gave a talk at the SF JavaScript meetup titled 5 Kung Fu Moves for Front-End Heroes. A full decade later, I found myself wondering: are these techniques still the secret sauce for modern front-end engineering, or have they been rendered obsolete by time?

## Prek, a pre-commit alternative

DevFeed: [Prek, a pre-commit alternative](<https://devfeed.tech/articles/prek-a-pre-commit-alternative-27743.md>)

Original publisher: [Read original article](<https://gagor.pro/2026/02/prek-a-pre-commit-alternative/>)

Author: Tom

Published: 2026-02-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [pre-commit](<https://devfeed.tech/topics/pre-commit.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [execution](<https://devfeed.tech/tags/execution.md>), [git-hooks](<https://devfeed.tech/tags/git-hooks.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [prek](<https://devfeed.tech/tags/prek.md>), [projects](<https://devfeed.tech/tags/projects.md>), [rust](<https://devfeed.tech/tags/rust.md>), [script](<https://devfeed.tech/tags/script.md>), [speed](<https://devfeed.tech/tags/speed.md>)

### AI overview

The article describes switching from pre-commit to Prek, a Rust-based drop-in alternative that preserves configuration compatibility while providing faster hook execution. It also presents a script for converting multiple repositories.

### Source excerpt

Prek is a Rust-based pre-commit alternative that maintains full config compatibility while delivering significantly faster hook execution.

## Enforce code standards with composer, git hooks, and phpcs

DevFeed: [Enforce code standards with composer, git hooks, and phpcs](<https://devfeed.tech/articles/enforce-code-standards-with-composer-git-hooks-and-phpcs-29154.md>)

Original publisher: [Read original article](<http://tech.zumba.com/2014/04/14/control-code-quality//>)

Author: Chris Saylor (christopher.saylor@zumba.com)

Published: 2014-04-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Zumba](<https://devfeed.tech/sources/zumba.md>)

Topics: [Composer](<https://devfeed.tech/topics/composer.md>), [Git](<https://devfeed.tech/topics/git.md>), [git hooks](<https://devfeed.tech/topics/git-hooks.md>), [Code quality](<https://devfeed.tech/topics/code-quality.md>), [pull-requests](<https://devfeed.tech/topics/pull-requests.md>)

Tags: [code-quality](<https://devfeed.tech/tags/code-quality.md>), [composer](<https://devfeed.tech/tags/composer.md>), [git](<https://devfeed.tech/tags/git.md>), [git-hooks](<https://devfeed.tech/tags/git-hooks.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>)

### AI overview

An article about enforcing code standards with Composer, Git hooks, and PHPCS to improve code quality at the commit level and reduce back-and-forth in pull requests.

### Source excerpt

Reduce number of back-and-forths in pull requests by enforcing code quality at the commit level.