cpp-interface-purpose-comments

Community

Auto-comment C++ interfaces' pure virtual methods.

Authorhzqst
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill adds a standard Purpose comment above each pure virtual method declaration in C++ interface headers (.h/.hpp). Use when asked to batch annotate interface classes or enforce a consistent comment block above virtual ... = 0; declarations.

Core Features & Use Cases

  • Automatic placement of Purpose comment blocks above each pure virtual method declaration in headers (.h/.hpp).
  • Scripted workflow with scripts/add_pure_virtual_purpose_comments.py, supporting --dry-run and batch scans with --globs.
  • Handles multi-line declarations, preserves indentation, and respects existing comments unless forced.

Quick Start

Run the tool on your header files to insert standard Purpose comments above every pure virtual method declaration.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cpp-interface-purpose-comments
Download link: https://github.com/hzqst/MetaHookSv/archive/main.zip#cpp-interface-purpose-comments

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.