2bbb/openframeworks-skills/of-build-test

Claude Code and agent skill by 2bbb/openframeworks-skills

Trust tier 3
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Build, run, test, benchmark, log, and visually verify openFrameworks apps/addons. Use when Codex needs practical oF make build commands, layered verification-gate selection, deterministic self-terminating smoke runs, stdout/stderr capture, macOS .app execution, Linux xvfb/headless execution, ofSaveScreen/ofSaveImage artifacts, performance evidence, or ofxUnitTests patterns.

Install

npx vskill@latest install 2bbb/openframeworks-skills/of-build-test

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as 2bbb/openframeworks-skills/of-build-test.

openFrameworks Build/Test

Use this skill to turn an oF project or addon test app into a verified build/run result with logs and optional image artifacts.

Workflow

  1. Identify the project directory containing Makefile, src/, and usually addons.make.
  2. Read references/build-test-guide.md before changing build/test commands, headless behavior, screenshot capture, or ofxUnitTests structure.
  3. Prefer the bundled script for repeatable command capture:

``bash skills/of-build-test/scripts/of-build-run.sh --project path/to/app --target Debug --run --log-dir build-logs ``

  1. Inspect both exit code and generated logs before claiming success.
  2. Match verification layers to the claim: static checks, pure/headless tests, public-header compile, Debug/Release builds, runtime smoke, visual artifact, and performance measurement are separate evidence.
  3. For visual verification, make the app save an artifact from draw() or an FBO readback, emit an explicit result marker, call ofExit(status), then inspect exit status, logs, and image output.

Command patterns

  • Build Release: make -j2 Release or make -j2 when the project defaults are acceptable.
  • Build Debug: make -j2 Debug.
  • Run via make: make RunRelease or make RunDebug.
  • Run direct macOS executable: bin/AppName.app/Contents/MacOS/AppName.
  • Run direct Linux executable: bin/AppName or bin/AppName_debug; use xvfb-run on headless Linux if the app opens a window.
  • Capture logs with shell redirection or the bundled script; keep stdout and stderr separate when diagnosing.

ofxUnitTests quick pattern

Use ofxUnitTests when tests need assertions and process exit status:

  • Add ofxUnitTests to the test app addons.make.
  • Inherit from ofxUnitTestsApp and override run().
  • Use ofAppNoWindow in main.cpp for headless tests.
  • Normalize ofRunMainLoop() to 0/1 before returning from main; a raw failed-test count can wrap to zero on POSIX (e.g. 256 failures). Require logs/result evidence too; nonzero can mean assertions, setup failure, or a crash. See the corrected main pattern in references/build-test-guide.md.

Bundled resources

  • references/build-test-guide.md — grounded command/reference details with source-path evidence.
  • scripts/of-build-run.sh — build/run wrapper that captures stdout/stderr, handles macOS .app executables, and can use xvfb-run on Linux.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/2bbb/openframeworks-skills/of-build-test/badge)](https://verified-skill.com/skills/2bbb/openframeworks-skills/of-build-test)

Something wrong with this skill or its page? Tell us.