add-conan-recipe

Generate and validate Conan 2.x recipes for C/C++ libraries.

715|84|Updated Jul 31, 2023
One-click install
npx skills add https://github.com/EndstoneMC/endstone --skill add-conan-recipe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-conan-recipe
Source: https://github.com/EndstoneMC/endstone/tree/main/.claude/skills/add-conan-recipe
Command: npx skills add https://github.com/EndstoneMC/endstone --skill add-conan-recipe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill addresses the need for packaging third-party C/C++ libraries for use in the Endstone environment, filling the gap where core gameplay is modified while preserving vanilla compatibility.

Core Features & Use Cases

  • Dependency Packaging: Automates the process of creating Conan recipes for external libraries that are not available in conancenter.
  • Recipe Scaffold: Provides a framework for building and publishing Conan recipes under specific naming and structure guidelines.
  • Publishing: Handles the uploading of these recipes to the endstone Cloudsmith remote for easy consumption in Endstone projects.
  • Validation: Offers validation for the created recipes on Windows and Linux environments.

Quick Start

Add a Conan recipe by providing package name, version, source tarball URL, and other details. Let the skill create the necessary files and publish the recipe to Cloudsmith.

Frequently Asked Questions about add-conan-recipe

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

FAQPage Schema
How do I create a Conan recipe for a third-party C++ library not available in conancenter?

To create a Conan recipe for a third-party C++ library, provide the package name, version, source tarball URL, and CMake build details. The skill scaffolds the recipe files, validates them on Windows and Linux, and publishes them to Cloudsmith.

How do I package C++ dependencies and publish them to a Cloudsmith remote?

Packaging C++ dependencies and publishing to a Cloudsmith remote involves generating a Conan 2.x recipe with the required CMake configuration. The skill validates the recipe across platforms and uploads it to the Endstone Cloudsmith remote for consumption.

Do I need CMake to generate Conan recipes for C/C++ libraries?

Yes, you need CMake specifications to generate Conan recipes for C/C++ libraries. The recipe generation requires configuration and build system details to ensure proper compilation and compatibility within the Endstone platform.

Can I validate Conan recipes for C++ libraries on both Windows and Linux?

Yes, you can validate Conan recipes for C++ libraries on both Windows and Linux. The skill offers validation across these environments to ensure the packaged dependency builds correctly before uploading it to the Cloudsmith remote.

What is the best way to manage third-party C++ dependency packaging for Endstone?

The best way to manage third-party C++ dependency packaging for Endstone is generating Conan 2.x recipes. This approach fills the gap for libraries missing from conancenter, ensuring compatibility while preserving vanilla gameplay.

When should I create a custom Conan recipe instead of using conancenter for C++ dependencies?

You should create a custom Conan recipe when a third-party C++ library is not available in conancenter. This skill scaffolds the recipe with specific naming and structure guidelines to integrate external dependencies into the Endstone environment.