[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BQR6R03JKVGC42Z7MMCTGX":3,"skill-same:01M7BQR6R03JKVGC42Z7MMCTGX":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BQR6R03JKVGC42Z7MMCTGX","boost-asio-pro",null,"Use when writing or reviewing asynchronous C++ networking code with Boost.Asio or standalone Asio — TCP\u002FUDP servers and clients, SSL\u002FTLS, timers, strands, io_context, co_spawn, awaitable, async_read\u002Fasync_write, asio::spawn, yield_context, or pre-C++20 completion-handler callbacks.","devlify-marketplace\u002Fdevlify-skills","devlify-marketplace","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F196752365?v=4","01M7BPJC94F4G2AG0T3N220BQ3","Sadiq Abdullahi","01M7BPJC9QENFCHFM5NEFAJR1Y",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fboost-asio-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"boost-asio-pro\"\ndescription: \"Use when writing or reviewing asynchronous C++ networking code with Boost.Asio or standalone Asio — TCP\u002FUDP servers and clients, SSL\u002FTLS, timers, strands, io_context, co_spawn, awaitable, async_read\u002Fasync_write, asio::spawn, yield_context, or pre-C++20 completion-handler callbacks.\"\n---\n\n# Boost.Asio \u002F standalone Asio\n\n## Overview\n\nWrite async C++ networking code that compiles on the *user's* Boost, not the newest one. Asio's API changed shape three times (classic `io_service` → `io_context` → 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.\n\n**References:** [Boost.Asio](https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio.html) · [standalone Asio](https:\u002F\u002Fthink-async.com\u002FAsio\u002F)\n\nUse 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.\n\n## Step 1: pick the style (do this before writing code)\n\nDetermine the Boost (or Asio) version and the C++ standard actually in use — `find_package(Boost)` output, `dpkg -l libboost-dev`, `brew info boost`, `CMAKE_CXX_STANDARD`, or ask. Do not assume the newest.\n\n| Boost | C++ std | Style | Read |\n|-------|---------|-------|------|\n| ≥ 1.77 | C++20 | Coroutines (`co_await` + `awaitable\u003CT>`) — preferred | [references\u002Fcoroutines.md](references\u002Fcoroutines.md) |\n| ≥ 1.74 | C++11–17 | Completion handlers (callbacks) — the portable baseline | [references\u002Fpre-cpp20.md](references\u002Fpre-cpp20.md) |\n| ≥ 1.80 | C++11–17 | Stackful `asio::spawn` + `yield_context` (links Boost.Coroutine — not header-only) | [references\u002Fpre-cpp20.md](references\u002Fpre-cpp20.md) |\n| 1.62–1.65 | C++11 | Classic `io_service` \u002F `strand.wrap` \u002F `expires_from_now` | [references\u002Fclassic-boost.md](references\u002Fclassic-boost.md) |\n\nSSL\u002FTLS in any style: [references\u002Fssl.md](references\u002Fssl.md). CMake for any style: [references\u002Fbuild.md](references\u002Fbuild.md).\n\n`io_context`, `make_strand`, `bind_executor`, `steady_timer`, `signal_set`, `async_read`\u002F`async_write`\u002F`async_read_until`, buffers and `resolver` are **library** features — identical in the coroutine and callback styles. Only the suspension mechanism differs.\n\n## Step 2: version floors (verified by compiling, not from docs)\n\nReach for one of these and the build breaks on older distros:\n\n| Feature | Floor |\n|---------|-------|\n| `experimental\u002Fawaitable_operators.hpp` (the `\\|\\|` \u002F `&&` operators) | **Boost ≥ 1.77** \u002F Asio ≥ 1.20 |\n| `as_tuple` completion token | **Boost ≥ 1.79** \u002F Asio ≥ 1.21 |\n| `co_composed` (custom composed ops) | **Boost ≥ 1.85** \u002F Asio ≥ 1.30 |\n| 3-arg `asio::spawn(ex, fn, token)` | **Boost ≥ 1.80** (older Boost has only `spawn(ex, fn)`) |\n| `any_io_executor` (`strand\u003Cany_io_executor>`, `tcp::socket`'s default executor) | **Boost ≥ 1.74** — the floor for the callback style; below it, use legacy `io_context::strand` |\n| `io_context`, `make_strand`, `expires_after` | **Boost ≥ 1.66** — below it, classic `io_service` |\n\nDistro floors that bite: **Debian bookworm ships Boost 1.74** (no `awaitable_operators.hpp` — `#include` fails outright), Ubuntu 20.04 ships 1.71 (no `any_io_executor`), Debian 9 ships 1.62.\n\nLanguage, not library: the chrono literals `250ms` \u002F `30s` are **C++14**. For a true C++11 build write `std::chrono::milliseconds(250)`.\n\n## Step 3: the rules that are actually easy to get wrong\n\n**A strand does not serialize writes.** A strand serializes handler *execution*, not whole composed operations. Two `async_write`s in flight on the same strand still **interleave bytes on the wire**. Full-duplex (a read loop plus concurrent pushes\u002Freplies) needs a per-connection strand **and** an outbound queue with an in-flight flag, so at most one `async_write` exists at a time. This is the single most common wrong answer about Asio.\n\n**Buffers do not own memory.** `asio::buffer()` is a view. Storage must outlive the operation: coroutine locals are fine across `co_await` in the same frame; in callback style the same data must become a **member**, not a local.\n\n**Connections must outlive their handlers.** `enable_shared_from_this`, and capture `self` in *every* `co_spawn` \u002F handler — read loop, write loop, and each timer.\n\n**Frame with composed reads.** `async_read` (fills the buffer exactly) for a length prefix and then the body; never `async_read_some`, which returns short.\n\n**Wrap `as_tuple`.** Always `as_tuple(use_awaitable)`. Bare `as_tuple` resolves against the operation's default token and compiles in some contexts, fails in others.\n\n**`async_accept(make_strand(...))` changes two things**: it forces an explicit completion token back on the call, and the accepted socket is `basic_stream_socket\u003Ctcp, strand\u003C...>>`, not `tcp::socket`. Take it **by value** or with `auto` — binding it to `tcp::socket&` will not compile.\n\n**Re-arming a timer resolves the pending wait with `operation_aborted`.** In an idle-timeout loop that is the signal to keep waiting, not an error.\n\n**GCC needs `-fcoroutines`** for the C++20 style, and header-only Boost needs `BOOST_ERROR_CODE_HEADER_ONLY` defined in exactly one place (CMake).\n\n## Anti-Patterns\n\n| Mistake | Fix |\n|---------|-----|\n| Buffer dangling (local goes out of scope during async op) | Ensure buffer lifetime ≥ operation lifetime; coroutine locals or members, not callback locals |\n| Forgetting `io.run()` | No handlers dispatch without `run()` \u002F `run_one()` |\n| Concurrent socket access without strand | Wrap in `strand\u003C>` or serialize via one coroutine chain |\n| Assuming a strand prevents interleaved writes | Add a write queue — see Step 3 |\n| Using `use_awaitable` where `deferred` suffices | Omit the token (default is `deferred`) unless using `\\|\\|` \u002F `&&` |\n| Ignoring short reads\u002Fwrites | Use composed `async_read` \u002F `async_write` \u002F `async_read_until`, not `async_read_some` |\n| Not setting `reuse_address` on the acceptor | Set before `bind`\u002F`listen` or restarts hit \"address in use\" |\n| SSL operations without a strand | *All* `ssl::stream` ops need strand synchronization |\n| Blocking inside a handler | Never block in a completion handler |\n| Accepting a socket with the wrong executor type | See `async_accept(make_strand(...))` in Step 3 |\n| Requiring the `Boost::system` component | Header-only since 1.74: `Boost::headers` + `BOOST_ERROR_CODE_HEADER_ONLY`. Only classic (pre-1.66) needs the link |\n| Missing `-fcoroutines` on GCC | Build fails — add `$\u003C$\u003CCXX_COMPILER_ID:GNU>:-fcoroutines>` |\n| Writing coroutine code for a Boost that predates it | Do Step 1 first |\n\n## Boost.Asio vs standalone Asio\n\nSame author, same API — namespace and includes differ.\n\n| Aspect | Boost.Asio | Standalone Asio |\n|--------|-----------|-----------------|\n| Namespace \u002F include | `boost::asio` \u002F `\u003Cboost\u002Fasio.hpp>` | `asio` \u002F `\u003Casio.hpp>` |\n| Error code | `boost::system::error_code` | `asio::error_code` (or `std::error_code`) |\n| Install (brew) | `brew install boost` | `brew install asio` |\n| CMake | `Boost::headers` | manual include path |\n| Version (2025) | 1.87–1.90 (with Boost) | 1.30–1.36 (independent) |\n| Macro prefix | `BOOST_ASIO_` | `ASIO_` |\n\nSupport both with a shim, then use `net::` throughout:\n```cpp\n#ifdef USE_STANDALONE_ASIO\n  #include \u003Casio.hpp>\n  namespace net = asio;\n  using error_code = asio::error_code;\n#else\n  #include \u003Cboost\u002Fasio.hpp>\n  namespace net = boost::asio;\n  using error_code = boost::system::error_code;\n#endif\nnamespace ssl = net::ssl;\nusing tcp = net::ip::tcp;\n```\n\n## Before you call it done\n\nCheck the code you just wrote against this list:\n\n- [ ] Style matches the target Boost version and C++ standard (Step 1), and every API used clears its floor (Step 2).\n- [ ] Every buffer passed to an async op outlives that op — no callback locals, no dangling `string_view`.\n- [ ] At most one `async_write` per socket in flight, enforced by a queue + flag, if anything writes concurrently with reading.\n- [ ] Every async chain on a shared object runs on the same strand; `self` captured in every handler and `co_spawn`.\n- [ ] Framing \u002F delimited reads use composed `async_read` \u002F `async_read_until`.\n- [ ] Errors are handled, not swallowed: `as_tuple(use_awaitable)` destructured, or the callback's `ec` checked, on every op.\n- [ ] `operation_aborted` distinguished from real errors wherever a timer is re-armed or an op is cancelled.\n- [ ] Acceptor sets `reuse_address`; shutdown path closes the acceptor and drains sessions.\n- [ ] CMake has the standard, `-fcoroutines` for GCC (C++20 only), `BOOST_ERROR_CODE_HEADER_ONLY` in one place, and `Boost::coroutine` only if using stackful `spawn`.\n- [ ] It compiles. Build it — most of the mistakes above are compile-time, and the version floors are only real once tested.\n\n## Worked examples\n\nThree CI-verified implementations of the same full-duplex framed-protocol server, one per style — copy from the one matching Step 1. All three live in the upstream repository and are built by CI on every push.\n\n- [market-data-feed](https:\u002F\u002Fgithub.com\u002Falexprivalov\u002Fboost-asio-skill\u002Ftree\u002Fmain\u002Fexamples\u002Fmarket-data-feed) — C++20 coroutines (Boost 1.77+; verified 1.83–1.90)\n- [market-data-feed-precpp20](https:\u002F\u002Fgithub.com\u002Falexprivalov\u002Fboost-asio-skill\u002Ftree\u002Fmain\u002Fexamples\u002Fmarket-data-feed-precpp20) — callbacks, C++11-clean (verified Boost 1.74+, incl. Windows\u002FMSVC)\n- [market-data-feed-classic](https:\u002F\u002Fgithub.com\u002Falexprivalov\u002Fboost-asio-skill\u002Ftree\u002Fmain\u002Fexamples\u002Fmarket-data-feed-classic) — classic `io_service` (verified back to Boost 1.62 \u002F Debian 9)\n\n## Official documentation\n\n- Overview: https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio\u002Foverview.html\n- Reference: https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio\u002Freference.html\n- Examples: https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio\u002Fexamples.html\n\n## Cross-References\n\n- `engineering\u002Fdocker-development` — the old-Boost verification lanes this skill's floors come from are containerised builds (Debian 9 \u002F bookworm, Fedora).\n- `engineering\u002Fchaos-engineering` — for exercising the failure paths this skill tells you to handle: half-open sockets, idle timeouts, partial frames.\n- `engineering-team\u002Fplaywright-pro` — the client-side counterpart when the server built here is driven from browser-based integration tests.\n","# Boost.Asio \u002F standalone Asio\n\n## Overview\n\nWrite async C++ networking code that compiles on the *user's* Boost, not the newest one. Asio's API changed shape three times (classic `io_service` → `io_context` → 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.\n\n**References:** [Boost.Asio](https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio.html) · [standalone Asio](https:\u002F\u002Fthink-async.com\u002FAsio\u002F)\n\nUse 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.\n\n## Step 1: pick the style (do this before writing code)\n\nDetermine the Boost (or Asio) version and the C++ standard actually in use — `find_package(Boost)` output, `dpkg -l libboost-dev`, `brew info boost`, `CMAKE_CXX_STANDARD`, or ask. Do not assume the newest.\n\n| Boost | C++ std | Style | Read |\n|-------|---------|-------|------|\n| ≥ 1.77 | C++20 | Coroutines (`co_await` + `awaitable\u003CT>`) — preferred | [references\u002Fcoroutines.md](references\u002Fcoroutines.md) |\n| ≥ 1.74 | C++11–17 | Completion handlers (callbacks) — the portable baseline | [references\u002Fpre-cpp20.md](references\u002Fpre-cpp20.md) |\n| ≥ 1.80 | C++11–17 | Stackful `asio::spawn` + `yield_context` (links Boost.Coroutine — not header-only) | [references\u002Fpre-cpp20.md](references\u002Fpre-cpp20.md) |\n| 1.62–1.65 | C++11 | Classic `io_service` \u002F `strand.wrap` \u002F `expires_from_now` | [references\u002Fclassic-boost.md](references\u002Fclassic-boost.md) |\n\nSSL\u002FTLS in any style: [references\u002Fssl.md](references\u002Fssl.md). CMake for any style: [references\u002Fbuild.md](references\u002Fbuild.md).\n\n`io_context`, `make_strand`, `bind_executor`, `steady_timer`, `signal_set`, `async_read`\u002F`async_write`\u002F`async_read_until`, buffers and `resolver` are **library** features — identical in the coroutine and callback styles. Only the suspension mechanism differs.\n\n## Step 2: version floors (verified by compiling, not from docs)\n\nReach for one of these and the build breaks on older distros:\n\n| Feature | Floor |\n|---------|-------|\n| `experimental\u002Fawaitable_operators.hpp` (the `\\|\\|` \u002F `&&` operators) | **Boost ≥ 1.77** \u002F Asio ≥ 1.20 |\n| `as_tuple` completion token | **Boost ≥ 1.79** \u002F Asio ≥ 1.21 |\n| `co_composed` (custom composed ops) | **Boost ≥ 1.85** \u002F Asio ≥ 1.30 |\n| 3-arg `asio::spawn(ex, fn, token)` | **Boost ≥ 1.80** (older Boost has only `spawn(ex, fn)`) |\n| `any_io_executor` (`strand\u003Cany_io_executor>`, `tcp::socket`'s default executor) | **Boost ≥ 1.74** — the floor for the callback style; below it, use legacy `io_context::strand` |\n| `io_context`, `make_strand`, `expires_after` | **Boost ≥ 1.66** — below it, classic `io_service` |\n\nDistro floors that bite: **Debian bookworm ships Boost 1.74** (no `awaitable_operators.hpp` — `#include` fails outright), Ubuntu 20.04 ships 1.71 (no `any_io_executor`), Debian 9 ships 1.62.\n\nLanguage, not library: the chrono literals `250ms` \u002F `30s` are **C++14**. For a true C++11 build write `std::chrono::milliseconds(250)`.\n\n## Step 3: the rules that are actually easy to get wrong\n\n**A strand does not serialize writes.** A strand serializes handler *execution*, not whole composed operations. Two `async_write`s in flight on the same strand still **interleave bytes on the wire**. Full-duplex (a read loop plus concurrent pushes\u002Freplies) needs a per-connection strand **and** an outbound queue with an in-flight flag, so at most one `async_write` exists at a time. This is the single most common wrong answer about Asio.\n\n**Buffers do not own memory.** `asio::buffer()` is a view. Storage must outlive the operation: coroutine locals are fine across `co_await` in the same frame; in callback style the same data must become a **member**, not a local.\n\n**Connections must outlive their handlers.** `enable_shared_from_this`, and capture `self` in *every* `co_spawn` \u002F handler — read loop, write loop, and each timer.\n\n**Frame with composed reads.** `async_read` (fills the buffer exactly) for a length prefix and then the body; never `async_read_some`, which returns short.\n\n**Wrap `as_tuple`.** Always `as_tuple(use_awaitable)`. Bare `as_tuple` resolves against the operation's default token and compiles in some contexts, fails in others.\n\n**`async_accept(make_strand(...))` changes two things**: it forces an explicit completion token back on the call, and the accepted socket is `basic_stream_socket\u003Ctcp, strand\u003C...>>`, not `tcp::socket`. Take it **by value** or with `auto` — binding it to `tcp::socket&` will not compile.\n\n**Re-arming a timer resolves the pending wait with `operation_aborted`.** In an idle-timeout loop that is the signal to keep waiting, not an error.\n\n**GCC needs `-fcoroutines`** for the C++20 style, and header-only Boost needs `BOOST_ERROR_CODE_HEADER_ONLY` defined in exactly one place (CMake).\n\n## Anti-Patterns\n\n| Mistake | Fix |\n|---------|-----|\n| Buffer dangling (local goes out of scope during async op) | Ensure buffer lifetime ≥ operation lifetime; coroutine locals or members, not callback locals |\n| Forgetting `io.run()` | No handlers dispatch without `run()` \u002F `run_one()` |\n| Concurrent socket access without strand | Wrap in `strand\u003C>` or serialize via one coroutine chain |\n| Assuming a strand prevents interleaved writes | Add a write queue — see Step 3 |\n| Using `use_awaitable` where `deferred` suffices | Omit the token (default is `deferred`) unless using `\\|\\|` \u002F `&&` |\n| Ignoring short reads\u002Fwrites | Use composed `async_read` \u002F `async_write` \u002F `async_read_until`, not `async_read_some` |\n| Not setting `reuse_address` on the acceptor | Set before `bind`\u002F`listen` or restarts hit \"address in use\" |\n| SSL operations without a strand | *All* `ssl::stream` ops need strand synchronization |\n| Blocking inside a handler | Never block in a completion handler |\n| Accepting a socket with the wrong executor type | See `async_accept(make_strand(...))` in Step 3 |\n| Requiring the `Boost::system` component | Header-only since 1.74: `Boost::headers` + `BOOST_ERROR_CODE_HEADER_ONLY`. Only classic (pre-1.66) needs the link |\n| Missing `-fcoroutines` on GCC | Build fails — add `$\u003C$\u003CCXX_COMPILER_ID:GNU>:-fcoroutines>` |\n| Writing coroutine code for a Boost that predates it | Do Step 1 first |\n\n## Boost.Asio vs standalone Asio\n\nSame author, same API — namespace and includes differ.\n\n| Aspect | Boost.Asio | Standalone Asio |\n|--------|-----------|-----------------|\n| Namespace \u002F include | `boost::asio` \u002F `\u003Cboost\u002Fasio.hpp>` | `asio` \u002F `\u003Casio.hpp>` |\n| Error code | `boost::system::error_code` | `asio::error_code` (or `std::error_code`) |\n| Install (brew) | `brew install boost` | `brew install asio` |\n| CMake | `Boost::headers` | manual include path |\n| Version (2025) | 1.87–1.90 (with Boost) | 1.30–1.36 (independent) |\n| Macro prefix | `BOOST_ASIO_` | `ASIO_` |\n\nSupport both with a shim, then use `net::` throughout:\n```cpp\n#ifdef USE_STANDALONE_ASIO\n  #include \u003Casio.hpp>\n  namespace net = asio;\n  using error_code = asio::error_code;\n#else\n  #include \u003Cboost\u002Fasio.hpp>\n  namespace net = boost::asio;\n  using error_code = boost::system::error_code;\n#endif\nnamespace ssl = net::ssl;\nusing tcp = net::ip::tcp;\n```\n\n## Before you call it done\n\nCheck the code you just wrote against this list:\n\n- [ ] Style matches the target Boost version and C++ standard (Step 1), and every API used clears its floor (Step 2).\n- [ ] Every buffer passed to an async op outlives that op — no callback locals, no dangling `string_view`.\n- [ ] At most one `async_write` per socket in flight, enforced by a queue + flag, if anything writes concurrently with reading.\n- [ ] Every async chain on a shared object runs on the same strand; `self` captured in every handler and `co_spawn`.\n- [ ] Framing \u002F delimited reads use composed `async_read` \u002F `async_read_until`.\n- [ ] Errors are handled, not swallowed: `as_tuple(use_awaitable)` destructured, or the callback's `ec` checked, on every op.\n- [ ] `operation_aborted` distinguished from real errors wherever a timer is re-armed or an op is cancelled.\n- [ ] Acceptor sets `reuse_address`; shutdown path closes the acceptor and drains sessions.\n- [ ] CMake has the standard, `-fcoroutines` for GCC (C++20 only), `BOOST_ERROR_CODE_HEADER_ONLY` in one place, and `Boost::coroutine` only if using stackful `spawn`.\n- [ ] It compiles. Build it — most of the mistakes above are compile-time, and the version floors are only real once tested.\n\n## Worked examples\n\nThree CI-verified implementations of the same full-duplex framed-protocol server, one per style — copy from the one matching Step 1. All three live in the upstream repository and are built by CI on every push.\n\n- [market-data-feed](https:\u002F\u002Fgithub.com\u002Falexprivalov\u002Fboost-asio-skill\u002Ftree\u002Fmain\u002Fexamples\u002Fmarket-data-feed) — C++20 coroutines (Boost 1.77+; verified 1.83–1.90)\n- [market-data-feed-precpp20](https:\u002F\u002Fgithub.com\u002Falexprivalov\u002Fboost-asio-skill\u002Ftree\u002Fmain\u002Fexamples\u002Fmarket-data-feed-precpp20) — callbacks, C++11-clean (verified Boost 1.74+, incl. Windows\u002FMSVC)\n- [market-data-feed-classic](https:\u002F\u002Fgithub.com\u002Falexprivalov\u002Fboost-asio-skill\u002Ftree\u002Fmain\u002Fexamples\u002Fmarket-data-feed-classic) — classic `io_service` (verified back to Boost 1.62 \u002F Debian 9)\n\n## Official documentation\n\n- Overview: https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio\u002Foverview.html\n- Reference: https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio\u002Freference.html\n- Examples: https:\u002F\u002Fwww.boost.org\u002Fdoc\u002Flibs\u002Flatest\u002Fdoc\u002Fhtml\u002Fboost_asio\u002Fexamples.html\n\n## Cross-References\n\n- `engineering\u002Fdocker-development` — the old-Boost verification lanes this skill's floors come from are containerised builds (Debian 9 \u002F bookworm, Fedora).\n- `engineering\u002Fchaos-engineering` — for exercising the failure paths this skill tells you to handle: half-open sockets, idle timeouts, partial frames.\n- `engineering-team\u002Fplaywright-pro` — the client-side counterpart when the server built here is driven from browser-based integration tests.\n",{"name":5,"description":7},"main","7e219d4f922f94392cb65883ba910846c3c2e71b","engineering\u002Fboost-asio-pro",0,"https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace","devlify.com.ng","Software Developer & full-stack dev building secure web and mobile applications, AI\u002FML solutions, and scalable digital products. Founder of Devlify ","2026-08-30 00:40:50",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add devlify-marketplace\u002Fdevlify-skills --skill boost-asio-pro",{"tool":39,"command":40},"bunx","bunx skills add devlify-marketplace\u002Fdevlify-skills --skill boost-asio-pro",{"tool":42,"command":43},"pnpm","pnpm dlx skills add devlify-marketplace\u002Fdevlify-skills --skill boost-asio-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fboost-asio-pro\u002FSKILL.md",true,[47,53,57,61,65],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fbuild.md","REFERENCE","参考文档",3102,"https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fboost-asio-pro\u002Freferences\u002Fbuild.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fclassic-boost.md",1737,"https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fboost-asio-pro\u002Freferences\u002Fclassic-boost.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fcoroutines.md",16459,"https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fboost-asio-pro\u002Freferences\u002Fcoroutines.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fpre-cpp20.md",8353,"https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fboost-asio-pro\u002Freferences\u002Fpre-cpp20.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fssl.md",1187,"https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fboost-asio-pro\u002Freferences\u002Fssl.md",[70,77,84,91,98,105],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7BRV5Q3BJT22HG25WJFTKZN","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7BRTW6RRTHXT6SBE41AY5GD","research","Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends\u002Fsentiment, grants for NIH funding, litreview for academic literature, syllabus for course reading, patent for prior-art + IP landscape, dossier for entity research, deepread for evidence-first reading of supplied documents) or runs its own plan-decompose-multi-source-search-synthesize-cite fallback workflow when no specialist matches. Always surfaces the routing decision so users can override. Use when the user makes any research request that doesn't obviously match a more-specific specialist skill (e.g., \"research [topic]\", \"look into [topic]\", \"what do we know about [topic]\", \"investigate [topic]\", \"find me information on [topic]\", \"do some research on [topic]\", \"I need to understand [topic]\"). Output is a markdown briefing (default) or .docx document (on request) with full citations and an audit log.","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fresearch\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7BRTMK3PGPNH76R2HY57AKC","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7BRTAR0YJWNZ2AP3QTH39BW","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7BRT3J0V5A9V3VJ96G97AGW","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7BRSS7P0CJP7X9ERDFYN6GC","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fdevlify-marketplace\u002Fdevlify-skills\u002Fblob\u002Fmain\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[]]