Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

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.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
25.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

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

lintformat coderun code quality checks
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

  1. When to Apply
  2. Nexa Rules Gate
  3. Prerequisites
  4. Configuration
  5. Linting
  6. Formatting
  7. Order
  8. Verification
Sekcje z nagłówków SKILL.md, w oryginale · 78 linii, 279 słów
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

RepozytoriumWynikLicencja
Ta strona · nexadevapp/nexa-claude-skills-marketplace100Apache-2.0
nasrulhazim/claude100MIT
piomin/claude-ai-spring-boot100Apache-2.0
joris887/exosuit100MIT
BlackBeltTechnology/pi-agent-dashboard100MIT
wrongstack/wrongstack100MIT
microsoft/winappcli100MIT
oborchers/fractional-cto100MIT
piomin/claude-ai-quarkus100Apache-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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.