CO

Enforces best practices and code standards for React and TypeScript projects using Biome.

Install

mkdir -p .claude/skills/code-standards && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2662" && unzip -o skill.zip -d .claude/skills/code-standards && rm skill.zip

Installs to .claude/skills/code-standards

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
77 charsno explicit “when” trigger
Beginner

Key capabilities

  • Format and fix code style violations
  • Check for linting and style issues
  • Diagnose project setup configuration
  • Enforce specific rules for React components and async code

How it works

The tool uses Biome to enforce TypeScript, React, and JavaScript standards. It provides commands to automatically fix style issues or check for violations.

Inputs & outputs

You give it
Source code files
You get back
Formatted code or diagnostic report

When to use code-standards

  • Fix linting errors in React components
  • Reformat codebase to match project standards
  • Diagnose project setup issues

About this 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

ActionRule
Write componentsreact-functional-only.md
Async codeasync-await-promises.md
Avoid legacy libsno-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, 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.

When not to use it

  • When production code requires console logging
  • When suppressing console warnings via biome-ignore

Limitations

  • Prohibits use of console.log, console.debug, and console.info in production
  • Enforces specific rules like noExplicitAny and useTopLevelRegex

How it compares

Unlike manual linting, this tool provides an automated doctor command to diagnose and fix project setup issues.

Compared to similar skills

code-standards side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-standards (this skill)25moReviewBeginner
js-tosorted-immutable16moNo flagsBeginner
writing-react-effects13moNo flagsIntermediate
rerender-functional-setstate16moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by redpanda-data

View all by redpanda-data

react-best-practices

redpanda-data

Client-side React performance optimization patterns.

2244

bloblang-authoring

redpanda-data

This skill should be used when users need to create or debug Bloblang transformation scripts. Trigger when users ask about transforming data, mapping fields, parsing JSON/CSV/XML, converting timestamps, filtering arrays, or mention "bloblang", "blobl", "mapping processor", or describe any data transformation need like "convert this to that" or "transform my JSON".

12

component-search

redpanda-data

This skill should be used when users need to discover Redpanda Connect components for their streaming pipelines. Trigger when users ask about finding inputs, outputs, processors, or other components, or when they mention specific technologies like "kafka consumer", "postgres output", "http server", or ask "which component should I use for X".

12

e2e-tester

redpanda-data

Write and run Playwright E2E tests for Redpanda Console using testcontainers. Analyzes test failures, adds missing testids, and improves test stability. Use when user requests E2E tests, Playwright tests, integration tests, test failures, missing testids, or mentions 'test workflow', 'browser testing', 'end-to-end', or 'testcontainers'.

13

form-refactorer

redpanda-data

Refactor legacy forms to use modern Redpanda UI Registry Field components with react-hook-form and Zod validation. Use when user requests: (1) Form refactoring or modernization, (2) Converting Chakra UI or @redpanda-data/ui forms, (3) Updating forms to use Field components, (4) Migrating from legacy form patterns, (5) Implementing forms with react-hook-form and Zod validation.

13

pipeline-assistant

redpanda-data

This skill should be used when users need to create or fix Redpanda Connect pipeline configurations. Trigger when users mention "config", "pipeline", "YAML", "create a config", "fix my config", "validate my pipeline", or describe a streaming pipeline need like "read from Kafka and write to S3".

13

You might also like

Search skills

Search the agent skills registry