run-quality-checks

Run linting, type checking, formatting, and tests for Spark UI projects.

92|26|Updated Jan 26, 2023
One-click install
npx skills add https://github.com/leboncoin/spark-web --skill run-quality-checks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-quality-checks
Source: https://github.com/leboncoin/spark-web/tree/main/.cursor/skills/run-quality-checks
Command: npx skills add https://github.com/leboncoin/spark-web --skill run-quality-checks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the verification of code quality for Spark UI projects by running linting, type checking, formatting, tests, and accessibility checks to ensure PR readiness.

Core Features & Use Cases

  • Unified quality checks: Run lint, typecheck, formatting, unit tests, end-to-end tests, and accessibility checks in a single pipeline.
  • PR readiness: Validate code quality before commits or PR submissions to reduce review time.
  • Real-world scenario: When preparing a PR, execute the full suite to catch issues early and produce a clean report.

Quick Start

Use the following command to run all quality checks in one go: npm run lint && npm run typecheck && npm run prettier && npm run prettify && npm run test:run && npm run test:a11y

Frequently Asked Questions about run-quality-checks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run all code quality checks before submitting a PR?

You can run code quality checks for PR readiness by chaining npm scripts like lint, typecheck, prettier, and test:run in one command. This executes the full verification pipeline to catch issues before submission.

What does a full code quality pipeline include for Spark UI projects?

A full code quality pipeline for Spark UI projects includes linting, type checking, formatting, unit tests, end-to-end tests, and accessibility checks. It automates these verifications to reduce review time during development and CI workflows.

Can I run accessibility and end-to-end tests locally during development?

Yes, you can run accessibility and end-to-end tests locally using the test:a11y and test:e2e npm scripts. The pipeline supports local development alongside CI environments to validate code before commits.

Does this code quality verification tool work without external dependencies?

Yes, the code quality verification tool works without external dependencies. It relies entirely on existing npm scripts within your Spark UI project to execute the linting, typecheck, prettier, and testing pipeline.

What's the best way to automate lint and typecheck formatting in CI?

The best way to automate lint and typecheck formatting in CI is to run the combined npm script pipeline. It sequentially executes lint, typecheck, prettier, and test suites to produce a clean quality report for your commits.