build-npm

Execute npm/npx builds and parse errors from TypeScript, Jest, ESLint, and TAP.

4|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/cuioss/plan-marshall --skill build-npm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-npm
Source: https://github.com/cuioss/plan-marshall/tree/main/marketplace/bundles/plan-marshall/skills/build-npm
Command: npx skills add https://github.com/cuioss/plan-marshall --skill build-npm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

npm/npx build operations can be complex and error-prone to orchestrate. This Skill provides a deterministic workflow to execute npm/npx commands, route commands automatically to npm or npx, capture all output to a log file, and parse results with a multi-parser architecture to surface structured errors and coverage information.

Core Features & Use Cases

  • Orchestrates npm and npx commands across workspaces with automated log capture to .plan/temp/build-output.
  • Parses outputs from TypeScript, Jest, ESLint, and TAP to categorize errors (compilation_error, test_failure, npm_error) and provide a unified view.
  • Includes a built-in JavaScript coverage analysis workflow and supports both JSON and LCOV formats for reporting.

Quick Start

Use the primary API to execute an npm build with your targets and rely on automatic parsing to surface failures and summaries.

Frequently Asked Questions about build-npm

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

FAQPage Schema
How do I capture and parse npm build errors for TypeScript and Jest?

You can capture and parse npm build errors by executing commands with automated log routing and a multi-parser architecture. This approach surfaces structured compilation errors and test failures from TypeScript, Jest, ESLint, and TAP outputs for immediate insight.

What is the best way to automate npx command execution in a Node.js monorepo?

Automating npx command execution in a Node.js monorepo requires a deterministic workflow that routes commands automatically to npm or npx. This ensures reliable orchestration across workspaces while capturing all output to a designated log file.

Can I extract JavaScript code coverage reports from npm build logs?

Yes, you can extract JavaScript code coverage reports from npm build logs using a built-in analysis workflow. It supports parsing both JSON and LCOV formats to generate detailed, categorized coverage reporting alongside structured error extraction.

Does automated npm build execution support timeout handling?

Automated npm build execution supports deterministic command execution with timeout handling and adaptive learning. This prevents stalled processes in CI pipelines by terminating unresponsive builds based on historically adjusted time limits.

How do I categorize npm errors versus test failures in CI log analysis?

You can categorize npm errors versus test failures in CI log analysis by applying a multi-parser architecture to the captured output. It distinctly classifies compilation errors, test failures, and npm errors to provide a unified, structured view.