
❐ CN/EN · he/they-ish · bipolar I core @deploytovoid · x18n open sourcer. I build things that feel good to use.
- Tweets2K
- Following426
- Followers180
- Likes8.2K

ALT ICYMI: Oxfmt formats Astro files. Install the Astro compiler and set astro: true in your config. Oxc logo. Code example in shell, with line 2 highlighted: # Install the Astro compiler $ vp add -D @astrojs/compiler-rs # or: pnpm add -D @astrojs/compiler-rs # Set astro: true, then format $ vp fmt # or: pnpm oxfmt List: Frontmatter and <script> formatted natively; Works in your editor too; In Vite+, set it in the fmt block. Since Oxfmt 0.73.0, also in Vite+. Oxfmt does not bundle @astrojs/compiler-rs. Source: oxc.rs/docs/guide/usage/formatter/config-file-reference#astro.

ALT Let your agent test only what changed. Vitest 5.1 adds --since-last-run. Add it to your AGENTS.md. Code example, with lines 2 to 3 highlighted: # AGENTS.md - After a change, run `vitest run --since-last-run` to test only what the change affects. - Before you finish, run `vitest run` once for the whole suite. List: --changed runs tests for files changed since a Git ref; --since-last-run runs tests whose files changed since their last run; No Git needed, so it works in containers and worktrees. --since-last-run is experimental in Vitest 5.1. Source: vitest.dev/blog/vitest-5-1.


































