package-scripts

Document pnpm scripts for lint, typecheck, test, format, dev, and build.

23|3|Updated Jun 28, 2022
One-click install
npx skills add https://github.com/Esposter/Esposter --skill package-scripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: package-scripts
Source: https://github.com/Esposter/Esposter/tree/main/.agents/skills/package-scripts
Command: npx skills add https://github.com/Esposter/Esposter --skill package-scripts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a centralized reference for commonly used pnpm scripts in packages/app, ensuring consistent commands across teams and CI by documenting lint, typecheck, test, format, dev, and build routines.

Core Features & Use Cases

  • Comprehensive script catalog: Lint, lint:fix, typecheck, test, format, dev, and build commands for packages/app.
  • Guidance for usage: Clear instructions on when to run each script in development, CI, and PR workflows.
  • On-demand help: Quick-start examples and a registry-like reference for new contributors.

Quick Start

From the repository root, install dependencies with pnpm i and start using the documented scripts such as lint, typecheck, test, format, dev, and build.

Frequently Asked Questions about package-scripts

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

FAQPage Schema
How do I standardize pnpm scripts for lint, typecheck, and build across packages and apps?

Standardize pnpm scripts by documenting lint, typecheck, test, format, dev, and build commands in a centralized reference to ensure consistent usage across development, CI, and release workflows.

What pnpm commands should I run for typecheck and lint during CI workflows?

For CI workflows, run the documented typecheck and lint scripts to enforce code quality and catch errors early. The catalog provides explicit commands to ensure predictable automation across PR and release pipelines.

How do I speed up onboarding for new contributors using a pnpm monorepo?

Speed onboarding by providing a registry-like reference of pnpm scripts. New contributors can use quick-start examples to run dev, build, and format commands consistently without guessing the correct syntax.

Does this pnpm script guide cover both development and release workflows?

Yes, the pnpm script guide covers development, CI, and release workflows. It documents when to run scripts like lint, typecheck, test, format, dev, and build across these environments for predictable automation.

What is the best way to manage package scripts for consistent formatting and testing in pnpm?

The best way to manage package scripts is using a single source of truth that documents format and test commands. This ensures team consistency and predictable automation when executing pnpm routines.

Why do I need a centralized reference for pnpm scripts instead of using package.json directly?

A centralized reference prevents command drift across teams and CI by providing explicit usage guidelines for lint, typecheck, and build routines, whereas package.json alone lacks the contextual instructions for when to run each script.