codexplugin
L

Lint On Save

by am-will

Hookcoding8.8K stars

Run ESLint, Pylint, or RuboCop after file modifications

1. Install now

$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/development-tools/lint-on-save --hook

2. Verify after restart

Explain when the Lint On Save hook runs during a Codex session

More verify prompts

Get it working

Install → restart → verify. Stay on this page until Lint On Save responds.

  1. 01

    Copy the install command

    Use the command on this page — it includes the correct --hook flag for this hook.

  2. 02

    Run it in your project terminal

    Execute the command from the directory where you use Codex, not necessarily your home folder.

  3. 03

    Restart or reload Codex

    Restart the Codex CLI or reload your IDE window so the new extension is picked up.

  4. 04

    Verify with a prompt

    Try one of the verify prompts below to confirm Lint On Save is active.

Verify it works

After install and reload, paste one of these into Codex.

Prompt 1

> Explain when the Lint On Save hook runs during a Codex session

Prompt 2

> What does the Lint On Save hook automate after install?

Prompt 3

> Help me verify the Lint On Save hook is configured correctly

If install fails

Fix these common issues before digging into GitHub issues.

  • Command not found or install fails

    Use Node.js 18+ and confirm npx works. Corporate proxies may need HTTPS_PROXY set for GitHub and npm.

  • Installed but Codex ignores it

    Restart the Codex CLI or reload the IDE window. Confirm you used the correct --plugin / --skill / --hook flag.

  • Hook never fires

    Confirm the hook is listed in your Codex hooks config and that you triggered the matching lifecycle event (save, stop, git, etc.).

Full install & troubleshooting guide

About

Run ESLint, Pylint, or RuboCop after file modifications

Lint On Save is a codex hook that automates events in your Codex workflow — from notifications to linting and git guardrails. Hooks install with the --hook flag and run without manual invocation.

Source package path: am-will/codex-skills/hooks/aitmpl-codex/development-tools/lint-on-save on GitHub (am-will/codex-skills).

Key features

  • Automates Codex lifecycle events after install
  • Runs in the background — no prompt needed once configured
  • Install with the --hook flag via npx
  • Fits coding automation and guardrail workflows

Requirements

  • Node.js 18 or newer with npx available
  • Codex CLI or IDE extension installed and signed in

More from am-will

Other hooks by the same author

Related hooks

More in coding