boost-asio-pro
Use for any C++ networking code with Boost.Asio or standalone Asio (TCP/UDP, SSL, timers, strands, io_context, co_spawn, awaitable, completion handlers), before writing or reviewing it. Applies lifetime, strand and cancellation rules that avoid the classic async bugs.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Boost.Asio / standalone Asio
- Overview
- Step 1: pick the style (do this before writing code)
- Step 2: version floors (verified by compiling, not from docs)
- Step 3: the rules that are actually easy to get wrong
- Anti-Patterns
- Boost.Asio vs standalone Asio
- Before you call it done
Write async C++ networking code that compiles on the user's Boost, not the newest one. Asio's API changed shape three times (classic ioservice → iocontext → C++20 coroutines) and most Asio code on the internet is from the first era, so pick the style from the toolchain first, then follow that style's reference file. References: Boost.Asio · standalone Asio Use this skill whenever async C++ networking code is being written or reviewed — and especially when the target toolchain is old, where coroutine examples simply will not compile. The three worked implementations it references are CI-verified from Boost 1.62 (2016) through 1.90. Determine the Boost (or Asio) version and the C++ standard actually in use — findpackage(Boost) output, dpkg -l libboost-dev, brew info boost, CMAKECXXSTANDARD, or ask. Do not assume the newest. | Boost | C++ std | Style | Read | |-------|---------|-------|------| | ≥ 1.77 | C++20 | Coroutines (coawait + awaitable ) — preferred | references/coroutines.md | | ≥ 1.74 | C++11–17 | Completion handlers (callbacks) — the portable baseline | references/pre-cpp20.md | | ≥ 1.80 | C++11–17 | Stackful asio::spawn + yieldcontext (links Boost.Coroutine — not header-on
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- alirezarezvani/claude-skills
- Source file
- engineering/boost-asio-pro/SKILL.md
- Fixed revision
- 8f082544116fc0d014188e521ca40304cdfc86b0
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: alirezarezvani/claude-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:46.607Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.