Skip to main content

code-standards

TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.

Source facts

Repository
redpanda-data/console
Last source activity
September 16, 2026 at 14:00
Detected SKILL.md language
English
Stars
4,336
Forks
429

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
4 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
code-standards
description
TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
# Code Standards Write code that is accessible, performant, type-safe, and maintainable. ## Activation Conditions - Linting errors need fixing - Code formatting issues - Code review feedback - Questions about style guidelines ## Quick Reference | 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`). ## Commands ```bash bun x ultracite fix # Format and fix bun x ultracite check # Check for issues bun x ultracite doctor # Diagnose setup ``` ## Quick Fix Most issues are auto-fixed: ```bash bun x ultracite fix ``` ## Console Logging - **Never** use `console.log`, `console.debug`, or `console.info` in production code - Only use `console.error` and `console.warn` for actionable errors - For debug logging, wrap in `if (IsDev) { ... }` - Don't use `biome-ignore` to suppress console warnings - remove the logs instead ## Rules See `rules/` directory for detailed guidance.
View on GitHub