Run quality checks

From leboncoin/spark-web · View interactive version

Run quality checks is an AI agent skill from the GitHub repository leboncoin/spark-web. Run all quality checks including linting, type checking, and tests. Use when the user wants to verify code quality, before committing, or when preparing a PR.

How to use this skill

Skill file

Run Quality Checks

Execute all code quality checks for the Spark UI project.

When to Use

Instructions

  1. Linting:

```bash

npm run lint

```

Checks code style and quality with Oxlint.

  1. Type Checking:

```bash

npm run typecheck

```

Verifies TypeScript types are correct.

  1. Formatting:

```bash

npm run format

```

Writes formatted source with Oxfmt.

  1. Formatting (check only):

```bash

npm run format:check

```

Verifies formatting without modifying files.

  1. Lint and format:

```bash

npm run prettify

```

Runs lint, then applies Oxfmt.

  1. Tests:

```bash

npm run test:run

```

Runs all unit tests.

  1. Test Coverage:

```bash

npm run test:coverage

```

Generates coverage report.

  1. E2E Tests:

```bash

npm run test:e2e

```

Runs end-to-end tests with Playwright.

  1. Accessibility Tests:

```bash

npm run test:a11y

```

Runs accessibility tests.

Complete Quality Pipeline

For a complete check before PR:

npm run lint && npm run format:check && npm run typecheck && npm run test:run && npm run test:a11y
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.