code-standards

📁 redpanda-data/console 📅 Jan 24, 2026
29
总安装量
10
周安装量
#12871
全站排名
安装命令
npx skills add https://github.com/redpanda-data/console --skill code-standards

Agent 安装分布

gemini-cli 8
claude-code 7
opencode 6
antigravity 5
codex 5
github-copilot 5

Skill 文档

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
Avoid any ts-no-any.md
Handle unknowns ts-use-unknown.md
Write components react-functional-only.md
Async code async-await-promises.md
Avoid legacy libs no-legacy.md

Commands

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:

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.