stepanov-generic-programming

Community

Write C++ with Stepanov's generic principles.

Authorcopyleftdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you write more robust, reusable, and mathematically sound C++ code by adhering to Alexander Stepanov's principles of generic programming, focusing on algorithms and concepts over specific data structures.

Core Features & Use Cases

  • Algorithm-Centric Design: Prioritize designing algorithms and then defining their minimal type requirements (concepts).
  • Iterator Abstraction: Decouple algorithms from containers using iterators for maximum flexibility.
  • Regular Types: Ensure your types behave predictably with standard operations, enabling seamless integration with algorithms.
  • Use Case: When designing a new data structure or algorithm in C++, use this Skill to ensure it's compatible with the Standard Template Library (STL) and adheres to best practices for reusability and maintainability.

Quick Start

Use the stepanov-generic-programming skill to design a C++ algorithm that finds the first element in a range satisfying a given predicate, ensuring it only requires input iterators and equality comparable types.

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: stepanov-generic-programming
Download link: https://github.com/copyleftdev/sk1llz/archive/main.zip#stepanov-generic-programming

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.