With local dev friction, you have two choices: tolerate slow commit formatters, manual image compression, and lsof -i port hunting, or keep fixing your own scripts after every update. Both waste time. Here are five ready-made utilities that solve those chores, along with what each one costs you.
Tidy: A Fast Prettier-Style Code Formatter in Rust
Prettier is the standard, yet running it in Node.js slows down pre-commit hooks and CI on big repos. Luke Edwards released Tidy v2.0.0—a native Rust binary that matches Prettier byte for byte across JS, TS, HTML, CSS, Markdown, YAML, JSON, and TOML.
On an Apple M1 Max, formatting 12,071 files takes 280 ms compared to 18.5 seconds for Prettier (66× faster), with JS finishing in 78 ms. Node.js isn't required, though Node and Rust APIs are included. The Tidy docs cover three commands: tidy (stdout), tidy up (write in place), and tidy check (verify).
# Install the binary and check recent edits
curl -fsSL https://tidy.lukeed.com | sh
tidy check --staged
tidy up --changed
The --staged and --changed flags cut out hook wrapper scripts. The trade-off for speed: rare formatting differences from Prettier are listed under Deviations, and XML is excluded from the main benchmark. Check that list before migrating if you need 100% character-for-character parity.
oxlint-plugin-slimdeer: A Linter That Compresses Project Images
A half-megabyte PNG easily slips into a commit while code and tests stay green. oxlint-plugin-slimdeer (v0.6.2, MIT) by Leonardo Galante brings asset checks into Oxlint 1.60+ or ESLint 9/10. Its slimdeer engine runs locally in WebAssembly and flags the import line whenever a PNG or JPEG can shrink by at least 4 KiB and 10% without visible quality loss (in the README, hero.png drops from 509 kB to 151 kB).
That single warning shifts checks left: bloat is caught in the editor, and files never leave your machine. You need Node 20.19+ or 22.12+.
# Pin the oxlint version and open the review UI
npm i -D --save-exact oxlint
npm i -D oxlint-plugin-slimdeer
npx oxlint-plugin-slimdeer --review
--review opens a local comparison page with checkboxes, and 0.6.2 adds vp exec output for Vite+. Wire it up in .oxlintrc.json:
{
"jsPlugins": ["oxlint-plugin-slimdeer"],
"rules": { "slimdeer/compressible-image": "warn" }
}
There are real caveats: Oxlint JS plugins are still in alpha, you must pin oxlint with --save-exact, and the config requires jsPlugins (without duplicating rules). Compression is lossy—detail can't be restored—so commit originals beforehand. In ESLint, avoid --cache or warnings will stick to already-compressed files.
CodePen Commander: Working with CodePen 2.0 from Your Local Editor
Browser prototyping feels great until you want your own IDE and real Git. Bramus Van Damme built CodePen Commander (codepen-commander, binary cdpn, v1.4.0) on top of CodePen API v2. It gives CodePen 2.0 a Git-like workflow: clone a Pen, run a local dev server, build classic or packages Blocks, and push edits as a single version.
# Install the CLI (Node.js 20+) and work with a Pen
npm install -g codepen-commander
cdpn auth login my-profile
cdpn clone https://codepen.io/user/pen/abcde my-pen
cd my-pen && cdpn status && cdpn push -m "Tweak layout"
In the cdpn repository, tokens (cp_user_... and cp_team_...) live in ~/.cdpn with 0600 permissions, metadata sits in .cdpn.json, and Protected Pen passwords are never stored there. The main catch: you need a CodePen Pro subscription for API v2 and the CodePen 2.0 editor.
Port Menu: Tracking Local Dev Servers from the macOS Menu Bar
When three projects and a couple of AI agents run at once, EADDRINUSE gets old faster than cold coffee. Eduard Wieandt built Port Menu (v0.8.10, MIT), an open-source native macOS menu bar app.
With zero setup, it scans local dev servers every few seconds and shows the Git repo name, branch, port, and uptime. A left click opens the URL in your browser, a right click copies it, and one button kills a hung server. Signed, notarized DMG builds are on GitHub. The hard limit: macOS 14 (Sonoma)+ only—there is no Linux or Windows support.
Stately Model-Based Testing: Auto-Generating Tests from State Machines
When AI agents write code faster than manual tests, checks tend to cover only the happy path while bugs hide on branches like a declined card followed by retry or cancel. Stately's model-based testing docs show how to model states as an XState machine and attach a sut adapter (send/read) so testPaths and assertTestCoverage automatically exercise every branch in node:test, Vitest, or Playwright.
# Install beta packages for XState and the test generator
npm install -D xstate@beta @xstate/test@beta
Next, describe the transition graph in a state machine—for example, a checkout screen handling card declines and retries:
import { createMachine } from 'xstate';
// Finite state machine for a checkout flow with decline and retry
export const checkoutModel = createMachine({
id: 'checkout',
initial: 'ready',
states: {
ready: { on: { PAY: 'paying', CANCEL: 'cancelled' } },
paying: {
on: {
PAYMENT_SUCCEEDED: 'paid',
PAYMENT_DECLINED: 'declined',
},
},
declined: { on: { RETRY: 'paying', CANCEL: 'cancelled' } },
paid: { type: 'final' },
cancelled: { type: 'final' },
},
});
One model illustrates the payoff: the same graph drives unit, API, and E2E tests while catching forgotten transitions. The cost is upkeep: xstate@beta and @xstate/test@beta are still in beta, you must keep the model synced with code, reset state between runs, and budget extra CI time for browser paths.




