code-quality
/code-quality
Uruchamia oxlint i oxfmt na plikach TypeScript i JavaScript, naprawia błędy lintera, pilnuje limitów złożoności cyklomatycznej i ujednolica formatowanie.
- Autor
- nexadevapp ↗
- Repozytorium
- nexa-claude-skills-marketplace ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 25.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 25.09.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Uruchamia oxlint i oxfmt na plikach TypeScript i JavaScript, naprawia błędy lintera, pilnuje limitów złożoności cyklomatycznej i ujednolica formatowanie.
Wyzwalacze z opisu
Oryginalny opis (EN)
Runs oxlint and oxfmt on TypeScript/JavaScript files to fix lint errors, enforce cyclomatic complexity limits, and apply consistent formatting. Use when the user asks to "lint", "format code", "run code quality checks", or mentions code quality, formatting, or static analysis.
Jak działa
- When to Apply
- Nexa Rules Gate
- Prerequisites
- Configuration
- Linting
- Formatting
- Order
- Verification
Podgląd SKILL.md
---
name: code-quality
description: >
Runs oxlint and oxfmt on TypeScript/JavaScript files to fix lint errors,
enforce cyclomatic complexity limits, and apply consistent formatting.
Use when the user asks to "lint", "format code", "run code quality checks",
or mentions code quality, formatting, or static analysis.
---
# Code Quality — Oxc (oxlint + oxfmt)
## When to Apply
Run these checks after generating or modifying TypeScript/JavaScript files.
This applies to implementation code, test files, and any `.ts`/`.tsx`/`.js`/`.jsx` files.
It does **not** apply to Prisma schema files.
## Nexa Rules Gate
Read and follow `${CLAUDE_PLUGIN_ROOT}/shared/readiness/NEXA_RULES_GATE.md`.
## Prerequisites
Verify `oxlint` and `oxfmt` are available in the project:
```bash
npx oxlint --version
npx oxfmt --version
```
If not installed, add them:
```bash
npm install -D oxlint oxfmt
```
## Configuration
If the project does not yet have an `oxlintrc.json` at the root, create one:
```json
{
"rules": {
"eslint/complexity": ["warn", { "max": 10 }]
}
}
```
This enforces a cyclomatic complexity ceiling of 10 per function. Functions exceeding
this threshold must be refactored before the task is considered complete.
## Linting
Run oxlint with auto-fix on the source and test directories:
```bash
npx oxlint --fix --tsconfig tsconfig.json src/
```
- If there are remaining warnings or errors that cannot be auto-fixed, resolve them manually.
- **Cyclomatic complexity violations** (`eslint/complexity`): refactor the function —
extract helpers, use early returns, or simplify conditional logic.
## Formatting
Format all changed files with oxfmt:
```bash
npx oxfmt --write src/
```
## Order
1. **Lint first** — `oxlint --fix` (fixes code issues, reports complexity violations)
2. **Format last** — `oxfmt --write` (normalizes style without changing semantics)
This order matters because the formatter may reformat the linter's fixes, but not vice versa.
## Verification
The skill is complete when:
- `npx oxlint --tsconfig tsconfig.json src/` exits with **0 errors and 0 warnings**
- `npx oxfmt --check src/` exits with code **0** (all files already formatted)
- No function exceeds cyclomatic complexity of 10
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · nexadevapp/nexa-claude-skills-marketplace | 100 | Apache-2.0 |
| nasrulhazim/claude | 100 | MIT |
| piomin/claude-ai-spring-boot | 100 | Apache-2.0 |
| joris887/exosuit | 100 | MIT |
| BlackBeltTechnology/pi-agent-dashboard | 100 | MIT |
| wrongstack/wrongstack | 100 | MIT |
| microsoft/winappcli | 100 | MIT |
| oborchers/fractional-cto | 100 | MIT |
| piomin/claude-ai-quarkus | 100 | Apache-2.0 |
Migawka bazy z 28.10.2026 · wersja paczki 1146097874e3 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100migrate-oxlint
Prowadzi migrację lintera w projekcie JavaScript lub TypeScript z ESLint na Oxlint. - 100setup-quality-ci
Generuje workflow GitHub Actions, który blokuje pull requesty przy błędach oxlint, oxfmt i pokryciu testów Vitest poniżej progu. - 96dot-agent-oxlint
Uruchamia doradczy przebieg Oxlint na zmienionych plikach JavaScript i TypeScript w repozytoriach zarządzanych przez dot. - 100migrate-oxfmt
Prowadzi migrację formatera w projekcie JavaScript lub TypeScript z Prettier lub Biome na Oxfmt. - 100sfnext-quality-gates
Uruchamia i naprawia bramki jakości Storefront Next przed PR lub wdrożeniem: OxLint, formatowanie Biome, lint:a11y, lint:css, typecheck, budżety bundla, Lighthouse CI i listę kontrolną. - 100oxlint
Uruchamia linting JavaScript i TypeScript narzędziem oxlint, linterem w Rust szybszym 50 do 100 razy od ESLint, z konfiguracją reguł, migracją z ESLint, wtyczkami frameworków i integracją z CI.