Skip to main content

code-standards

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

ソース情報

リポジトリ
redpanda-data/console
ソースの最終更新活動
2026年9月16日 14:00
検出された SKILL.md の言語
英語
スター
4,336
フォーク
431

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
4 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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.
GitHubで見る