build-verification
Installation
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-flightcommand
Actions
- Run Build Command:
- Execute
npm run buildto run the Eleventy build process - The build command runs:
rimraf public && eleventy - This cleans the
public/directory and rebuilds the site
- Execute