quality-check-all

MenadBt's avatarfrom MenadBt

Runs quality checks across all components (backend, frontend, landing). Use before creating PRs, merging, or to verify overall code quality.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 8, 2026

When & Why to Use This Skill

The 'quality-check-all' skill is a comprehensive automation tool designed to maintain high code standards across full-stack projects. It executes a unified quality gate by running formatting, linting, type-checking, and unit tests across backend, frontend, and landing page components simultaneously. By simulating CI/CD environments locally, it helps developers identify regressions and style inconsistencies before they reach production.

Use Cases

  • Pre-Pull Request Validation: Ensure all components (Python backend and TypeScript frontend) pass quality standards before code submission to prevent build failures in the main branch.
  • Full-Stack Consistency Checks: Verify that changes across different directories (back, front, landing) remain synchronized and meet project-wide linting and type-safety requirements.
  • Local CI/CD Simulation: Run the exact quality gates used in GitHub Actions locally to save time on remote pipeline execution and debug environment-specific issues like Docker or database dependencies.
  • Automated Code Formatting: Quickly resolve import errors and style violations across the entire repository using integrated tools like Ruff and Task.
namequality-check-all
descriptionRuns quality checks across all components (backend, frontend, landing). Use before creating PRs, merging, or to verify overall code quality.
allowed-toolsBash(task:*), Bash(pnpm:*), Bash(uv run:*)

Quality Check All

Runs quality checks across all components.

Quick Run

# Backend
cd back && task format && task tests

# Frontend
cd front && pnpm type-check && pnpm lint && pnpm test

# Landing
cd landing && pnpm type-check && pnpm lint

Component Checks

Backend

Check Command
Format cd back && task format
Lint cd back && uv run ruff check src tests
Tests cd back && task tests

Frontend

Check Command
TypeScript cd front && pnpm type-check
Lint cd front && pnpm lint
Tests cd front && pnpm test
Build cd front && pnpm build

Landing

Check Command
TypeScript cd landing && pnpm type-check
Lint cd landing && pnpm lint
Build cd landing && pnpm build

Pre-PR Checklist

Run all checks before creating a PR:

# 1. Backend
cd back
task format
task tests

# 2. Frontend
cd ../front
pnpm type-check
pnpm lint
pnpm test

# 3. Landing (if changed)
cd ../landing
pnpm type-check
pnpm lint

# 4. Verify builds work
cd ../front && pnpm build
cd ../landing && pnpm build

CI/CD Quality Gates

GitHub Actions runs these checks automatically:

  • Backend: lint, tests
  • Frontend: type-check, lint, tests, build
  • Landing: type-check, lint, build

Common Issues

Backend Test Failures

# Ensure Docker containers are running
docker compose up -d

# Reset database if needed
docker compose down && docker compose up -d

Frontend Type Errors

# Regenerate API types
cd front && pnpm run generate:api

Import Errors

# Fix imports automatically
cd back && task format
cd front && pnpm lint:fix