Skip to content
Claude Code

Hook, line and linter

Claude Code hooks that run your linter after every edit so nothing slips through.

By Theo Marsh 2 min read 9 comments
Treats from the Context Window. July 29.

The reference file holds the boring details so the main instructions stay readable. I version skills like code: a changelog at the top and one change per release. The details matter less than the habit of checking the result. The examples in this post come from my own week, lightly edited. Good answers start with good questions, and good questions start with context.

What the skill does

The details matter less than the habit of checking the result. Small, checkable steps are easier to trust than one big leap. Try it on one real task today and see what changes. This is the part I wish someone had told me in my first week.

SKILL.md
---
name: hook-line-and-linter
description: Claude Code hooks that run your linter after every edit so nothing slips through.
---

# Hook, line and linter

1. Read the task and restate it in one line.
2. Follow the steps in reference.md.
3. Check the result before you hand it back.

Install it

  • Download the zip and unzip it into your skills folder.
  • Restart Claude so it picks up the new skill.
  • Ask for the task in plain words; the skill loads when it fits.

Changelog

Every skill in this column ships with an examples folder, because examples teach faster than rules. Try it on one real task today and see what changes. When in doubt, ask Claude what it understood before it starts. This is the part I wish someone had told me in my first week.

9 comments

  1. Rosa Diaz

    How long did the testing take before you trusted it?

    Reply to Rosa Diaz
  2. Oskar Lind

    Used the handover file idea on a two-week project. Huge difference.

    Reply to Oskar Lind
  3. Rosa Diaz

    I disagree a little on temperature, but the rest is spot on.

    Reply to Rosa Diaz
    1. Theo Marsh Author

      Same here. Try adding “change only what I asked for” to the task itself too.

      Reply to Theo Marsh
  4. Hannah Lee

    The “squirrels can wait” line made me laugh, and then it fixed my tangent problem.

    Reply to Hannah Lee

Leave a comment

Your email is never shown. Comments are read before they appear.