Skip to content
Back to skills

Code Standards

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmentjavascripttypescriptjavabashreact

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill code-standards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Standards?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Standards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-code-standards/badge)](https://www.skillsdirectory.com/skills/david-li0406-code-standards)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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 |
|--------|------|
| 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

```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.

Files in this skill

  • SKILL.md1.2 KB
  • rules/async-await-promises.md2.1 KB
  • rules/no-legacy.md2.7 KB
  • rules/react-functional-only.md2.3 KB
  • rules/ts-no-any.md1.7 KB
  • rules/ts-use-unknown.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…