code-standards
TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
How do I install this agent skill?
npx skills add https://github.com/redpanda-data/console --skill code-standardsIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill installs and executes an external tool named ultracite using bun x. While this is the intended functionality for linting and formatting code, the package is not from a pre-verified trusted source, introducing a dependency risk.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
4/4 files flagged
What does this agent skill do?
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 setup
Quick Fix
Most issues are auto-fixed:
bun x ultracite fix
Console 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/redpanda-data/console/code-standards">View code-standards on skillZs</a>