majiayu000/claude-skill-registry-data/conan-basic-usage
Claude Code and agent skill by majiayu000/claude-skill-registry-data
- community
Checking that the SKILL.md file is still in the repository.
Author "majiayu000" has blocked skill(s)
Basic operations for the Conan C++ package manager. Use when the user explicitly asks to 'use conan' for tasks like creating projects, installing dependencies, or building packages, or asks for 'how to' guidance on Conan setup.
Install
npx vskill@latest install majiayu000/claude-skill-registry-data/conan-basic-usageSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/conan-basic-usage.
Conan Basic Usage
Overview
This skill provides guidance on using Conan, the C/C++ package manager. It covers project initialization, dependency management, and package creation.
Quick Start
1. Initialize a Project
To create a standard project structure for a C++ library using CMake:
This generates:
conanfile.py: The package recipe.CMakeLists.txt: The build script.src/&include/: Source and header files.test_package/: A consumer project to verify the package.
2. Install Dependencies
To install dependencies defined in conanfile.py and build missing binaries:
3. Create/Build Package
To build the package and export it to your local Conan cache:
This runs the build() method in conanfile.py, creates the binary package, and runs the tests in test_package/.
Common Tasks
Managing Dependencies
- Install: Use
conan install .to resolve and install dependencies. Add--build=missingto compile from source if binaries aren't available for your configuration. - Inspect: Use
conan graph info .to see the dependency tree.
Remote Management
- List Remotes:
conan remote list - Add Remote:
conan remote add <remote_name> <url> - Upload:
conan upload <package_name> -r <remote_name>
Reference
- Project Structure: Best practices for directory layout. See project-structure.md.
- Configuration: Core settings, cache location, and profiles. See configuration.md.
- Runtime & Build Layout: Build directory structure and how to find shared libraries. See runtime-layout.md.
- Internal Files: Understanding
conanmanifest.txt,conaninfo.txt, etc. See internal-files.md.
- Commands: Comprehensive list of common commands. See commands.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/conan-basic-usage/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/conan-basic-usage)