stroustrup-cpp-style

Community

Write idiomatic C++ like the creator.

Authorcopyleftdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers write C++ code that adheres to the principles and best practices established by Bjarne Stroustrup, the creator of C++. It guides users towards writing efficient, safe, and maintainable C++ by emphasizing RAII, type safety, and zero-overhead abstractions.

Core Features & Use Cases

  • Adherence to Core Philosophy: Understand and apply Stroustrup's views on abstraction, multi-paradigm support, and language evolution.
  • Design Principles: Implement direct mapping to hardware, zero-overhead abstraction, type safety, RAII, and clear intent.
  • Coding Best Practices: Follow guidelines on const correctness, smart pointers, std::string_view, std::span, and structured bindings.
  • Use Case: When developing a new C++ library or application, use this Skill to ensure the code follows established, high-quality C++ idioms, leading to better performance and fewer bugs.

Quick Start

Apply Bjarne Stroustrup's principles to refactor the provided C++ code snippet for improved safety and efficiency.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: stroustrup-cpp-style
Download link: https://github.com/copyleftdev/sk1llz/archive/main.zip#stroustrup-cpp-style

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.