1 post tagged shell

claudify: fire and forget for Claude Code

Sometimes I find myself doing the same thing over and over again. One of those things looked like this:

  1. Find that my test suite is failing
  2. Open up Claude Code
  3. "Please run pnpm test and fix the failures"
  4. Wait

Maybe there's only one failing test out of the ~1000 tests in the suite, so we can kinda optimize it a little:

  1. Look to see which test file was causing the problem
  2. pnpm test /path/to/that/file.test.ts
  3. Open up Claude Code
  4. Copy/paste the pnpm test ... command and its output and hit enter
  5. Wait

That's faster as it lets Claude Code focus on a single test file. But it still involved me doing the work of copying and pasting the command and its output. It's a First World Problem of truly quotidian proportions.

What if I could do this instead, and have it be equivalent to all the hard work described above?:

$ pnpm test /path/to/that/file.test.ts
$ claudify
Continue reading