2bbb/openframeworks-skills/of-build-test
Claude Code and agent skill by 2bbb/openframeworks-skills
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
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-testSemi-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
- Identify the project directory containing
Makefile,src/, and usuallyaddons.make. - Read
references/build-test-guide.mdbefore changing build/test commands, headless behavior, screenshot capture, or ofxUnitTests structure. - 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 ``
- Inspect both exit code and generated logs before claiming success.
- 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.
- For visual verification, make the app save an artifact from
draw()or an FBO readback, emit an explicit result marker, callofExit(status), then inspect exit status, logs, and image output.
Command patterns
- Build Release:
make -j2 Releaseormake -j2when the project defaults are acceptable. - Build Debug:
make -j2 Debug. - Run via make:
make RunReleaseormake RunDebug. - Run direct macOS executable:
bin/AppName.app/Contents/MacOS/AppName. - Run direct Linux executable:
bin/AppNameorbin/AppName_debug; usexvfb-runon 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
ofxUnitTeststo the test appaddons.make. - Inherit from
ofxUnitTestsAppand overriderun(). - Use
ofAppNoWindowinmain.cppfor headless tests. - Normalize
ofRunMainLoop()to0/1before returning frommain; 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 inreferences/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.appexecutables, and can usexvfb-runon 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
- SKILL.md in the repositoryCheckingskills/of-build-test/SKILL.md
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
[](https://verified-skill.com/skills/2bbb/openframeworks-skills/of-build-test)