smith
Build, test, and style C++ simulation code correctly
All Skills in This Repository (3)
Pure Emerald Level Indicatorscpp-unit-testing
Standardize C++ unit tests with GoogleTest and register them via smith_add_tests.
smith-cpp-style
Enforce consistent C++ style in src/smith and examples with clang-format.
building
Build Smith on HPC compute nodes using host-config selection and build workflows.
Frequently Asked Questions
FAQPage SchemaHow to install Smith skills?â–¼
Run `npx skills add llnl/smith --all -g -y` in your terminal to install all skills in this suite globally.
How to build the Smith simulation code?â–¼
The building skill walks through running config-build.py with an auto-detected host-config, then compiling with CMake and running ctest. It also checks that you are on a compute node before compiling.
How to write unit tests for Smith?â–¼
The unit testing skill explains how to create GoogleTest files, place them in a tests directory, and register them with the smith_add_tests CMake macro, including MPI and CUDA variants.
What C++ style rules does Smith use?â–¼
The style skill covers clang-format enforcement, naming conventions like PascalCase types and snake_case_ members, include ordering, and Doxygen documentation standards.
Do these skills work with Claude Code and Codex?â–¼
Yes. All skills follow the universal SKILL.md standard and run in Claude Code, Codex, Cursor, and other compatible coding environments.
Related Repositories in Software Engineering
View All in Software Engineering→openclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core