smithery.ai

build-verification

Verify build succeeds before commits

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,154 B
  • docs SUMMARY.md 62 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Build Verification Skill

This skill verifies that the Eleventy build succeeds without errors before allowing commits.

Purpose

Verify that the build process completes successfully, ensuring no build errors occur before the user commits changes.

Trigger Conditions

  • Automatic: Before git commits (via commit protocol)
  • Manual: Invoked by /pre-flight command

Actions

  1. Run Build Command:

- Execute npm run build to run the Eleventy build process - The build command runs: rimraf public && eleventy - This cleans the public/ directory and rebuilds the site

  1. Monitor Build Output:

- Capture build output and errors - Check for: - Build failures - Template errors - Missing files or assets - Syntax errors in Markdown or Nunjucks files - SCSS compilation errors - JavaScript bundling errors

  1. Report Results:

- If build succeeds: Confirm success and allow commit to proceed - If build fails: - Display error messages - Identify the file(s) causing the error - Suggest fixes if possible - Block commit until errors are resolved

  1. Error Handling:

- Parse error messages to identify: - File paths with errors - Line numbers if available - Error types (syntax, missing file, etc.) - Provide actionable error messages to the user

Implementation Details

  • Run build in non-interactive mode
  • Capture both stdout and stderr
  • Parse Eleventy error output format
  • Check exit code to determine success/failure

Build Process

The build process:

  1. Removes existing public/ directory
  2. Runs Eleventy to generate static site
  3. Processes all Markdown, Nunjucks, SCSS, and JavaScript files
  4. Outputs to public/ directory

Notes

  • Build must succeed before any commit
  • This prevents broken builds from being committed
  • Part of the commit protocol defined in .agent/rules.md
  • Can be run manually with /pre-flight command for testing
  • Build errors should be fixed before proceeding with commit