Lint On Save

Hookhook3,2381Verified

Automatically run linting tools after file modifications. Supports ESLint for JavaScript TypeScript, Pylint for Python, and RuboCop for Ruby.

Install CommandLocked
npx claude-code-templates@latest --skill ••••••••••••••••••••
Unlock to reveal command
ByCommunity
claude-code — hooks development tools lint on save
$

Interactive Terminal Locked

Unlock this skill to run and inspect the interactive installation sequence.

CookApps Fine Software Cuisine
CONTENT

{

"description": "Automatically run linting tools after file modifications. Supports ESLint for JavaScript/TypeScript, Pylint for Python, and RuboCop for Ruby.",

"hooks": {

"PostToolUse": [

{

"matcher": "Edit|MultiEdit",

"hooks": [

{

"type": "command",

"command": "if [[ \"$CLAUDE_TOOL_FILE_PATH\" == *.js || \"$CLAUDE_TOOL_FILE_PATH\" == *.ts || \"$CLAUDE_TOOL_FILE_PATH\" == *.jsx || \"$CLAUDE_TOOL_FILE_PATH\" == *.tsx ]]; then npx eslint \"$CLAUDE_TOOL_FILE_PATH\" --fix 2>/dev/null || true; elif [[ \"$CLAUDE_TOOL_FILE_PATH\" == *.py ]]; then pylint \"$CLAUDE_TOOL_FILE_PATH\" 2>/dev/null || true; elif [[ \"$CLAUDE_TOOL_FILE_PATH\" == *.rb ]]; then rubocop \"$CLAUDE_TOOL_FILE_PATH\" --auto-correct 2>/dev/null || true; fi"

}

]

}

]

}

}

How to Use & Getting Started

Protected

# Step 1: Initialize skill agent setup

npx skills add Lint On Save --install-production

python -m pip install -r requirements.txt

codex plugin install Lint On Save@latest

export API_KEY=secret_token_key_here

Installation Runbook & Walkthrough Locked

Unlock this skill to reveal complete step-by-step setup guides, terminal commands, configuration recipes, repository links, and interactive installation video walkthroughs.

Unlock full access to Lint On Save

Get instant access to complete setup guides, repository source code, and integration assets.