validate-before-bash

Community

Ensure build readiness

AuthorViperJuice
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents common build and type-checking failures by automatically verifying that the necessary tools, configuration files, and dependencies are in place before executing commands like tsc, dart analyze, flutter build, pytest, or cargo build.

Core Features & Use Cases

  • Pre-validation Checks: Verifies tool installation, presence of configuration files (e.g., tsconfig.json, pyproject.toml, Cargo.toml), and installed dependencies (e.g., node_modules, .venv).
  • Language Detection: Automatically detects the project's language (TypeScript, Python, Dart, Rust) or accepts an explicit language argument.
  • Use Case: Before running npm run build in a TypeScript project, you can run this skill to ensure Node.js, npx, tsconfig.json, and node_modules are all correctly set up, preventing cryptic errors later.

Quick Start

Run the preflight script to check the build environment for the current project.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: validate-before-bash
Download link: https://github.com/ViperJuice/dotfiles/archive/main.zip#validate-before-bash

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.