Basic information
About code-standards
TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
code-standards is an agent skill listed in the AddMCP.net directory, published by redpanda-data. Runtime: TypeScript. The repository has 4,349 GitHub stars. Source code is hosted on github.com. Related topics: apache-kafka, dataops, go, kafka, kafka-gui.
Overview
What is code-standards?
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
bun x ultracite fix # Format and fix
bun x ultracite check # Check for issues
bun x ultracite doctor # Diagnose setupQuick Fix
Most issues are auto-fixed:
bun x ultracite fixConsole Logging
- Never use
console.log,console.debug, orconsole.infoin production code - Only use
console.errorandconsole.warnfor actionable errors - For debug logging, wrap in
if (IsDev) { ... } - Don't use
biome-ignoreto suppress console warnings - remove the logs instead
Rules
See rules/ directory for detailed guidance.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In