---
name: "oxc-javascript-tools-rust"
description: "Catch JavaScript and TypeScript bugs up to 50x faster than ESLint using Rust-based oxlint."
metadata:
  author: "Boshen"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "run oxlint cli"
  - "configure oxlint rules"
  - "fastest typescript linter oxlint"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Oxc High-Speed Rust JavaScript & TypeScript Linter (oxlint)

Executes oxlint from the Oxc suite: running instant AST linting, configuring .oxlintrc.json, category filtering (correctness, perf, suspicious, pedantic), and integrating into CI to slash lint check times.

## When to Invoke
Invoke this skill whenever you need to:
- run oxlint cli
- configure oxlint rules
- fastest typescript linter oxlint

## Execution SOP & Rules
1. Install CLI: pnpm add -D oxlint or run directly: npx oxlint.
2. Execute across directory: npx oxlint --deny-warnings src/.
3. Enable specific rule categories: npx oxlint -D correctness -A pedantic.
4. Review fast terminal diagnostics with highlighted line numbers and rule suggestions.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
