build-pipeline

Run six-stage build pipeline with fail-fast bun command chain.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sakataka/tetris-game2 --skill build-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-pipeline
Source: https://github.com/sakataka/tetris-game2/tree/main/.claude/skills/build-pipeline
Command: npx skills add https://github.com/sakataka/tetris-game2 --skill build-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Execute a complete build pipeline with fail-fast behavior to ensure code quality.

Core Features & Use Cases

  • Dead Code Detection (knip)
  • Formatting (format)
  • Linting (lint)
  • Type Checking (typecheck)
  • Testing (test)
  • Production Build (build)

Quick Start

Run the full pipeline with bun run knip && bun run format && bun run lint && bun run typecheck && bun test && bun run build

Frequently Asked Questions about build-pipeline

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

FAQPage Schema
How do I run a complete build pipeline with all checks in one command?

A build pipeline orchestrates multiple checks sequentially—dead code detection, formatting, linting, type checking, testing, and production build—in fail-fast order so the process stops at the first failure. Use bun run knip && bun run format && bun run lint && bun run typecheck && bun test && bun run build to execute all stages and produce a production bundle only after every check passes.

What does fail-fast execution mean in a build pipeline?

Fail-fast execution stops the pipeline immediately when any stage fails, preventing wasted time on later checks. This approach ensures you catch code quality issues—formatting problems, type errors, or test failures—before attempting a production build, saving resources and accelerating feedback.

Can I run individual build checks separately or must I run the full pipeline?

Individual checks can run separately using bun run knip, bun run format, bun run lint, bun run typecheck, bun test, or bun run build as standalone commands. The complete pipeline chains them together with fail-fast termination; choose individual commands for targeted validation during development and the full pipeline before production deployment.

What code quality issues does dead code detection catch in the build pipeline?

Dead code detection identifies unused imports, variables, functions, and types that clutter your codebase and slow compilation. Running knip as the first pipeline stage surfaces these issues early so you can remove unnecessary code before formatting, linting, and testing stages proceed.

Why should type checking run before testing in the build pipeline?

Type checking catches structural and type errors at compile time before runtime execution, eliminating entire categories of bugs that tests would otherwise surface. Running typecheck before test in the pipeline reduces test scope to logic validation and ensures type safety across your production build.

Does the build pipeline work with TypeScript projects?

Yes, the build pipeline is designed for TypeScript projects using bun as the runtime. It orchestrates typescript-aware checks—type checking, linting with TypeScript support, and testing—alongside formatting and dead code detection to validate and bundle TypeScript code for production.