frontend/.claude/skills/code-standards/SKILL.md
TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
npx skillsauth add redpanda-data/console code-standardsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Write code that is accessible, performant, type-safe, and maintainable.
| Action | Rule |
|--------|------|
| Write components | react-functional-only.md |
| Async code | async-await-promises.md |
| Avoid legacy libs | no-legacy.md |
any types and top-level regex are enforced by Biome (noExplicitAny, useTopLevelRegex).
bun x ultracite fix # Format and fix
bun x ultracite check # Check for issues
bun x ultracite doctor # Diagnose setup
Most issues are auto-fixed:
bun x ultracite fix
console.log, console.debug, or console.info in production codeconsole.error and console.warn for actionable errorsif (IsDev) { ... }biome-ignore to suppress console warnings - remove the logs insteadSee rules/ directory for detailed guidance.
development
Review UI code for Web Interface Guidelines compliance
development
Build UI with Redpanda Registry components, Tailwind v4, and accessibility best practices.
testing
Write and maintain tests with Vitest v4 dual configuration, mock utilities, and Zustand store testing patterns.
development
Migrate React applications from React Router to TanStack Router with file-based routing. Use when user requests: (1) Router migration, (2) TanStack Router setup, (3) File-based routing implementation, (4) React Router replacement, (5) Type-safe routing, or mentions 'migrate router', 'tanstack router', 'file-based routes'.