From plugin-gemc3
Verify a user's GEMC3 Apptainer runtime by running installed GEMC examples, or explicitly validate upstream GEMC source builds when requested. Use when the user asks to test GEMC3, check a GEMC3 container, run GEMC examples, test GEMC source, or diagnose smoke/source-test failures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/plugin-gemc3:gemc3-testerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use the repository scripts to verify that GEMC3 can initialize and run installed basic and optical examples in the user's configured Apptainer container. When the user explicitly asks to test GEMC source, use the first-class source-test command instead of hand-assembling clone, build, install, and smoke commands.
Use the repository scripts to verify that GEMC3 can initialize and run installed basic and optical examples in the user's configured Apptainer container. When the user explicitly asks to test GEMC source, use the first-class source-test command instead of hand-assembling clone, build, install, and smoke commands.
This procedure is agent-neutral Markdown. Codex can discover it through the plugin manifest, and other coding agents can use it by reading this file from the repo. It is for operational smoke/source-build validation only; do not treat passing tests as physics validation.
scripts/setup_project_docs.sh
AGENTS.md, CLAUDE.md, and docs/smoke_tests.md.command -v apptainerapptainer pull, unless the cached SIF already exists.scripts/gemc3_apptainer.sh --pull-latest, report the current cached image path, mtime, size, provenance if known, and proposed image URI, then ask the user for permission.scripts/gemc3_apptainer.sh gemc --help
scripts/run_smoke_tests.sh
results/gemc3_smoke/<timestamp>/summary.md.gemc.err, stderr.log, or stdout.logUse this only when the user explicitly asks to test GEMC source.
If the user says "test latest GEMC3 source" or similar, interpret "latest source" as the current GitHub HEAD of https://github.com/gemc/src, not the GEMC binary already installed in the container image.
The source workflow must compile that checkout, then run every *.yaml example under the checkout's examples/ directory with the freshly built binary.
docs/source_tests.md.scripts/run_source_tests.sh
results/gemc3_source/<timestamp>/summary.md and status.env.ghcr.io/gemc/src:dev-almalinux-10.<current-project-dir>/src_dev-almalinux-10.sif.pwd -P, binds that physical path, and prints it as the canonical work directory.results/gemc3_smoke/.results/gemc3_source/.gemc --help fails: focus on container initialization and entrypoint setup.gemc.err: treat the example as failed even if the exit status is zero.provenance.stderr.log; do not treat a run with unknown commit hash as a valid source validation.preflight.stderr.log and report failure_reason before reading Meson logs.candidate geant4.pc or candidate geant4_core.pc path shown in preflight.stderr.log.status.env, then read the matching *.stderr.log and *.stdout.log.setup.stderr.log and setup.stdout.log; this is example preparation, not a source build failure.summary.md points to src_<timestamp>_<shortsha>/install/bin/gemc, inspect source_examples.md, then inspect the first failed example's logs under examples/; do not report source validation against the container $GEMC binary.Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub zhaozhiwen/plugin_gemc3