đŸ’Ŧ

Cpp

v1.2.0Apache 2.0

Advanced C++ programming skills for modern C++ and template metaprogramming

Installation

Install han binary (required for hooks to work):

curl -fsSL https://han.guru/install.sh | bash

Then install this plugin:

han plugin install cpp

Overview

Advanced C++ programming skills for modern C++ and template metaprogramming

Skills

This plugin provides the following skills:

  • Cpp Modern Features
  • Cpp Smart Pointers
  • Cpp Templates Metaprogramming

Usage

Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:

  • Write idiomatic code following best practices
  • Suggest appropriate patterns and architectures
  • Catch common mistakes and anti-patterns
  • Provide framework-specific guidance

Installation

Install via the han CLI:

bash
han plugin install cpp

LSP Servers

🧠

clangd

Languages:

cpp

File Extensions:

.cpp.hpp.cc.hh.cxx.hxx.C.H

Command:

${CLAUDE_PLUGIN_ROOT}/scripts/lsp-entrypoint.sh --background-index

Skills

Hooks

âš ī¸

Token Usage Notice

Hooks run automatically during Claude Code sessions and their output is sent to the model for processing. This may increase token usage and associated costs. Consider disabling hooks you don't need via han-config.yml.

🛑

Stop

Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.

make
đŸĒ

Stop,PostToolUse:Edit|Write

clang-format --dry-run --Werror ${HAN_FILES}