cpp

Design, implement, and review modern C++ APIs with RAII and type safety.

3|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/jonluca/palate --skill cpp-jonluca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp
Source: https://github.com/jonluca/palate/tree/main/.agents/skills/cpp
Command: npx skills add https://github.com/jonluca/palate --skill cpp-jonluca

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit helps in the design, implementation, and review of modern C++ APIs and native code, addressing issues related to ownership, type modeling, maintainability, and native integration.

Core Features & Use Cases

  • API Design Guidance: Offers best practices for designing type-safe APIs and structuring code for clarity and maintainability.
  • C++ Implementation Best Practices: Suggests workflows and patterns for C++ development, including RAII, ownership semantics, and asynchronous programming.
  • File Organization: Provides guidance on organizing files and directories to maintain a clean and efficient codebase.
  • Use Case: For a developer tasked with creating a Nitro Module for React Native, this Skill can help ensure the module is well-structured, adheres to C++ best practices, and integrates smoothly with the native environment.

Quick Start

To implement a new C++ API, follow the guidelines outlined in the 'SKILL.md' file for naming, ownership, and type safety.

Frequently Asked Questions about cpp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure type safety when designing modern C++ APIs?

To ensure type safety in modern C++ APIs, follow structured practices for type modeling and ownership semantics. This provides guidance on naming and structuring code to maintain clarity and prevent type-related errors.

What is the best way to manage resource ownership and memory in C++?

The best way to manage resource ownership in C++ is by using RAII (Resource Acquisition Is Initialization) patterns. This Skill provides workflows and best practices for implementing RAII to ensure maintainable and leak-free native code.

How do I structure a Nitro Module for React Native using C++?

To structure a React Native Nitro Module using C++, use guidelines for file organization, API design, and native integration. This ensures the module adheres to C++ best practices and integrates smoothly with the native environment.

Does this C++ guidance cover asynchronous programming and file organization?

Yes, this C++ guidance covers asynchronous programming workflows and file organization. It provides best practices for structuring directories and implementing asynchronous patterns to maintain a clean and efficient codebase.

When do I need structured practices for reviewing complex C++ native code?

You need structured practices for reviewing C++ native code when working on complex systems and libraries. This approach focuses on code clarity, performance, type modeling, and maintainability to improve the review process.