sd-check

Run typechecks, linting, and tests across pnpm workspace projects.

2|2|Updated Jul 10, 2024
One-click install
npx skills add https://github.com/kslhunter/simplysm --skill sd-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sd-check
Source: https://github.com/kslhunter/simplysm/tree/main/.claude/skills/sd-check
Command: npx skills add https://github.com/kslhunter/simplysm --skill sd-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This capability automates code quality verification by running typechecks, linting, and tests across a codebase, helping teams catch issues earlier and maintain consistency.

Core Features & Use Cases

  • Project-wide verification: Run typecheck, lint, and tests across the entire repository to ensure baseline quality.
  • Targeted checks: Verify specific packages or paths (e.g., packages/core-common) to isolate failures and speed up feedback.
  • Pre-checks and guided execution: Validates the environment (pnpm workspace, required scripts, Vitest config) before running checks, and provides actionable results.

Quick Start

Run the suite of checks against the entire project or a specific path with a single command

Frequently Asked Questions about sd-check

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

FAQPage Schema
How do I automate TypeScript typechecks, lint, and Vitest tests in a pnpm monorepo?

You can automate typechecks, lint, and tests by running a single command that executes your pnpm workspace scripts and Vitest configuration across the entire codebase or targeted packages.

Can I run lint and typecheck scripts on a specific package instead of the whole project?

Yes, you can run targeted checks on specific paths like packages/core-common to isolate failures and speed up feedback, rather than validating the entire repository at once.

What do I need in my pnpm workspace to run automated code quality checks?

You need a pnpm workspace with typecheck and lint scripts configured, along with a Vitest configuration, to successfully execute the automated verification suite.

What is the best way to verify code quality across multiple packages before committing?

Running project-wide verification executes typecheck, lint, and test scripts across your repository to establish a baseline quality standard and catch issues earlier.

Why does my automated typecheck and lint execution fail in my workspace?

The execution fails if required environment conditions are missing, such as a valid pnpm workspace, necessary typecheck and lint scripts, or a Vitest configuration.

Does sd-check work with Vitest and pnpm for continuous code quality verification?

Yes, sd-check validates the pnpm workspace environment and Vitest configuration before running typecheck, lint, and test scripts to provide actionable results for your codebase.