Claude-skill-registry build-pipeline
Execute complete build pipeline with dead code detection, formatting, linting, type checking, testing, and production build. Use when the user mentions building, running the full pipeline, checking code quality, or preparing for deployment. Auto-triggers on phrases like "build the project", "run all checks", "prepare for production", or "validate code quality".
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/build-pipeline" ~/.claude/skills/majiayu000-claude-skill-registry-build-pipeline-64fa35 && rm -rf "$T"
manifest:
skills/data/build-pipeline/SKILL.mdsource content
Project Build Pipeline
Execute a comprehensive build pipeline with fail-fast behavior for the Tetris project.
Pipeline Steps (6 stages)
- Dead Code Detection (
) - Identify unused code, exports, and dependenciesbun run knip - Code Formatting (
) - Apply consistent code style via Biomebun run format - Linting (
) - Perform code quality checks and import optimizationbun run lint - Type Checking (
) - Validate TypeScript type safetybun run typecheck - Testing (
) - Execute all test suites (160+ tests)bun test - Production Build (
) - Create optimized production bundlebun run build
Execution
# Execute full pipeline with fail-fast behavior bun run knip && \ bun run format && \ bun run lint && \ bun run typecheck && \ bun test && \ bun run build
The pipeline uses
&& operator to ensure immediate termination upon any step failure.
Pipeline Rationale
- knip (first): Detect unused code early to reduce processing time
- format (second): Ensure consistent code style before quality checks
- lint (third): Check code quality on properly formatted code
- typecheck (fourth): Verify type safety after code structure validation
- test (fifth): Confirm functionality with comprehensive test suite
- build (last): Generate production bundle only when all gates pass
When This Skill Activates
- "Build the project"
- "Run all checks"
- "Prepare for production"
- "Validate code quality"
- "Execute the full pipeline"
- "Check if everything is ready to deploy"