[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DREMTKKGR321XVG0W0N3NR":3,"skill-same:01M7DREMTKKGR321XVG0W0N3NR":46},{"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":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7DREMTKKGR321XVG0W0N3NR","cccl-algorithms",null,"Use before writing CUDA kernels for reductions, scans, sorting, top-k, histograms, compaction, search, or transforms. Also use when reviewing, optimizing, debugging, or migrating Thrust, CUB, and libcu++ algorithms, including execution environments, accumulator types, and determinism.","tdortman\u002Fdotfiles","tdortman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F57221600?v=4","01M6BXC719HPAZV29V9X24T066","Tim Dortmann","01M6BXC75ZY9W9GG4TS60XMQ3E",1,"CC-BY-4.0","https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002Fdot_agents\u002Fskills\u002Fcccl-algorithms\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cccl-algorithms\ndescription: \"Use before writing CUDA kernels for reductions, scans, sorting, top-k, histograms, compaction, search, or transforms. Also use when reviewing, optimizing, debugging, or migrating Thrust, CUB, and libcu++ algorithms, including execution environments, accumulator types, and determinism.\"\nlicense: CC-BY-4.0\n---\n\n# Choose and compose CCCL algorithms\n\nCheck NVIDIA CCCL before writing a custom CUDA kernel. Use a library algorithm when it meets the required semantics and measured performance. Compose iterators and operations before materializing intermediate arrays. A custom kernel needs a concrete reason, such as an unsupported operation, fusion requirement, or measured bottleneck.\n\nThis skill covers algorithm selection and contracts. Use `nvidia-cccl-runtime` for explicit device selection, streams, buffers, and lifetime management. Use `cuda-profiling` for benchmarking and performance evidence.\n\n## Establish the installed contract\n\n1. Identify the resolved CCCL headers, compiler, C++ standard, and supported deployment versions. A separately supplied CCCL can differ from the toolkit's bundled version.\n2. Query `nvidia-cuda-docs\u002Fsearch_cuda_docs` first. Include the algorithm, intended semantics, and target version. In omp, read `xd:\u002F\u002Fmcp__nvidia_cuda_docs_search_cuda_docs`, then write `{\"query\":\"...\"}` to that device.\n3. Check the selected overload in release-matched documentation and installed headers. If MCP is unavailable or incomplete, use the NVIDIA sources below. State unresolved gaps.\n\nDo not assume a CUDA major version identifies the exact CCCL release. Check the project's actual compiler include configuration. To inspect `CCCL_VERSION`, use that configuration with:\n\n```bash\nprintf '#include \u003Ccuda\u002Fversion>\\nCCCL_VERSION\\n' | nvcc -x cu -E -\n```\n\nFor CUDA 13 installations, check whether host C++ compilation receives the toolkit's `include\u002Fcccl` directory. Use the project's imported dependency targets or package configuration to propagate includes. Keep includes such as `\u003Cthrust\u002Fhost_vector.h>`, not `\u003Ccccl\u002Fthrust\u002Fhost_vector.h>`. Avoid hard-coded toolkit paths.\n\nCompletion criterion: the chosen API, overload, and required properties exist in every supported configuration affected by the change.\n\n## Select an algorithm family\n\nUse this map to narrow the lookup, not as a promise that every symbol exists in older releases:\n\n| Required operation | Candidates |\n|---|---|\n| Sum or custom aggregate | `thrust::reduce`, `thrust::transform_reduce`, `cub::DeviceReduce` |\n| Minimum or maximum with position | `thrust::min_element`, `thrust::max_element`, CUB ArgMin or ArgMax |\n| Prefix sums | Thrust scans, `cub::DeviceScan` |\n| Full sort or key\u002Fvalue sort | Thrust sort algorithms, `cub::DeviceRadixSort` |\n| Top-k only | `cub::DeviceTopK`, or selection followed by sorting only the selected results |\n| Segmented operations | `cub::DeviceSegmentedReduce`, `DeviceSegmentedScan`, `DeviceSegmentedSort` |\n| Consecutive-key aggregation | `thrust::reduce_by_key`, CUB ReduceByKey |\n| Histogram | `cub::DeviceHistogram` |\n| Filter, compact, or partition | Thrust copy\u002Fremove\u002Fpartition algorithms, `cub::DeviceSelect`, `DevicePartition` |\n| Run lengths or distinct count in sorted input | `cub::DeviceRunLengthEncode`, `thrust::unique_count` where available |\n| Search, first mismatch, or merge | Thrust find, mismatch, lower_bound, and merge algorithms |\n| Elementwise work | `thrust::transform`, `for_each`, `cub::DeviceTransform`, `DeviceFor` |\n| Device-callable building blocks | CUB block\u002Fwarp collectives and libcu++ device utilities |\n\nFor modern standard-style GPU algorithms, check `cuda::std` algorithm support and the `cuda::execution::gpu` policy in the installed release. Attach the intended stream explicitly. Host `std::execution::par` does not by itself select a CUDA backend.\n\n## Check semantics before choosing the fastest path\n\n- Trace input, accumulator, initial-value, output, and index types separately. A wider output does not necessarily widen accumulation. Thrust reduction initialization with `0` can select integer accumulation for floating-point input. CUB deduction differs by overload and operator; inspect it rather than generalizing Thrust's rule.\n- Widen operands before size or byte-offset arithmetic. Carry a supported wide item-count\u002Findex type through iterators and the full algorithm, not just its public parameter.\n- Verify identity, empty input, NaN\u002Finfinity behavior, ties, and stable-order requirements. Test first-position ties when callers require them. Check whether a minimum API uses a finite identity when the application needs positive infinity.\n- Check associativity and permitted operand reordering. Device-wide CUB Reduce does not support noncommutative operators. Ordered composition may need an order-preserving scan followed by its final result. Do not extend one algorithm's restriction to every reduction or collective.\n- `reduce_by_key` and unique operations act on consecutive equal values. Sort or otherwise group keys when global grouping is required.\n- For `HistogramEven`, distinguish bin count from level count and check the half-open sample range. A 256-bin byte histogram uses 257 levels spanning `[0, 256)`.\n- Read `cub::DoubleBuffer::Current()` after operations that can alternate buffers. Do not assume the originally supplied buffer contains the result.\n- Validate radix-sort bit ranges against the documented signed\u002Ffloating-point key transformation. Restrict bits only when that transformed ordering matches the contract. A custom comparator may select a different sorting algorithm.\n- Top-k does not imply sorted output, deterministic ties, or a stable order. Check the installed `DeviceTopK` requirements. Some releases require explicit `determinism::not_guaranteed` and `output_ordering::unsorted` properties. Sort the selected pairs afterward if callers need ordered results.\n\nCompletion criterion: each application requirement has an explicit algorithm guarantee or a checked transformation that provides it.\n\n## Compose work without hidden synchronization\n\nPass the caller's stream to every algorithm. Raw device pointers need an explicit device execution policy when Thrust cannot infer their system. Prefer a stream-bound policy over a global default.\n\nDistinguish host-returning algorithms from device-output algorithms. Thrust calls returning a host scalar or data-dependent iterator can require completion before returning. `thrust::cuda::par.on(stream)` can synchronize; `par_nosync.on(stream)` permits asynchronous execution where supported, but does not make every operation nonblocking.\n\nFor overlapping streams, keep results on the device with an available device-output algorithm, such as CUB reduction or `thrust::reduce_into`. Establish cross-stream dependencies explicitly. Synchronize at the caller boundary that needs completed results.\n\nModern CUB overloads can accept a stream or `cuda::std::execution::env` combining stream, memory resource, and requirements. Verify the overload and construct the environment for the intended device. A default environment is not a substitute for explicit stream selection.\n\nContinue checking CUB's returned `cudaError_t` where the interface returns a status. CCCL's C++ runtime preference does not turn CUB status-returning APIs into exception-based ones. Check asynchronous execution at a completion boundary too.\n\nReuse scratch allocations across repeated calls. If the supported API uses the two-call temporary-storage protocol, query and allocate outside the hot loop when size and configuration are unchanged. If an environment allocates scratch internally, use an appropriate reusable memory resource and measure that path.\n\nFuse transforms into consumers using transform, zip, counting, and permutation iterators. Combine related aggregate results into one reduction when the operator and numerical contract permit it. Account for register pressure and repeated computation; fusion is a measured choice, not an unconditional win.\n\nFor segmented work, check fixed-size segment overloads when lengths are uniform. For variable lengths, compare suitable segmented and by-key approaches against actual segment distributions. Do not import another workload's segment-size threshold or speedup.\n\n## Request determinism explicitly\n\nSeparate same-GPU rerun reproducibility from cross-architecture reproducibility. Floating-point addition is not mathematically associative in machine arithmetic. Changing precision alone does not establish a bitwise guarantee.\n\nCheck each algorithm's documented default and supported `cuda::execution::determinism` requirements. Where supported, combine a requirement with the explicit stream in an execution environment. Treat unsupported guarantees as a design constraint, not a reason to silently drop the requirement.\n\nDo not assume floating-point scans or by-key reductions share DeviceReduce's default guarantees. Cross-GPU deterministic modes can be restricted by type and operator. Fixed-point conversion changes numerical semantics and needs range\u002Ferror analysis plus user agreement when it changes the contract.\n\nMeasure the cost of the requested guarantee. Do not promise that determinism is free or transfer a timing from another GPU.\n\n## Preserve device-collective participation\n\nWhen a library-wide algorithm cannot express the operation, prefer suitable CUB block\u002Fwarp collectives inside the custom kernel.\n\nMatch template dimensions and participating lanes to the launch. Keep barriers and collectives uniform across their required participants, including tail handling. Observe documented result-valid threads and synchronize before reusing shared temporary storage. An early return that skips a later collective can break otherwise valid inputs.\n\n## Migrate and verify through a real caller\n\nFor CCCL upgrades, consult the release migration guide. Replace removed APIs with supported equivalents in every affected caller. Do not recreate removed symbols inside NVIDIA namespaces, pin an old release to mask the problem, or add compatibility aliases without a supported-version requirement.\n\nUse a focused consumer check with a CPU\u002Freference result. Select meaningful edges from the changed contract: empty input, a partial block, ties, overflow-prone accumulation, special floating-point values, long key runs, or a non-default stream. Test requested determinism at its declared scope. Keep correctness checks outside timed regions.\n\nFor performance changes, follow `cuda-profiling`: report matched unprofiled timings, workload and allocation scope, and measurement noise. Explain why a library composition or custom kernel was selected.\n\n## Sources and attribution\n\nAdapted from NVIDIA's [CCCL consumer skill](https:\u002F\u002Fgithub.com\u002FNVIDIA\u002Fcccl\u002Fblob\u002F19eb098240768f1ac25ac3e693cd40432815175e\u002Fskills\u002Fcccl\u002FSKILL.md), proposed in [PR #12579](https:\u002F\u002Fgithub.com\u002FNVIDIA\u002Fcccl\u002Fpull\u002F12579), under [CC BY 4.0](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby\u002F4.0\u002F). Changes separate runtime guidance, qualify version-sensitive contracts, remove fixed performance claims, and add explicit verification criteria. This adaptation is not an NVIDIA endorsement.\n\nUse release-matched versions of the [CCCL documentation](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002F), including the [CUB algorithm catalog](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcub\u002Fdevice_wide.html), [execution environments](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcub\u002Fenvironment.html), [determinism](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcub\u002Fdeterminism.html), and [3.0 migration guide](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcccl\u002F3.0_migration_guide.html).\n","# Choose and compose CCCL algorithms\n\nCheck NVIDIA CCCL before writing a custom CUDA kernel. Use a library algorithm when it meets the required semantics and measured performance. Compose iterators and operations before materializing intermediate arrays. A custom kernel needs a concrete reason, such as an unsupported operation, fusion requirement, or measured bottleneck.\n\nThis skill covers algorithm selection and contracts. Use `nvidia-cccl-runtime` for explicit device selection, streams, buffers, and lifetime management. Use `cuda-profiling` for benchmarking and performance evidence.\n\n## Establish the installed contract\n\n1. Identify the resolved CCCL headers, compiler, C++ standard, and supported deployment versions. A separately supplied CCCL can differ from the toolkit's bundled version.\n2. Query `nvidia-cuda-docs\u002Fsearch_cuda_docs` first. Include the algorithm, intended semantics, and target version. In omp, read `xd:\u002F\u002Fmcp__nvidia_cuda_docs_search_cuda_docs`, then write `{\"query\":\"...\"}` to that device.\n3. Check the selected overload in release-matched documentation and installed headers. If MCP is unavailable or incomplete, use the NVIDIA sources below. State unresolved gaps.\n\nDo not assume a CUDA major version identifies the exact CCCL release. Check the project's actual compiler include configuration. To inspect `CCCL_VERSION`, use that configuration with:\n\n```bash\nprintf '#include \u003Ccuda\u002Fversion>\\nCCCL_VERSION\\n' | nvcc -x cu -E -\n```\n\nFor CUDA 13 installations, check whether host C++ compilation receives the toolkit's `include\u002Fcccl` directory. Use the project's imported dependency targets or package configuration to propagate includes. Keep includes such as `\u003Cthrust\u002Fhost_vector.h>`, not `\u003Ccccl\u002Fthrust\u002Fhost_vector.h>`. Avoid hard-coded toolkit paths.\n\nCompletion criterion: the chosen API, overload, and required properties exist in every supported configuration affected by the change.\n\n## Select an algorithm family\n\nUse this map to narrow the lookup, not as a promise that every symbol exists in older releases:\n\n| Required operation | Candidates |\n|---|---|\n| Sum or custom aggregate | `thrust::reduce`, `thrust::transform_reduce`, `cub::DeviceReduce` |\n| Minimum or maximum with position | `thrust::min_element`, `thrust::max_element`, CUB ArgMin or ArgMax |\n| Prefix sums | Thrust scans, `cub::DeviceScan` |\n| Full sort or key\u002Fvalue sort | Thrust sort algorithms, `cub::DeviceRadixSort` |\n| Top-k only | `cub::DeviceTopK`, or selection followed by sorting only the selected results |\n| Segmented operations | `cub::DeviceSegmentedReduce`, `DeviceSegmentedScan`, `DeviceSegmentedSort` |\n| Consecutive-key aggregation | `thrust::reduce_by_key`, CUB ReduceByKey |\n| Histogram | `cub::DeviceHistogram` |\n| Filter, compact, or partition | Thrust copy\u002Fremove\u002Fpartition algorithms, `cub::DeviceSelect`, `DevicePartition` |\n| Run lengths or distinct count in sorted input | `cub::DeviceRunLengthEncode`, `thrust::unique_count` where available |\n| Search, first mismatch, or merge | Thrust find, mismatch, lower_bound, and merge algorithms |\n| Elementwise work | `thrust::transform`, `for_each`, `cub::DeviceTransform`, `DeviceFor` |\n| Device-callable building blocks | CUB block\u002Fwarp collectives and libcu++ device utilities |\n\nFor modern standard-style GPU algorithms, check `cuda::std` algorithm support and the `cuda::execution::gpu` policy in the installed release. Attach the intended stream explicitly. Host `std::execution::par` does not by itself select a CUDA backend.\n\n## Check semantics before choosing the fastest path\n\n- Trace input, accumulator, initial-value, output, and index types separately. A wider output does not necessarily widen accumulation. Thrust reduction initialization with `0` can select integer accumulation for floating-point input. CUB deduction differs by overload and operator; inspect it rather than generalizing Thrust's rule.\n- Widen operands before size or byte-offset arithmetic. Carry a supported wide item-count\u002Findex type through iterators and the full algorithm, not just its public parameter.\n- Verify identity, empty input, NaN\u002Finfinity behavior, ties, and stable-order requirements. Test first-position ties when callers require them. Check whether a minimum API uses a finite identity when the application needs positive infinity.\n- Check associativity and permitted operand reordering. Device-wide CUB Reduce does not support noncommutative operators. Ordered composition may need an order-preserving scan followed by its final result. Do not extend one algorithm's restriction to every reduction or collective.\n- `reduce_by_key` and unique operations act on consecutive equal values. Sort or otherwise group keys when global grouping is required.\n- For `HistogramEven`, distinguish bin count from level count and check the half-open sample range. A 256-bin byte histogram uses 257 levels spanning `[0, 256)`.\n- Read `cub::DoubleBuffer::Current()` after operations that can alternate buffers. Do not assume the originally supplied buffer contains the result.\n- Validate radix-sort bit ranges against the documented signed\u002Ffloating-point key transformation. Restrict bits only when that transformed ordering matches the contract. A custom comparator may select a different sorting algorithm.\n- Top-k does not imply sorted output, deterministic ties, or a stable order. Check the installed `DeviceTopK` requirements. Some releases require explicit `determinism::not_guaranteed` and `output_ordering::unsorted` properties. Sort the selected pairs afterward if callers need ordered results.\n\nCompletion criterion: each application requirement has an explicit algorithm guarantee or a checked transformation that provides it.\n\n## Compose work without hidden synchronization\n\nPass the caller's stream to every algorithm. Raw device pointers need an explicit device execution policy when Thrust cannot infer their system. Prefer a stream-bound policy over a global default.\n\nDistinguish host-returning algorithms from device-output algorithms. Thrust calls returning a host scalar or data-dependent iterator can require completion before returning. `thrust::cuda::par.on(stream)` can synchronize; `par_nosync.on(stream)` permits asynchronous execution where supported, but does not make every operation nonblocking.\n\nFor overlapping streams, keep results on the device with an available device-output algorithm, such as CUB reduction or `thrust::reduce_into`. Establish cross-stream dependencies explicitly. Synchronize at the caller boundary that needs completed results.\n\nModern CUB overloads can accept a stream or `cuda::std::execution::env` combining stream, memory resource, and requirements. Verify the overload and construct the environment for the intended device. A default environment is not a substitute for explicit stream selection.\n\nContinue checking CUB's returned `cudaError_t` where the interface returns a status. CCCL's C++ runtime preference does not turn CUB status-returning APIs into exception-based ones. Check asynchronous execution at a completion boundary too.\n\nReuse scratch allocations across repeated calls. If the supported API uses the two-call temporary-storage protocol, query and allocate outside the hot loop when size and configuration are unchanged. If an environment allocates scratch internally, use an appropriate reusable memory resource and measure that path.\n\nFuse transforms into consumers using transform, zip, counting, and permutation iterators. Combine related aggregate results into one reduction when the operator and numerical contract permit it. Account for register pressure and repeated computation; fusion is a measured choice, not an unconditional win.\n\nFor segmented work, check fixed-size segment overloads when lengths are uniform. For variable lengths, compare suitable segmented and by-key approaches against actual segment distributions. Do not import another workload's segment-size threshold or speedup.\n\n## Request determinism explicitly\n\nSeparate same-GPU rerun reproducibility from cross-architecture reproducibility. Floating-point addition is not mathematically associative in machine arithmetic. Changing precision alone does not establish a bitwise guarantee.\n\nCheck each algorithm's documented default and supported `cuda::execution::determinism` requirements. Where supported, combine a requirement with the explicit stream in an execution environment. Treat unsupported guarantees as a design constraint, not a reason to silently drop the requirement.\n\nDo not assume floating-point scans or by-key reductions share DeviceReduce's default guarantees. Cross-GPU deterministic modes can be restricted by type and operator. Fixed-point conversion changes numerical semantics and needs range\u002Ferror analysis plus user agreement when it changes the contract.\n\nMeasure the cost of the requested guarantee. Do not promise that determinism is free or transfer a timing from another GPU.\n\n## Preserve device-collective participation\n\nWhen a library-wide algorithm cannot express the operation, prefer suitable CUB block\u002Fwarp collectives inside the custom kernel.\n\nMatch template dimensions and participating lanes to the launch. Keep barriers and collectives uniform across their required participants, including tail handling. Observe documented result-valid threads and synchronize before reusing shared temporary storage. An early return that skips a later collective can break otherwise valid inputs.\n\n## Migrate and verify through a real caller\n\nFor CCCL upgrades, consult the release migration guide. Replace removed APIs with supported equivalents in every affected caller. Do not recreate removed symbols inside NVIDIA namespaces, pin an old release to mask the problem, or add compatibility aliases without a supported-version requirement.\n\nUse a focused consumer check with a CPU\u002Freference result. Select meaningful edges from the changed contract: empty input, a partial block, ties, overflow-prone accumulation, special floating-point values, long key runs, or a non-default stream. Test requested determinism at its declared scope. Keep correctness checks outside timed regions.\n\nFor performance changes, follow `cuda-profiling`: report matched unprofiled timings, workload and allocation scope, and measurement noise. Explain why a library composition or custom kernel was selected.\n\n## Sources and attribution\n\nAdapted from NVIDIA's [CCCL consumer skill](https:\u002F\u002Fgithub.com\u002FNVIDIA\u002Fcccl\u002Fblob\u002F19eb098240768f1ac25ac3e693cd40432815175e\u002Fskills\u002Fcccl\u002FSKILL.md), proposed in [PR #12579](https:\u002F\u002Fgithub.com\u002FNVIDIA\u002Fcccl\u002Fpull\u002F12579), under [CC BY 4.0](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby\u002F4.0\u002F). Changes separate runtime guidance, qualify version-sensitive contracts, remove fixed performance claims, and add explicit verification criteria. This adaptation is not an NVIDIA endorsement.\n\nUse release-matched versions of the [CCCL documentation](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002F), including the [CUB algorithm catalog](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcub\u002Fdevice_wide.html), [execution environments](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcub\u002Fenvironment.html), [determinism](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcub\u002Fdeterminism.html), and [3.0 migration guide](https:\u002F\u002Fnvidia.github.io\u002Fcccl\u002Funstable\u002Fcccl\u002F3.0_migration_guide.html).\n",{"name":5,"license":15,"description":7},"main","ee3268057b208cb747080879d0d6541f3bd2b90e","home\u002Fdot_agents\u002Fskills\u002Fcccl-algorithms",0,"https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Ftdortman","I like fast software, especially when it runs in parallel","2026-11-15 01:38:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add tdortman\u002Fdotfiles --skill cccl-algorithms",{"tool":38,"command":39},"bunx","bunx skills add tdortman\u002Fdotfiles --skill cccl-algorithms",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tdortman\u002Fdotfiles --skill cccl-algorithms","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002Fdot_agents\u002Fskills\u002Fcccl-algorithms\u002FSKILL.md",true,[],[47,99,135,169,202],{"skillNo":48,"name":49,"nameZh":50,"description":51,"descriptionZh":52,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":66,"publishedAt":98},"01M6BXEN3N54DV7QBEMGT89M13","scientific-visualization","科学图表绘制与审查","Create and audit truthful, accessible, publication-ready scientific figures with Matplotlib, Seaborn, or Plotly. Use for figure design, multi-panel layouts, uncertainty and missing-data displays, color\u002Fcontrast review, image metadata validation, and journal export planning.","使用 Matplotlib、Seaborn 或 Plotly 创建并审查真实可信、无障碍、可直接发表的科研图表。用于图表设计、多面板布局、不确定性与缺失数据展示、颜色／对比度审查、图像元数据验证以及期刊导出规划。","MIT","https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002Fdot_agents\u002Fskills\u002Fscientific-visualization\u002FSKILL.md",[56,61],{"categoryNo":57,"categoryName":58,"taxonomyType":59,"taxonomyTypeDesc":60},"01M8C9ACBDPVTNQWXB5S7B0Q9N","科学计算与数值仿真","SCENARIO","使用场景",{"categoryNo":62,"categoryName":63,"taxonomyType":64,"taxonomyTypeDesc":65},"01M8C9D282HS6PBNFFH2AD1RSX","学术研究员","PROFESSION","适用职业",[67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],"visualization","scientific visualization","scientific","design","image","review","python","chrome","chromium","create","planning","validation","metadata","audit","examples","network","data","matplotlib","plotly","seaborn","Bash","read","write","edit","only","ready","uv","journal","free","static","when","2026-11-10 10:12:30",{"skillNo":100,"name":101,"nameZh":102,"description":103,"descriptionZh":104,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":113,"publishedAt":98},"01M6BXE8KCCW4EVR927Q5RR951","ponytail","极简编码实践","Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says \"ponytail\", \"be lazy\", \"lazy mode\", \"simplest solution\", \"minimal solution\", \"yagni\", \"do less\", or \"shortest path\", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).","强制采用最省事但确实有效的解决方案——最简单、最短、最精简。模拟一位见多识广的资深开发者：质疑任务本身是否必要存在（YAGNI），在编写自定义代码前先考虑标准库，在引入依赖前先考虑平台原生特性，一行代码能搞定就不用五十行。支持强度级别：`lite`、`full`（默认）、`ultra`。适用于任何编码任务：编写、添加、重构、修复、审查或设计代码，以及选择库或依赖。当用户说出 `ponytail`、`be lazy`、`lazy mode`、`simplest solution`、`minimal solution`、`yagni`、`do less` 或 `shortest path`，或抱怨过度工程、臃肿、样板代码或不必要的依赖时也应使用。不要用于非编码请求（通用知识、散文、翻译、摘要、食谱）。","https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002Fdot_agents\u002Fskills\u002Fponytail\u002FSKILL.md",[107,110],{"categoryNo":108,"categoryName":109,"taxonomyType":64,"taxonomyTypeDesc":65},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":111,"categoryName":112,"taxonomyType":59,"taxonomyTypeDesc":60},"01M8CAAMN19HMY7B3JXN2CBP29","工程实践准则",[101,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134],"writing","libraries","code","dev","library","engineering","knowledge","refactoring","question","yagni","default","translation","recipes","line","native","mode","at","ultra","bloat","features","senior",{"skillNo":136,"name":137,"nameZh":138,"description":139,"descriptionZh":140,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":147,"publishedAt":98},"01M6BXDRR0BNYSZ6V3QKEX8G05","paper-lookup","学术文献检索与溯源","Search 11 academic literature APIs for papers, preprints, citations, and open-access full text, and return results with reproducible provenance. Covers PubMed, PMC (full text), Europe PMC (full-text and preprint search), bioRxiv, medRxiv, arXiv, OpenAlex, Crossref, Semantic Scholar, CORE, Unpaywall. Use when searching for papers, citations, DOI\u002FPMID\u002FarXiv lookups, abstracts, full text, open-access PDFs, preprints, citation graphs, author publications, or any scholarly literature query. Triggers on mentions of any supported database or requests like \"find papers on X\", \"look up this DOI\", \"who cites this paper\", or \"get me the PDF\".","搜索 11 个学术文献 API，检索论文、预印本、引用和开放获取全文，并返回带有可复现来源溯源的结果。涵盖 PubMed、PMC（全文）、Europe PMC（全文和预印本搜索）、bioRxiv、medRxiv、arXiv、OpenAlex、Crossref、Semantic Scholar、CORE、Unpaywall。适用于搜索论文、引用、DOI\u002FPMID\u002FarXiv 查询、摘要、全文、开放获取 PDF、预印本、引用图谱、作者发表文献或任何学术文献查询。当提及任何支持的数据库，或收到诸如 \"find papers on X\"（查找关于 X 的论文）、\"look up this DOI\"（查询此 DOI）、\"who cites this paper\"（谁引用了这篇论文）、\"get me the PDF\"（帮我获取 PDF）等请求时触发。","https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002Fdot_agents\u002Fskills\u002Fpaper-lookup\u002FSKILL.md",[143,146],{"categoryNo":144,"categoryName":145,"taxonomyType":59,"taxonomyTypeDesc":60},"01M8BRK8296DVQW3GCBXC89NVG","网页搜索与信息研究",{"categoryNo":62,"categoryName":63,"taxonomyType":64,"taxonomyTypeDesc":65},[148,149,150,151,73,152,153,154,118,155,82,156,157,158,159,160,87,161,162,91,163,164,165,166,167,168,97],"lookup","paper lookup","paper","PDF","core","database","search","Reproducible","Citations","provenance","credentials","api","open","access","text","up","query","get","literature","pmc","papers",{"skillNo":170,"name":171,"nameZh":172,"description":173,"descriptionZh":174,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":175,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":184,"publishedAt":98},"01M6BXDF8N989BHR1WEX6ZHCNG","markdown-mermaid-writing","Markdown\u002FMermaid 文档图表编写","Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.","全面的 Markdown 和 Mermaid 图表编写技能。适用于创建任何科学文档、报告、分析或可视化内容。将基于文本的图表确立为默认文档标准，提供完整的样式指南（markdown + mermaid）、24 种图表类型参考和 9 个文档模板。","Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002Fdot_agents\u002Fskills\u002Fmarkdown-mermaid-writing\u002FSKILL.md",[178,181],{"categoryNo":179,"categoryName":180,"taxonomyType":64,"taxonomyTypeDesc":65},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",{"categoryNo":182,"categoryName":183,"taxonomyType":59,"taxonomyTypeDesc":60},"01M8C4J7FEEP1G3VGJQ48N8BVT","技术图表绘制",[114,185,186,187,188,189,190,67,191,192,193,194,195,196,87,162,88,197,124,198,199,200,201,69,97],"mermaid","markdown","markdown mermaid writing","github","documentation","diagram","report","https","integration","templates","analysis","team","diagrams","references","community","project","guides",{"skillNo":203,"name":204,"nameZh":205,"description":206,"descriptionZh":207,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":208,"categories":209,"keywords":216,"publishedAt":98},"01M6BXD69SJ32WMXJDZVMQQ6CG","i-have-adhd","ADHD 友好输出风格控制","Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time estimates, make wins visible. Invoke with \u002Fi-have-adhd; stays on until \"stop adhd mode\".","为 ADHD 读者调整输出：优先给出下一步行动，多步骤工作编号列出，跨轮次重申当前状态，抑制无关发散，给出具体的时间估计，让成果可见。使用 \u002Fi-have-adhd 调用；持续生效，直到输入 \"stop adhd mode\"。","https:\u002F\u002Fgithub.com\u002Ftdortman\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002Fdot_agents\u002Fskills\u002Fi-have-adhd\u002FSKILL.md",[210,213],{"categoryNo":211,"categoryName":212,"taxonomyType":64,"taxonomyTypeDesc":65},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":214,"categoryName":215,"taxonomyType":59,"taxonomyTypeDesc":60},"01M8C1YEW2680C003GGBD6QCKB","回复风格与输出控制",[217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,129,233,234,235],"i have adhd","adhd","state","productivity","work","shape","next","time","across","false","style","multi","restate","output","with","number","for","adhd mode","invoke"]