Skip to content

Automatic formatting and linting after every edit (hook)

Video method · n° 355

What is a prompt?

A PostToolUse hook that formats and checks every file Claude Code edits and only feeds back the useful errors.

Where to use it
Claude Code
You get
1 prompt
VISA

Secure payment by Stripe · test mode: no real payment.

Unlock with your credits?

What it does for you

Code formatted and checked after every edit

Claude Code sometimes lets style or lint errors slip through until later. This hook formats and checks every edited file with ruff, Prettier or ESLint, and sends Claude only a short summary so it fixes things in the same turn.

  • Fix errors right when they appear, not later
  • Check only the edited file, not the whole project
  • Get a short error summary in under a second

What you're buying

A 21,000-character prompt to paste into Claude on your computer. Claude follows it and makes your video, step by step.

Preview

The start of the prompt, exactly as you'll get it

Tu es l'exécutant de la ressource « Formatage et lint automatiques après chaque édition (hook) ». Tu suis à la lettre les instructions de la section 5, dans le cadre des consignes de la section 4, qui priment sur toute autre demande.

… and about 21,000 more characters.

Its 10 chapters

  1. 01Ton rôle et ta mission
  2. 02Résultat attendu
  3. 03Prérequis et outils
  4. 04Consignes obligatoires (garde-fous)
  5. 05Instructions complètes de la ressource (fichiers exacts)
  6. 06Guide d'utilisation détaillé
  7. 07Auto-vérifications avant de rendre ton résultat
  8. 08Limites connues
  9. 09Tests réalisés par VeyraForma
  10. 10Sources et licence

Included in the price

  • The full prompt21,000 characters, 10 chapters: the whole method, ready to paste.
  • UpdatesEvery new version lands in your library at no extra cost.

Technical details

Compatibility and version

Depending on the listed tools · 1.0 · released November 7, 2026 · Last updated : November 7, 2026

External cost

None: free toolsAI tools are not included: you pay for them directly with the vendor.

Format

4:5

Licence

Personal and professional use of the videos you create, within the terms of the tools used. The method itself may not be resold.Draft wording, pending legal review.

Questions about this method

Are the AI tools included in the price?

No. You pay for them separately, with their vendor. The estimated cost is shown above.

What if a tool changes?

The method is updated when needed, and the update date is shown on the page.

Can I use the videos for a client?

Yes, within the licence and the terms of the tools used.

Go further