validate-build

Compile YARS builds and compare braitenberg logs against reference outputs.

3|1|Updated Jul 27, 2016
One-click install
npx skills add https://github.com/kzahedi/YARS --skill validate-build-kzahedi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-build
Source: https://github.com/kzahedi/YARS/tree/main/.claude/skills/validate-build
Command: npx skills add https://github.com/kzahedi/YARS --skill validate-build-kzahedi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill ensures that code changes haven't broken YARS simulation functionality by running a representative test and comparing the logfile output.

Core Features & Use Cases

  • Full Build Validation: Compile YARS in ./build and run tests to verify integrity.
  • Logfile Comparison: Compare generated braitenberg logs against reference outputs.
  • Quality Gate: Fails CI if build or test diverges from expected results.

Quick Start

cd build echo "Checking dependencies..." brew list boost xerces-c bullet sdl2 2>/dev/null || echo "Missing dependencies - install with: brew install boost xerces-c bullet sdl2" cmake -DCMAKE_PREFIX_PATH=/opt/homebrew .. && make -j4 if [ ! -f ./bin/yars ]; then echo "Build failed - binary not created" exit 1 fi timeout 60s ./bin/yars --iterations 1000 --xml ../xml/braitenberg_logging.xml diff braitenberg-*.csv ../reference_logfile.csv