RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/CLAUDE.md/wodsmith/thewodapp

CLAUDE.md

.claude/hooks/CLAUDE.md

Use Bun instead of Node.js, npm, pnpm, or vite.

CLAUDE.md

Quality

73/100

Scores the file, not the repository.

Length

336 words

3 headings · 5 code blocks

Repository

2

— · pushed 2 days ago

Last changed

3 days ago

First indexed 3 days ago.
wodsmith/thewodapp/.claude/hooks/CLAUDE.mdRawGitHub
1---
2description: Use Bun instead of Node.js, npm, pnpm, or vite.
3globs: "*.ts, *.tsx, *.html, *.css, *.js, *.jsx, package.json"
4alwaysApply: false
5---
6 
7Default to using Bun instead of Node.js.
8 
9- Use `bun <file>` instead of `node <file>` or `ts-node <file>`
10- Use `bun test` instead of `jest` or `vitest`
11- Use `bun build <file.html|file.ts|file.css>` instead of `webpack` or `esbuild`
12- Use `bun install` instead of `npm install` or `yarn install` or `pnpm install`
13- Use `bun run <script>` instead of `npm run <script>` or `yarn run <script>` or `pnpm run <script>`
14- Bun automatically loads .env, so don't use dotenv.
15 
16## APIs
17 
18- `Bun.serve()` supports WebSockets, HTTPS, and routes. Don't use `express`.
19- `bun:sqlite` for SQLite. Don't use `better-sqlite3`.
20- `Bun.redis` for Redis. Don't use `ioredis`.
21- `Bun.sql` for Postgres. Don't use `pg` or `postgres.js`.
22- `WebSocket` is built-in. Don't use `ws`.
23- Prefer `Bun.file` over `node:fs`'s readFile/writeFile
24- Bun.$`ls` instead of execa.
25 
26## Testing
27 
28Use `bun test` to run tests.
29 
30```ts#index.test.ts
31import { test, expect } from "bun:test";
32 
33test("hello world", () => {
34 expect(1).toBe(1);
35});
36```
37 
38## Frontend
39 
40Use HTML imports with `Bun.serve()`. Don't use `vite`. HTML imports fully support React, CSS, Tailwind.
41 
42Server:
43 
44```ts#index.ts
45import index from "./index.html"
46 
47Bun.serve({
48 routes: {
49 "/": index,
50 "/api/users/:id": {
51 GET: (req) => {
52 return new Response(JSON.stringify({ id: req.params.id }));
53 },
54 },
55 },
56 // optional websocket support
57 websocket: {
58 open: (ws) => {
59 ws.send("Hello, world!");
60 },
61 message: (ws, message) => {
62 ws.send(message);
63 },
64 close: (ws) => {
65 // handle close
66 }
67 },
68 development: {
69 hmr: true,
70 console: true,
71 }
72})
73```
74 
75HTML files can import .tsx, .jsx or .js files directly and Bun's bundler will transpile & bundle automatically. `<link>` tags can point to stylesheets and Bun's CSS bundler will bundle.
76 
77```html#index.html
78<html>
79 <body>
80 <h1>Hello, world!</h1>
81 <script type="module" src="./frontend.tsx"></script>
82 </body>
83</html>
84```
85 
86With the following `frontend.tsx`:
87 
88```tsx#frontend.tsx
89import React from "react";
90 
91// import .css files directly and it works
92import './index.css';
93 
94import { createRoot } from "react-dom/client";
95 
96const root = createRoot(document.body);
97 
98export default function Frontend() {
99 return <h1>Hello, world!</h1>;
100}
101 
102root.render(<Frontend />);
103```
104 
105Then, run index.ts
106 
107```sh
108bun --hot ./index.ts
109```
110 
111For more information, read the Bun API docs in `node_modules/bun-types/docs/**.md`.
112 

Commands it names

  • bun <file>
  • node <file>
  • bun test
  • jest
  • vitest
  • bun build <file.html|file.ts|file.css>
  • bun install
  • npm install
  • yarn install
  • pnpm install
  • bun run <script>
  • npm run <script>
  • yarn run <script>
  • pnpm run <script>
  • bun:sqlite
  • node:fs

Sections

  • APIs
  • Testing
  • Frontend

What it covers

setuptestcode-style

Stack — with the evidence

typescript

(1.00)

node

(1.00)

biome

(1.00)

vitest

(0.95)

bun

(0.85)

pnpm

(0.85)

react

(0.70)

hono

(0.70)

drizzle

(0.70)

tailwind

(0.70)

vite

(0.70)

playwright

(0.70)

cloudflare

(0.70)

javascript

(0.60)

turborepo

(0.60)

monorepo

(0.60)

eslint

(0.60)

github-actions

(0.60)

Glob targeting

  • *.ts
  • *.tsx
  • *.html
  • *.css
  • *.js
  • *.jsx
  • package.json

Format

CLAUDE.md

Claude Code's memory file. Shaped like AGENTS.md but with two things it lacks: @path imports, so shared rules live in one place, and a user-scope layer that follows the developer across repos rather than shipping with the code.

What the corpus says about it

Repository

Owner
wodsmith
Language
—
License
—
Archived
no

All configs in this repo

Also in wodsmith/thewodapp

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
wodsmith/thewodapp.cursorrules · 2.cursorrulestypescriptbiome+15testlint-formatstylearch+464/1003 days ago
wodsmith/thewodappAGENTS.md · 2AGENTS.mdtypescriptbiome+15teststylearchdo-not+173/1003 days ago
wodsmith/thewodappCLAUDE.md · 2CLAUDE.mdtypescriptbiome+15buildtestlint-formatstyle+796/1003 days ago
Diff against .cursorrules Diff against AGENTS.md Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
Adit-Jain-srm/NightmareNetCLAUDE.md · 45CLAUDE.mdtypescriptpython+18buildtestlint-formatstyle+6100/1003 days ago
bagisto/bagistoCLAUDE.md · 28kCLAUDE.mdphplaravel+8setupbuildteststyle+5100/1003 days ago
microsoft/playwrightCLAUDE.md · 94kCLAUDE.mdtypescriptjavascript+10buildtestlint-formatstyle+7100/1003 days ago
dotCMS/corecore-web/CLAUDE.md · 949CLAUDE.mdjavanode+13teststylearchtesting-strategy+3100/1003 days ago
nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4kCLAUDE.mdtypescriptnode+16setupbuildstylearch+2100/1003 days ago
filamentphp/filamentCLAUDE.md · 32kCLAUDE.mdphplaravel+5buildtestlint-formatstyle+7100/1003 days ago
dotCMS/coreCLAUDE.md · 949CLAUDE.mdjavanode+9setupbuildteststyle+799/100today
lollipopkit/flutter_server_boxCLAUDE.md · 8.3kCLAUDE.mddartflutter+8buildteststylearch+298/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack