Optimized Release Build

VerifiedCaution

Creates an optimized release build of YARS for performance testing and benchmarking. Enables full compiler optimizations with CMake in Release mode.

Sby Skills Guide Bot
DevelopmentBeginner
3/8/2026
Claude Code
#cmake#release-build#performance#benchmarking#c++

Recommended for

Automated summary

This skill configures and builds YARS in Release mode through CMake to produce an optimized binary for performance testing and benchmarking.

Strengths

  • Explicit, directly runnable CMake and make command sequence
  • Enables compiler optimizations (-O3) so performance measurements are realistic
  • Clear success criteria to confirm the build really is a Release build
  • Points to the debug-build skill for switching back to a debuggable configuration

Limitations

  • Assumes the build directory already exists and the CMake toolchain is set up
  • Parallelism is hardcoded to make -j4, which may not suit every machine
  • Does not cover running the tests or the benchmarks themselves
When to use it

Use it when you need a fast YARS binary to benchmark or validate performance before a release.

When not to use it

Avoid it during active development or debugging, where symbols and unoptimized code are preferable.

Security analysis

Caution
Quality score72/100

The skill only runs standard build commands (cmake, make) with no network access, obfuscation, secret handling, or destructive operations. Because it invokes powerful build tooling via Bash, it falls into caution rather than safe, but the commands are transparent and legitimate for a release-build workflow.

Findings
  • •Uses Bash to run cmake and make, which execute repository build scripts and could run arbitrary project-defined commands
  • •Runs in a build directory but assumes the working directory is the project root; no path validation or sandboxing
How this analysis is made

Examples

Release build for benchmarks
Build YARS in release mode with optimizations so I can run performance benchmarks.
Speed up simulation
I need maximum simulation speed — configure and compile YARS as an optimized Release build.
Prepare final validation
Prepare an optimized binary of YARS for the final validation tests.

description: Configures and builds YARS with optimizations for performance testing and benchmarking version: 1.0.0 allowed-tools: [Bash]

Release Build

This skill creates an optimized release build of YARS for performance testing and benchmarking.

Usage

Automatically invoked when:

  • User asks for a release or optimized build
  • Running performance benchmarks
  • Preparing for final validation tests
  • Need maximum simulation speed

Steps

# Navigate to build directory
cd build

# Configure for release mode
cmake -DCMAKE_BUILD_TYPE=Release ..

# Build with parallel jobs
make -j4

Success Criteria

  • ✅ CMake configures with Release build type
  • ✅ Compilation includes optimizations (-O3 or similar)
  • ✅ Debug symbols stripped or minimal
  • ✅ Binary ready for performance testing

Notes

  • Release builds are faster but harder to debug
  • Full compiler optimizations enabled
  • Use this for performance benchmarks and production use
  • To switch back to debug, use the debug-build skill
  • Default build type if not specified

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/optimized-release-build-mmh8qqog/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/optimized-release-build-mmh8qqog' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/optimized-release-build-mmh8qqog/download' --output '.skill-downloads/optimized-release-build-mmh8qqog/SKILL.md.part' && mv '.skill-downloads/optimized-release-build-mmh8qqog/SKILL.md.part' '.skill-downloads/optimized-release-build-mmh8qqog/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/optimized-release-build-mmh8qqog/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills