implementing-cpp

implementing-cpp is a skill for Claude Code from qte77/claude-code-plugins. It costs 49 tokens per session (877 once invoked), scanned A, original, Apache-2.0.

A C++17 implementation skill for desktop graphical applications using wxWidgets, GTK3, or Qt with CMake. It follows framework conventions and manages resources with standard C++ ownership patterns.

In plain words
What is it for?
Use it to create or modify GUI components and other desktop features, following C++17, CMake, RAII, smart-pointer, and const-correctness practices.
Why use it?
It turns a requested desktop feature into code that fits the detected framework and can be built and checked in the existing project.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the cpp-desktop plugin — 3 skills shipped together

Good fit Use it to create or modify GUI components and other desktop features, following C++17, CMake, RAII, smart-pointer, and const-correctness practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qte77/claude-code-plugins/implementing-cpp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add qte77/claude-code-plugins --skill implementing-cpp
Clone the repo
git clone --depth 1 https://github.com/qte77/claude-code-plugins

Made for: Claude Code.

Or install cpp-desktop, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implementing-cpp

README.md
[![agentmods](https://agentmods.dev/badge/skills/qte77/claude-code-plugins/implementing-cpp/github.svg)](https://agentmods.dev/skills/qte77/claude-code-plugins/implementing-cpp)
Your own site
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/implementing-cpp"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/implementing-cpp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for implementing-cpp

Your own site · 80×15
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/implementing-cpp"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/implementing-cpp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00877
Opus 5.5 $0.00020 $0.00351
Sonnet 5.5 $0.00010 $0.00175
Haiku 4.5 $0.00005 $0.00088

Measured 8d ago against content hash 465d1bfc97da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

implementing-cpp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cpp-desktop/skills/implementing-cpp/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

C++ Desktop Implementation

Target: $ARGUMENTS

Implement C++ desktop GUI code following framework conventions, C++17 standards, and CMake best practices. No over-engineering.

Workflow

  1. Detect framework:
    • wxWidgets in CMakeLists.txt or wx/ includes -> wxWidgets
    • gtk in pkg-config or CMakeLists.txt -> GTK3
    • Qt in CMakeLists.txt or .pro file -> Qt
    • None detected -> ask user which framework
  2. Study existing patterns in src/ and include/ structure
  3. Implement minimal solution matching stated functionality
  4. Build and validate with CMake
  5. Report — list created files, build status

C++ Standards

  • C++17 minimum — use std::optional, std::variant, structured bindings
  • RAII — acquire resources in constructors, release in destructors
  • Smart pointers — std::unique_ptr by default, std::shared_ptr only when shared ownership required
  • Const-correctness — const on methods, parameters, and locals where possible
  • No raw new/delete — use smart pointers or container types

Framework Patterns

wxWidgets

  • Use wxBEGIN_EVENT_TABLE/wxEND_EVENT_TABLE or Bind() for events
  • Derive frames from wxFrame, dialogs from wxDialog
  • Use sizers (wxBoxSizer, wxGridSizer) for layout, never absolute positioning
  • Parent windows own children (no manual delete)

GTK3

  • Use g_signal_connect for signal/slot wiring
  • Follow GObject conventions for custom widgets
  • Use GtkBuilder with .ui files for complex layouts
  • Proper g_object_unref / g_free for C API resources

Qt

  • Use signals/slots with Q_OBJECT macro and MOC
  • Derive from QWidget, QMainWindow, QDialog as appropriate
  • Use layouts (QVBoxLayout, QHBoxLayout, QGridLayout)
  • Parent-child ownership model — parent deletes children

CMake Best Practices

  • Target-based — use target_link_libraries, target_include_directories
  • No global state — avoid include_directories(), link_libraries()
  • Modern find — find_package() with imported targets
  • Minimum version — cmake_minimum_required(VERSION 3.16)
  • Platform conditionals:

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed 465d1bfc97da
  2. 2mo ago Changed · +1 lines 4e707e8ab617
  3. 3mo ago First seen · 108 lines · 49 tokens per session scan A 1fe9fcadfdfa

Subscribe to this mod's changes

implementing-cpp is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 877 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

implementing-cpp compared with skills from other repositories

implementing-cpp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
implementing-cppqte77/claude-code-pluginsSkill3yesterdayApache-2.0A49Claude Code
esp32-expertmathisk2095/jko-claude-pluginsSkill31mo agoMITA193Claude Code
android-kotlin-composeand3r817/dot-claude-pluginsSkill22mo agoMITA84Claude Code
android-kotlin-coroutinesand3r817/dot-claude-pluginsSkill22mo agoMITA87Claude Code
bun-ffisecondsky/claude-skillsSkill257yesterdayMITA56Claude Code
dotnet-analyzersNikiforovAll/claude-code-rulesSkill14329d agoApache-2.0A45Claude Code
dotnet-testNikiforovAll/claude-code-rulesSkill14329d agoApache-2.0A35Claude Code