ByteTerrace/Puck / .claude/skills/dotnet-performance
dotnet-performance
VerifiedTunes Puck .NET 11 performance: allocation, gen0 pauses, layout, false sharing, LINQ, SIMD, Vector<T>, async, JIT tiering, first-call latency, AllocationWindow, puck bench, AOT. Numerics: maths-usage.
evals/n01-linq-to-loop/graders/checks-obsolete-folklore.md
View on GitHub---
type: llm
weight: 1
---
The response treats "the hand-written loop allocates less on .NET 11" as a premise to check before rewriting, by counting the pipeline's actual allocations (or reading its disassembly) in the build the World runs, rather than assuming the answer either way.
PASS example: "Check the claim first. `Where().Select().ToList()` may already cost only a couple of iterator objects plus the list on .NET 11; count the bytes before and after." A reply that says the premise is unproven and must be measured also passes.
FAIL if it accepts the premise and goes straight to the rewrite, or asserts without measuring that LINQ always allocates more, or that .NET 11 removes all of its allocations. Example: "LINQ allocates an enumerator and a delegate per call, so the loop will be faster; here is the rewrite."
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |