ReviewOS

also looking at this

stacks/ts-css

Merge @stacksjs/ts-css into this repo as packages/toolkit

#27
Merged glennmichael123 wants to merge merge/ts-css-toolkit into main
128 files +9797 -201
packages/toolkit/CLAUDE.mdadded+23-0
Changes to packages/toolkit/CLAUDE.md
@@ -0,0 +1,23 @@
1# Claude Code Guidelines
2
3## Linting
4
5- Use **pickier** for linting — never use eslint directly
6- Run `bunx --bun pickier .` to lint, `bunx --bun pickier . --fix` to auto-fix
7- When fixing unused variable warnings, prefer `// eslint-disable-next-line` comments over prefixing with `_`
8
9## Frontend
10
11- Use **stx** for templating — never write vanilla JS (`var`, `document.*`, `window.*`) in stx templates
12- Use **crosswind** as the default CSS framework which enables standard Tailwind-like utility classes
13- stx `<script>` tags should only contain stx-compatible code (signals, composables, directives)
14
15## Dependencies
16
17- **buddy-bot** handles dependency updates — not renovatebot
18- **better-dx** provides shared dev tooling as peer dependencies — do not install its peers (e.g., `typescript`, `pickier`, `bun-plugin-dtsx`) separately if `better-dx` is already in `package.json`
19- If `better-dx` is in `package.json`, ensure `bunfig.toml` includes `linker = "hoisted"`
20
21## Commits
22
23- Use conventional commit messages (e.g., `fix:`, `feat:`, `chore:`)