code-quality-check

Run pnpm format, lint, and typecheck on newly generated or modified code.

Updated Feb 4, 2025
One-click install
npx skills add https://github.com/DavidKk/vercel-web-scripts --skill code-quality-check-davidkk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality-check
Source: https://github.com/DavidKk/vercel-web-scripts/tree/main/.cursor/skills/code-quality-check
Command: npx skills add https://github.com/DavidKk/vercel-web-scripts --skill code-quality-check-davidkk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically enforces code quality after code generation or modification by performing formatting, linting, and type checking.

Core Features & Use Cases

  • Automatic formatting: formats code and fixes style issues
  • Linting and type checking: ensures code quality and type safety
  • Use Case: after generating a new component, automatically run format, lint, and typecheck to validate integrity

Quick Start

After you generate or modify code, configure your workflow to automatically run formatting, linting, and type-checking.

Frequently Asked Questions about code-quality-check

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

FAQPage Schema
How do I automatically run formatting, linting, and type checking after code generation?

To automatically run formatting, linting, and type checking after code generation, configure your development workflow to trigger this process, which executes pnpm format, pnpm lint, and pnpm typecheck on newly generated or modified code to enforce quality.

What is the best way to enforce code quality in a pnpm monorepo after changes?

The best way to enforce code quality in a pnpm monorepo after changes is to automate post-change validation by running pnpm format, pnpm lint, and pnpm typecheck, ensuring consistent formatting and type correctness across all modified files.

Does this automated code quality check work with my existing pnpm CI-CD pipeline?

Yes, this automated code quality check works with your existing pnpm CI-CD pipeline by invoking pnpm format, pnpm lint, and pnpm typecheck after code generation or modification to ensure lint adherence and type safety.

How do I fix lint and type errors after generating new components?

To fix lint and type errors after generating new components, automate post-change code quality checks that apply formatting, linting, and type checking to validate integrity and automatically fix style issues.

When should I automate type-check and lint adherence in my development workflow?

You should automate type-check and lint adherence in your development workflow whenever you require consistent formatting and type correctness across projects or monorepos after new code is generated or modified.