[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75G2FFCZ1XCDNBDXXP0D7AG":3,"skill-same:01M75G2FFCZ1XCDNBDXXP0D7AG":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":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75G2FFCZ1XCDNBDXXP0D7AG","build-parallelism",null,"Analyze MSBuild scheduling across at least two distinct projects in a solution\u002Ffilter\u002FBuild.proj. USE FOR: measured idle workers, -m not scaling, serial ProjectReference critical paths, graph builds, MSBuild Projects-list scheduling. DO NOT USE FOR: duplicate executions or invariant-generation races (find-repeated-work-within-one-build), non-MSBuild systems.","stanfish06\u002Fskillquarium","stanfish06","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93099613?v=4","01M75F1CK4ZW109ZK3T26VN52F","Zhiyuan","01M75F1CM53VH6F79DZ8GXKKES",12,"MIT","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fbuild-parallelism\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: build-parallelism\ndescription: \"Analyze MSBuild scheduling across at least two distinct projects in a solution\u002Ffilter\u002FBuild.proj. USE FOR: measured idle workers, -m not scaling, serial ProjectReference critical paths, graph builds, MSBuild Projects-list scheduling. DO NOT USE FOR: duplicate executions or invariant-generation races (find-repeated-work-within-one-build), non-MSBuild systems.\"\nlicense: MIT\n---\n\n## Diagnose a slow parallel build (start here)\n\nWork this checklist in order — it targets the usual root cause (a serial\ndependency chain that no number of cores can parallelize):\n\n1. **Check how many worker nodes actually built the solution.** Capture a\n   binlog with `dotnet build \u002Fbl:{}` (PowerShell: `dotnet build '-bl:{}'`) and\n   inspect the node timeline to see whether more than one node ran. Every\n   `dotnet` CLI command built on the SDK's MSBuild-forwarding path (`build`,\n   `msbuild`, `test`, `pack`, `publish`, etc.) enables `\u002Fmaxcpucount` (multiple\n   nodes) by default; `-m:1` forces a single node. A direct `MSBuild.exe`\n   invocation is sequential by default, so pass `-m` explicitly to enable\n   parallel worker nodes there.\n2. **Find the critical path.** From the binlog, read per-project timings and the\n   node timeline. If total build time ≈ the sum of the projects on one\n   dependency chain, that chain — not CPU count — is the bottleneck.\n3. **Name the chain explicitly**, e.g. `Core → Api → Web → Tests`. A long serial\n   chain stays serial no matter how large `-m` is, because each project waits on\n   its predecessor.\n4. **Look for unnecessary `ProjectReference` edges** that lengthen the chain — a\n   reference that only needs build order (not the output assembly), or one that\n   could be a `PackageReference`, forces serialization it doesn't need.\n5. **Recommend flattening**: break false dependencies so independent projects\n   build concurrently, and consider `\u002Fgraph` for better scheduling.\n\n## MSBuild Parallelism Model\n\n- `\u002Fmaxcpucount` (or `-m`): number of worker nodes (processes)\n- Every `dotnet` CLI command (`build`, `msbuild`, `test`, `pack`, `publish`,\n  etc.) passes `\u002Fmaxcpucount` by default via the SDK's shared MSBuild-forwarding\n  path; `-m:1` overrides it with one node\n- A direct `MSBuild.exe` invocation is sequential by default and requires an\n  explicit `-m`\n- Recommended: `-m` without a number = use all logical processors\n- Each node builds one project at a time\n- Projects are scheduled based on dependency graph\n\n## Project Dependency Graph\n\n- MSBuild builds projects in dependency order (topological sort)\n- Critical path: longest chain of dependent projects determines minimum build time\n- Bottleneck: if project A depends on B, C, D and B takes 60s while C and D take 5s, B is the bottleneck\n- Diagnosis: replay binlog to diagnostic log with `performancesummary` and check Project Performance Summary — shows per-project time; grep for `node.*assigned` to check scheduling\n- Wide graphs (many independent projects) parallelize well; deep graphs (long chains) don't\n\n## Graph Build Mode (`\u002Fgraph`)\n\n- `dotnet build \u002Fgraph` or `msbuild \u002Fgraph`\n- What it changes: MSBuild constructs the full project dependency graph BEFORE building\n- Benefits: better scheduling, avoids redundant evaluations, enables isolated builds\n- Limitations: all projects must use `\u003CProjectReference>` (no programmatic MSBuild task references)\n- When to use: large solutions with many projects, CI builds\n- When NOT to use: projects that dynamically discover references at build time\n\n## Optimizing Project References\n\n- Reduce a `\u003CProjectReference>` only after proving it is unnecessary; a slow but\n  valid dependency must stay in the graph\n- Use `\u003CProjectReference ... SkipGetTargetFrameworkProperties=\"true\">` to avoid extra evaluations\n- `\u003CProjectReference ... ReferenceOutputAssembly=\"false\">` for build-order-only dependencies\n- Consider if a ProjectReference should be a PackageReference instead (pre-built NuGet)\n- Use `solution filters` (`.slnf`) to build subsets of the solution\n\n## BuildInParallel\n\n- `\u003CMSBuild Projects=\"@(ProjectsToBuild)\" BuildInParallel=\"true\" \u002F>` in custom targets\n- Without `BuildInParallel=\"true\"`, MSBuild task batches projects sequentially\n- Ensure `\u002Fmaxcpucount` > 1 for this to have effect\n\n## Multi-threaded MSBuild Tasks\n\n- Individual tasks can run multi-threaded within a single project build\n- Tasks implementing `IMultiThreadableTask` can run on multiple threads\n- Tasks must declare thread-safety via `[MSBuildMultiThreadableTask]`\n\n## Analyzing Parallelism with Binlog\n\n### Primary: binlog MCP (preferred)\n\nUse the **binlog MCP server** (`Microsoft.AITools.BinlogMcp`, exposed under the `binlog` MCP namespace):\n\n1. Use expensive_projects tool → find the slowest projects and compare individual vs total build time\n2. Use expensive_targets tool → find bottleneck targets\n3. Use project_target_times tool → drill into a specific project's target-level timing\n4. Ideal: build time should be much less than sum of project times (parallelism)\n5. If build time ≈ sum of project times: too many serial dependencies, or one slow project blocking others\n\n### Fallback: text-log replay (when MCP is unavailable)\n\nStep-by-step:\n\n1. Replay the binlog: `dotnet msbuild build.binlog -noconlog -fl \"-flp:v=diag;logfile=full.log;performancesummary\"`\n2. Check Project Performance Summary at the end of `full.log`\n3. Ideal: build time should be much less than sum of project times (parallelism)\n4. If build time ≈ sum of project times: too many serial dependencies, or one slow project blocking others\n5. `grep 'Target Performance Summary' -A 30 full.log` → find the bottleneck targets\n6. Consider splitting large projects or optimizing the critical path\n\n## CI\u002FCD Parallelism Tips\n\n- Use `-m` in CI (many CI runners have multiple cores)\n- Consider splitting solution into build stages for extreme parallelism\n- Use build caching (NuGet lock files, deterministic builds) to avoid rebuilding unchanged projects\n- `dotnet build \u002Fgraph` works well with structured CI pipelines\n","## Diagnose a slow parallel build (start here)\n\nWork this checklist in order — it targets the usual root cause (a serial\ndependency chain that no number of cores can parallelize):\n\n1. **Check how many worker nodes actually built the solution.** Capture a\n   binlog with `dotnet build \u002Fbl:{}` (PowerShell: `dotnet build '-bl:{}'`) and\n   inspect the node timeline to see whether more than one node ran. Every\n   `dotnet` CLI command built on the SDK's MSBuild-forwarding path (`build`,\n   `msbuild`, `test`, `pack`, `publish`, etc.) enables `\u002Fmaxcpucount` (multiple\n   nodes) by default; `-m:1` forces a single node. A direct `MSBuild.exe`\n   invocation is sequential by default, so pass `-m` explicitly to enable\n   parallel worker nodes there.\n2. **Find the critical path.** From the binlog, read per-project timings and the\n   node timeline. If total build time ≈ the sum of the projects on one\n   dependency chain, that chain — not CPU count — is the bottleneck.\n3. **Name the chain explicitly**, e.g. `Core → Api → Web → Tests`. A long serial\n   chain stays serial no matter how large `-m` is, because each project waits on\n   its predecessor.\n4. **Look for unnecessary `ProjectReference` edges** that lengthen the chain — a\n   reference that only needs build order (not the output assembly), or one that\n   could be a `PackageReference`, forces serialization it doesn't need.\n5. **Recommend flattening**: break false dependencies so independent projects\n   build concurrently, and consider `\u002Fgraph` for better scheduling.\n\n## MSBuild Parallelism Model\n\n- `\u002Fmaxcpucount` (or `-m`): number of worker nodes (processes)\n- Every `dotnet` CLI command (`build`, `msbuild`, `test`, `pack`, `publish`,\n  etc.) passes `\u002Fmaxcpucount` by default via the SDK's shared MSBuild-forwarding\n  path; `-m:1` overrides it with one node\n- A direct `MSBuild.exe` invocation is sequential by default and requires an\n  explicit `-m`\n- Recommended: `-m` without a number = use all logical processors\n- Each node builds one project at a time\n- Projects are scheduled based on dependency graph\n\n## Project Dependency Graph\n\n- MSBuild builds projects in dependency order (topological sort)\n- Critical path: longest chain of dependent projects determines minimum build time\n- Bottleneck: if project A depends on B, C, D and B takes 60s while C and D take 5s, B is the bottleneck\n- Diagnosis: replay binlog to diagnostic log with `performancesummary` and check Project Performance Summary — shows per-project time; grep for `node.*assigned` to check scheduling\n- Wide graphs (many independent projects) parallelize well; deep graphs (long chains) don't\n\n## Graph Build Mode (`\u002Fgraph`)\n\n- `dotnet build \u002Fgraph` or `msbuild \u002Fgraph`\n- What it changes: MSBuild constructs the full project dependency graph BEFORE building\n- Benefits: better scheduling, avoids redundant evaluations, enables isolated builds\n- Limitations: all projects must use `\u003CProjectReference>` (no programmatic MSBuild task references)\n- When to use: large solutions with many projects, CI builds\n- When NOT to use: projects that dynamically discover references at build time\n\n## Optimizing Project References\n\n- Reduce a `\u003CProjectReference>` only after proving it is unnecessary; a slow but\n  valid dependency must stay in the graph\n- Use `\u003CProjectReference ... SkipGetTargetFrameworkProperties=\"true\">` to avoid extra evaluations\n- `\u003CProjectReference ... ReferenceOutputAssembly=\"false\">` for build-order-only dependencies\n- Consider if a ProjectReference should be a PackageReference instead (pre-built NuGet)\n- Use `solution filters` (`.slnf`) to build subsets of the solution\n\n## BuildInParallel\n\n- `\u003CMSBuild Projects=\"@(ProjectsToBuild)\" BuildInParallel=\"true\" \u002F>` in custom targets\n- Without `BuildInParallel=\"true\"`, MSBuild task batches projects sequentially\n- Ensure `\u002Fmaxcpucount` > 1 for this to have effect\n\n## Multi-threaded MSBuild Tasks\n\n- Individual tasks can run multi-threaded within a single project build\n- Tasks implementing `IMultiThreadableTask` can run on multiple threads\n- Tasks must declare thread-safety via `[MSBuildMultiThreadableTask]`\n\n## Analyzing Parallelism with Binlog\n\n### Primary: binlog MCP (preferred)\n\nUse the **binlog MCP server** (`Microsoft.AITools.BinlogMcp`, exposed under the `binlog` MCP namespace):\n\n1. Use expensive_projects tool → find the slowest projects and compare individual vs total build time\n2. Use expensive_targets tool → find bottleneck targets\n3. Use project_target_times tool → drill into a specific project's target-level timing\n4. Ideal: build time should be much less than sum of project times (parallelism)\n5. If build time ≈ sum of project times: too many serial dependencies, or one slow project blocking others\n\n### Fallback: text-log replay (when MCP is unavailable)\n\nStep-by-step:\n\n1. Replay the binlog: `dotnet msbuild build.binlog -noconlog -fl \"-flp:v=diag;logfile=full.log;performancesummary\"`\n2. Check Project Performance Summary at the end of `full.log`\n3. Ideal: build time should be much less than sum of project times (parallelism)\n4. If build time ≈ sum of project times: too many serial dependencies, or one slow project blocking others\n5. `grep 'Target Performance Summary' -A 30 full.log` → find the bottleneck targets\n6. Consider splitting large projects or optimizing the critical path\n\n## CI\u002FCD Parallelism Tips\n\n- Use `-m` in CI (many CI runners have multiple cores)\n- Consider splitting solution into build stages for extreme parallelism\n- Use build caching (NuGet lock files, deterministic builds) to avoid rebuilding unchanged projects\n- `dotnet build \u002Fgraph` works well with structured CI pipelines\n",{"name":5,"license":15,"description":7},"master","49e49abf2f670d429e0b7e2c0349739c3fdd5cbe","skills\u002Fbuild-parallelism",5,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium","https:\u002F\u002Fgithub.com\u002Fstanfish06","https:\u002F\u002Fwww.stanfish.dev\u002F","2026-11-14 21:31:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add stanfish06\u002Fskillquarium --skill build-parallelism",{"tool":38,"command":39},"bunx","bunx skills add stanfish06\u002Fskillquarium --skill build-parallelism",{"tool":41,"command":42},"pnpm","pnpm dlx skills add stanfish06\u002Fskillquarium --skill build-parallelism","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fbuild-parallelism\u002FSKILL.md",true,[],[47,54,63,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M76ZJTRVA456GD7K8Y3EP82H","zarr-python","Stores and queries chunked N-D scientific arrays with Zarr-Python 3, including codecs, sharding, S3\u002FGCS storage, and NumPy\u002FDask\u002FXarray integration. Use for array layout, bounded I\u002FO, format migration, or scientific metadata preservation.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M76ZJQZ15Q1HKC5V85NHE325","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M76ZJ8ASZ4QYQ70Y6SBA4Z4S","xarray","N-dimensional labeled arrays and datasets in Python. Built on top of NumPy and Dask. It introduces labels in the form of dimensions, coordinates, and attributes on top of raw NumPy-like arrays, making data analysis in physical sciences more intuitive and less error-prone. Use for working with multi-dimensional scientific data, NetCDF\u002FGRIB\u002FZarr files, climate\u002Fweather\u002Foceanographic datasets, remote sensing, geospatial imaging, large out-of-memory datasets with Dask, and labeled array operations.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fxarray\u002FSKILL.md",[],[],{"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},"01M76ZHFBXD6VXPQ02VCEG202B","writing-mstest-tests","Use when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for \"review\" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected\u002Factual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext\u002Flifecycle; timeout\u002Fcancellation; OS\u002FCI conditions, retry, cleanup, parallelization, MSTest.Sdk project setup, and MSTESTxxxx. Honor the installed MSTest version. DO NOT USE to design new test cases (code-testing), perform report-only audits, create project files rather than explain MSTest setup, run tests, migrate frameworks, or handle non-MSTest\u002Fnon-.NET code.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-mstest-tests\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},"01M76ZDFDF4N88RH6HSYGS7GP2","wgs-prs","End-to-end WGS to polygenic risk score pipeline. Takes paired-end FASTQ files (or a pre-existing VCF) through nf-core\u002Fsarek for variant calling, applies VCF QC (normalisation, hard filtering, Ti\u002FTv and Het\u002FHom checks), then computes polygenic risk scores via the PGS Catalog. Fills the FASTQ to VCF gap upstream of the gwas-prs skill.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwgs-prs\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":58,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M76ZCC1SC68J42QK4MDC8RCG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[]]