Agent skill

Webpp Build Test

by the-moisrex in the-moisrex/webpp

Configure, build, and run Web++ tests in this repo — derive test target names from tests/test.cpp, detect stale or missing focused CMake presets, build and run one test or the full suite without…

MITAuto-check passed

Install Webpp Build Test

skills CLI
$ npx skills add the-moisrex/webpp --skill webpp-build-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install the-moisrex/webpp webpp-build-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/the-moisrex/webpp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/webpp-build-test .claude/skills/webpp-build-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
webpp-build-test
GitHub stars
146
Token cost
~1.1k tokens
SKILL.md length
368 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Configure, build, and run Web++ tests in this repo — derive test target names from tests/test.cpp, detect stale or missing focused CMake presets, build and run one test or the full suite without…

  • Verifying a change with CMake/CTest
  • SKILL.md covers Test target naming (from…, Preset drift (check before…, Configure and Run one focused test, plus 3 more sections
  • Calls cmake and python3

What it does

Webpp Build Test is an agent skill from the-moisrex/webpp. Configure, build, and run Web++ tests in this repo — derive test target names from tests/test.cpp, detect stale or missing focused CMake presets, build and run one test or the full suite without trusting the manually enumerated tests preset. Use whenever verifying a change with CMake/CTest.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with C++. The repository describes itself as: C++ web framework | web development can be done with C++ as well. The licence is MIT.

When your agent uses it

  • Verifying a change with CMake/CTest

Example prompts

  • “/webpp-build-test”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 66a52aa. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cmake
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Webpp Build Test loads about 1.1k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 368 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from the-moisrex/webpp at commit 66a52aa, republished under its MIT licence (© the-moisrex). 368 words, ~1,095 tokens.

Download SKILL.mdSave it as .claude/skills/webpp-build-test/SKILL.md (or your agent's skills folder).
name
webpp-build-test
description
Configure, build, and run Web++ tests in this repo — derive test target names from tests/*_test.cpp, detect stale or missing focused CMake presets, build and run one test or the full suite without trusting the manually enumerated tests preset. Use whenever verifying a change with CMake/CTest.

Build and test Web++ (CMake/CTest)

Presets live in CMakePresets.json; CI configures with cmake --preset dev-default.

Test target naming (from tests/CMakeLists.txt)

  • tests/foo_bar_test.cpp → target test-foo-bar (strip _test.cpp, _ → -, prefix test-).
  • tests/foo_fuzz.cpp → target fuzz-foo (Clang only, needs FUZZ_TESTS=ON).
  • Every test source is also compiled into the aggregate webpp-tests executable.

Enumerate current targets:

sh
ls tests/*_test.cpp | sed 's|.*/||; s|_test\.cpp$||; s|_|-|g; s|^|test-|'

Preset drift (check before trusting a test-* preset)

CMakePresets.json enumerates focused build/test presets manually, so it lags behind tests/. As of the last check: 5 focused build presets missing (test-cgi-headers, test-cgi-request, test-dynamic-scoping, test-header-fields, test-middlewares) and 5 stale (test-extensions, test-header-accept-encoding, test-traits, test-unicode-algos, test-ustring). Re-run detection instead of trusting that list:

sh
python3 - <<'EOF'
import json, pathlib
build = {p["name"] for p in json.load(open("CMakePresets.json")).get("buildPresets", [])
         if not p.get("hidden") and p.get("name", "").startswith("test-")}
derived = {"test-" + p.stem[: -len("_test")].replace("_", "-")
           for p in pathlib.Path("tests").glob("*_test.cpp")}
print("missing focused build presets:", sorted(derived - build))
print("stale focused build presets:", sorted(build - derived))
EOF

If a focused preset is missing or stale, use the direct build/ctest commands below instead — never edit CMakePresets.json just to run one test.

Configure

sh
cmake --preset dev-default
  • dev-default inherits default: binaryDir = ${sourceDir}/build, Debug, C++23, WEBPP_DEV=ON.
  • WEBPP_DEV=ON is required — it gates add_subdirectory(tests ...) and the top-level enable_testing(). Symptom if the build/ cache was configured without it: ctest --test-dir build -N reports Total Tests: 0 and no test-* targets exist. Fix: re-run cmake --preset dev-default (check with grep WEBPP_DEV build/CMakeCache.txt).

Run one focused test

When a focused build preset exists (verify with ctest --list-presets / cmake --list-presets):

sh
cmake --build --preset test-uri
ctest --preset tests -R '^test-uri$' --output-on-failure

When it does not (or the preset is stale) — build the target directly in the preset's build dir, then filter CTest by the same name (build/ for dev-default):

sh
cmake --build build --target test-uri -j $(nproc)
ctest --test-dir build -R '^test-uri$' --output-on-failure

Beware: plain ctest -R exits 0 when the filter matches nothing, so confirm the run printed the test name or check ctest --test-dir build -N -R '^test-uri$'. Test presets set noTestsAction=error, so ctest --preset ... exits 8 instead of passing silently.

Show full SKILL.md (113 more words)Show less

Run the full suite

The tests build preset's target list is manually enumerated and can be stale. Prefer deriving targets from the sources; -- -k keeps make going past targets that fail to compile — report those separately instead of hiding them:

sh
cmake --build build --target $(ls tests/*_test.cpp | sed 's|.*/||; s|_test\.cpp$||; s|_|-|g; s|^|test-|') \
  -j $(nproc) -- -k
ctest --test-dir build --output-on-failure

CI-style alternative (fine when preset drift was just checked): cmake --build --preset tests && ctest --preset tests --output-on-failure.

Discover what exists

sh
cmake --list-presets    # configure presets
ctest --list-presets    # test presets (one per focused test)

Rules

  • Derive target names from tests/*_test.cpp, never from memory or a stale preset list.
  • Report preset drift you find (missing/stale test-* presets) instead of silently working around it — CMakePresets.json preset lists are maintained manually.
  • Never claim a build or test passed without its real exit status; on failure include the actual compiler/CTest output.

© the-moisrex, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/webpp-build-test of the-moisrex/webpp.

Open the folder on GitHubat commit 66a52aa

Compare with similar skills

Webpp Build Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Webpp Build Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Webpp Build Test this skillthe-moisrex/webpp146—~1.1kAutomated safety check: PassMIT
Paddle BuildPaddlePaddle/Paddle24k—~1kAutomated safety check: PassApache-2.0
Fory Releaseapache/fory4.6k—~2.9kAutomated safety check: PassApache-2.0
ONNX Runtime Shape Inference Safety Auditmicrosoft/onnxruntime22k—~3.3kAutomated safety check: PassMIT
Code Audit3stoneBrother/code-audit8921 repos~2.7kAutomated safety check: PassNone
Qt C++ Code Reviewx-tools-author/x-tools1.1k2 repos~4.3kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Paddle Build

    PaddlePaddle/Paddle

    A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.

    24k GitHub stars~1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Fory Release

    apache/fory

    Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.

    4.6k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Official

    Finds and fixes out-of-range output writes in ONNX Runtime operator shape-inference functions where a getNumOutputs guard admits too few outputs.

    22k GitHub stars~3.3k tokensUpdated today
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    892 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Qt C++ Code Review

    x-tools-author/x-tools

    Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.

    1.1k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Leetcuda Cpp Kernel

    xlite-dev/LeetCUDA

    LeetCUDA 中文技术书(584 页,XeLaTeX 源)按需查阅 skill——写、优化、调试或 review CUDA C++/PTX kernel 时的权威参考路由层。当任务涉及:GPU 架构/Roofline/ occupancy、向量化与 coalescing、warp/block reduce、softmax(online/LSE merge)、…

    12k GitHub stars~3.5k tokensUpdated 10 days ago
    AI & LLM EngineeringAuto-check passed

More from the-moisrex/webpp

  • Whatwg URL Specs

    the-moisrex/webpp

    Debug Web++ URL/URI behavior against the authoritative WHATWG URL Standard using the repo-local tools/whatwg-url-specs command.

    146 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about Webpp Build Test

What does Webpp Build Test do?

Configure, build, and run Web++ tests in this repo — derive test target names from tests/test.cpp, detect stale or missing focused CMake presets, build and run one test or the full suite without…. Webpp Build Test is an agent skill from the-moisrex/webpp.cpp, detect stale or missing focused CMake presets, build and run one test or the full suite without trusting the manually enumerated tests preset.

When should I use Webpp Build Test?

Webpp Build Test fits situations like: verifying a change with CMake/CTest.

How do I install Webpp Build Test in Claude Code?

Run `npx skills add the-moisrex/webpp --skill webpp-build-test -a claude-code`. Or copy the skill folder (.agents/skills/webpp-build-test in the-moisrex/webpp) into .claude/skills/webpp-build-test in your project. Claude Code loads it when a task matches its description.

How do I install Webpp Build Test in Codex?

Run `npx skills add the-moisrex/webpp --skill webpp-build-test -a codex`. Or copy the skill folder (.agents/skills/webpp-build-test in the-moisrex/webpp) into .agents/skills/webpp-build-test in your project. Codex loads it when a task matches its description.

Can I use Webpp Build Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add the-moisrex/webpp --skill webpp-build-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/webpp-build-test, .gemini/skills/webpp-build-test, .github/skills/webpp-build-test and .opencode/skills/webpp-build-test in your project.

What does Webpp Build Test need to run?

Going by SKILL.md and its folder, Webpp Build Test needs the command-line tools its instructions call (cmake and python3). Our summary lists: Python 3.

Does Webpp Build Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Webpp Build Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Webpp Build Test use?

Webpp Build Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Webpp Build Test use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Webpp Build Test?

Skills that share tags, products or a category with Webpp Build Test: Paddle Build (PaddlePaddle/Paddle, 24k stars), Fory Release (apache/fory, 4.6k stars), ONNX Runtime Shape Inference Safety Audit (microsoft/onnxruntime, 22k stars) and Code Audit (3stoneBrother/code-audit, 892 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Webpp Build Test?

the-moisrex (a GitHub user) maintains it in the-moisrex/webpp, which has 146 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 4, 2026.

Source: the-moisrex/webpp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.