[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79WKYR64S61FP4S7VP4R77Z":3,"skill-same:01M79WKYR64S61FP4S7VP4R77Z":77},{"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},"01M79WKYR64S61FP4S7VP4R77Z","analyzing-dotnet-performance",null,"Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.","Blind-Striker\u002Fagent-skills-and-plugins","Blind-Striker","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1965259?v=4","01M79WFXTE5PH0C1VB7B54ANMN","Deniz İrgin","01M79WFXV5KZ5GST1K8G035DM5",1,"MIT","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: analyzing-dotnet-performance\ndescription: Scans .NET code for ~50 performance anti-patterns across async,\n  memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered\n  severity classification. Use when analyzing .NET code for optimization\n  opportunities, reviewing hot paths, or auditing allocation-heavy patterns.\nlicense: MIT\n---\n\n# .NET Performance Patterns\n\nScan C#\u002F.NET code for performance anti-patterns and produce prioritized findings with concrete fixes. Patterns sourced from the official .NET performance blog series, distilled to customer-actionable guidance.\n\n## When to Use\n\n- Reviewing C#\u002F.NET code for performance optimization opportunities\n- Auditing hot paths for allocation-heavy or inefficient patterns\n- Systematic scan of a codebase for known anti-patterns before release\n- Second-opinion analysis after manual performance review\n\n## When Not to Use\n\n- **Algorithmic complexity analysis** — this skill targets API usage patterns, not algorithm design\n- **Code not on a hot path** with no performance requirements — avoid premature optimization\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Source code | Yes | C# files, code blocks, or repository paths to scan |\n| Hot-path context | Recommended | Which code paths are performance-critical |\n| Target framework | Recommended | .NET version (some patterns require .NET 8+) |\n| Scan depth | Optional | `critical-only`, `standard` (default), or `comprehensive` |\n\n## Workflow\n\n### Step 1: Load Critical Reference\n\nResolve bundled paths from the directory that contains this `SKILL.md`, not from the user's workspace. Load this reference file first:\n\n- `references\u002Fcritical-patterns.md`\n\nIf a direct read fails, list this skill's `references\u002F` directory once and retry only when the listing shows the expected file. Do not use workspace file or text search to locate the skill installation.\n\n### Step 2: Detect Code Signals and Select Topic Recipes\n\nScan the code for signals that indicate which pattern categories to check. Use the `## Detection` section from the critical reference when available and the inline recipes in Step 3 for initial signal detection.\n\nAfter detecting signals, load only the topic-specific references selected by scan depth:\n\n- `critical-only`: No additional references (use only `critical-patterns.md`)\n- `standard` (default): Load references matching detected signals from this list:\n  - `references\u002Fasync-patterns.md` — async\u002FTask\u002FValueTask signals\n  - `references\u002Fmemory-and-strings.md` — Span\u002FMemory\u002Fstring allocation signals\n  - `references\u002Fregex-patterns.md` — Regex signals\n  - `references\u002Fcollections-and-linq.md` — Dictionary\u002FList\u002FLINQ signals\n  - `references\u002Fio-and-serialization.md` — JsonSerializer\u002FHttpClient\u002FStream signals\n  - `references\u002Fstructural-patterns.md` — always loaded (unsealed classes checked regardless)\n- `comprehensive`: Load all six topic-specific references above\n\nFor coverage reporting, the selected references are `references\u002Fcritical-patterns.md` plus only the topic-specific references selected above. If any selected reference remains unavailable after retry, use the inline recipes in Step 3 for the missing coverage. Include `Reference coverage: reduced; unavailable: \u003Cpaths>; used inline recipes for missing references.` in the final report, with `\u003Cpaths>` replaced by the missing relative paths of the selected references only.\n\nUse the `## Detection` sections from loaded reference files and the inline recipes in Step 3 for categories whose reference files are unavailable.\n\n| Signal in Code | Topic |\n|----------------|-------|\n| `async`, `await`, `Task`, `ValueTask` | Async patterns |\n| `Span\u003C`, `Memory\u003C`, `stackalloc`, `ArrayPool`, `string.Substring`, `.Replace(`, `.ToLower()`, `+=` in loops, `params` | Memory & strings |\n| `Regex`, `[GeneratedRegex]`, `Regex.Match`, `RegexOptions.Compiled` | Regex patterns |\n| `Dictionary\u003C`, `List\u003C`, `.ToList()`, `.Where(`, `.Select(`, LINQ methods, `static readonly Dictionary\u003C` | Collections & LINQ |\n| `JsonSerializer`, `HttpClient`, `Stream`, `FileStream` | I\u002FO & serialization |\n\nAlways check structural patterns (unsealed classes) regardless of signals.\n\n**Scan depth controls scope:**\n- `critical-only`: Only critical patterns (deadlocks, >10x regressions)\n- `standard` (default): Critical + detected topic patterns\n- `comprehensive`: All pattern categories\n\n### Step 3: Scan and Report\n\n**For files under 500 lines, read the entire file first** — you'll spot most patterns faster than running individual grep recipes. Use grep to confirm counts and catch patterns you might miss visually.\n\nFor each relevant pattern category, run the detection recipes below. Report exact counts, not estimates.\n\n**Core scan recipes** (run these when reference files aren't available):\n```\n# Strings & memory\ngrep -n '\\.IndexOf(\\\"' FILE                    # Missing StringComparison\ngrep -n '\\.Substring(' FILE                    # Substring allocations\ngrep -En '\\.(StartsWith|EndsWith|Contains)\\s*\\(' FILE  # Missing StringComparison\ngrep -n '\\.ToLower()\\|\\.ToUpper()' FILE        # Culture-sensitive + allocation\ngrep -n '\\.Replace(' FILE                      # Chained Replace allocations\ngrep -n 'params ' FILE                         # params array allocation\n\n# Collections & LINQ\ngrep -n '\\.Select\\|\\.Where\\|\\.OrderBy\\|\\.GroupBy' FILE  # LINQ on hot path\ngrep -n '\\.All\\|\\.Any' FILE                    # LINQ on string\u002Fchar\ngrep -n 'new Dictionary\u003C\\|new List\u003C' FILE      # Per-call allocation\ngrep -n 'static readonly Dictionary\u003C' FILE     # FrozenDictionary candidate\n\n# Regex\ngrep -n 'RegexOptions.Compiled' FILE           # Compiled regex budget\ngrep -n 'new Regex(' FILE                      # Per-call regex\ngrep -n 'GeneratedRegex' FILE                  # Positive: source-gen regex\n\n# Structural\ngrep -n 'public class \\|internal class ' FILE  # Unsealed classes\ngrep -n 'sealed class' FILE                    # Already sealed\ngrep -n ': IEquatable' FILE                    # Positive: struct equality\n```\n\n**Rules:**\n- Run every relevant recipe for the detected pattern categories\n- **Emit a scan execution checklist** before classifying findings — list each recipe and the hit count\n- A result of **0 hits** is valid and valuable (confirms good practice)\n- If reference files were loaded, also run their `## Detection` recipes\n\n**Verify-the-Inverse Rule:** For absence patterns, always count both sides and report the ratio (e.g., \"N of M classes are sealed\"). The ratio determines severity — 0\u002F185 is systematic, 12\u002F15 is a consistency fix.\n\n### Step 3b: Cross-File Consistency Check\n\nIf an optimized pattern is found in one file, check whether sibling files (same directory, same interface, same base class) use the un-optimized equivalent. Flag as 🟡 Moderate with the optimized file as evidence.\n\n### Step 3c: Compound Allocation Check\n\nAfter running scan recipes, look for these multi-allocation patterns that single-line recipes miss:\n\n1. **Branched `.Replace()` chains:** Methods that call `.Replace()` across multiple `if\u002Felse` branches — report total allocation count across all branches, not just per-line.\n2. **Cross-method chaining:** When a public method delegates to another method that itself allocates intermediates (e.g., A calls B which does 3 regex replaces, then A calls C), report the total chain cost as one finding.\n3. **Compound `+=` with embedded allocating calls:** Lines like `result += $\"...{Foo().ToLower()}\"` are 2+ allocations (interpolation + ToLower + concatenation) — flag the compound cost, not just the `.ToLower()`.\n4. **`string.Format` specificity:** Distinguish resource-loaded format strings (not fixable) from compile-time literal format strings (fixable with interpolation). Enumerate the actionable sites.\n\n### Step 4: Classify and Prioritize Findings\n\nAssign each finding a severity:\n\n| Severity | Criteria | Action |\n|----------|----------|--------|\n| 🔴 **Critical** | Deadlocks, crashes, security vulnerabilities, >10x regression | Must fix |\n| 🟡 **Moderate** | 2-10x improvement opportunity, best practice for hot paths | Should fix on hot paths |\n| ℹ️ **Info** | Pattern applies but code may not be on a hot path | Consider if profiling shows impact |\n\n**Prioritization rules:**\n1. If the user identified hot-path code, elevate all findings in that code to their maximum severity\n2. If hot-path context is unknown, report 🔴 Critical findings unconditionally; report 🟡 Moderate findings with a note: _\"Impactful if this code is on a hot path\"_\n3. Never suggest micro-optimizations on code that is clearly not performance-sensitive\n\n**Scale-based severity escalation:**\nWhen the same pattern appears across many instances, escalate severity:\n- 1-10 instances of the same anti-pattern → report at the pattern's base severity\n- 11-50 instances → escalate ℹ️ Info patterns to 🟡 Moderate\n- 50+ instances → escalate to 🟡 Moderate with elevated priority; flag as a codebase-wide systematic issue\n\nAlways report exact counts (from scan recipes), not estimates or agent summaries.\n\n### Step 5: Generate Findings\n\n**Keep findings compact.** Each finding is one short block — not an essay. Group by severity (🔴 → 🟡 → ℹ️), not by file.\n\nFormat per finding:\n\n```\n#### ID. Title (N instances)\n**Impact:** one-line impact statement\n**Files:** file1.cs:L1, file2.cs:L2, ... (list locations, don't build tables)\n**Fix:** one-line description of the change (e.g., \"Add `StringComparison.Ordinal` parameter\")\n**Caveat:** only if non-obvious (version requirement, correctness risk)\n```\n\n**Rules for compact output:**\n- **No ❌\u002F✅ code blocks** for trivial fixes (adding a keyword, parameter, or type change). A one-line fix description suffices.\n- **Only include code blocks** for non-obvious transformations (e.g., replacing a LINQ chain with a foreach loop, or hoisting a closure).\n- **File locations as inline comma-separated list**, not a table. Use `File.cs:L42` format.\n- **No explanatory prose** beyond the Impact line — the severity icon already conveys urgency.\n- **Merge related findings** that share the same fix (e.g., all `.ToLower()` calls go in one finding, not split by file).\n- **Positive findings** in a bullet list, not a table. One line per pattern: `✅ Pattern — evidence`.\n\nEnd with a summary table and disclaimer:\n\n```markdown\n| Severity | Count | Top Issue |\n|----------|-------|-----------|\n| 🔴 Critical | N | ... |\n| 🟡 Moderate | N | ... |\n| ℹ️ Info | N | ... |\n\n> ⚠️ **Disclaimer:** These results are generated by an AI assistant and are non-deterministic. Findings may include false positives, miss real issues, or suggest changes that are incorrect for your specific context. Always verify recommendations with benchmarks and human review before applying changes to production code.\n```\n\n## Validation\n\nBefore delivering results, verify:\n\n- [ ] All critical patterns were checked (from reference files or inline recipes)\n- [ ] Topic-specific recipes run only when matching signals detected\n- [ ] Each finding includes a concrete code fix\n- [ ] Scan execution checklist is complete (all recipes run)\n- [ ] Summary table included at end\n\n## Common Pitfalls\n\n| Pitfall | Correct Approach |\n|---------|-----------------|\n| Flagging every `Dictionary` as needing `FrozenDictionary` | Only flag if the dictionary is never mutated after construction |\n| Suggesting `Span\u003CT>` in async methods | Use `Memory\u003CT>` in async code; `Span\u003CT>` only in sync hot paths |\n| Reporting LINQ outside hot paths | Only flag LINQ in identified hot paths or tight loops; LINQ is acceptable in code that runs infrequently. Since .NET 7, LINQ Min\u002FMax\u002FSum\u002FAverage are vectorized — blanket bans on LINQ are misguided |\n| Suggesting `ConfigureAwait(false)` in app code | Only applicable in library code; not primarily a performance concern |\n| Recommending `ValueTask` everywhere | Only for hot paths with frequent synchronous completion |\n| Flagging `new HttpClient()` in DI services | Check if `IHttpClientFactory` is already in use |\n| Suggesting `[GeneratedRegex]` for dynamic patterns | Only flag when the pattern string is a compile-time literal |\n| Suggesting `CollectionsMarshal.AsSpan` broadly | Only for ultra-hot paths with benchmarked evidence; adds complexity and fragility |\n| Suggesting `unsafe` code for micro-optimizations | Avoid `unsafe` except where absolutely necessary — do not recommend it for micro-optimizations that don't matter. Safe alternatives like `Span\u003CT>`, `stackalloc` in safe context, and `ArrayPool` cover the vast majority of performance needs |\n","# .NET Performance Patterns\n\nScan C#\u002F.NET code for performance anti-patterns and produce prioritized findings with concrete fixes. Patterns sourced from the official .NET performance blog series, distilled to customer-actionable guidance.\n\n## When to Use\n\n- Reviewing C#\u002F.NET code for performance optimization opportunities\n- Auditing hot paths for allocation-heavy or inefficient patterns\n- Systematic scan of a codebase for known anti-patterns before release\n- Second-opinion analysis after manual performance review\n\n## When Not to Use\n\n- **Algorithmic complexity analysis** — this skill targets API usage patterns, not algorithm design\n- **Code not on a hot path** with no performance requirements — avoid premature optimization\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Source code | Yes | C# files, code blocks, or repository paths to scan |\n| Hot-path context | Recommended | Which code paths are performance-critical |\n| Target framework | Recommended | .NET version (some patterns require .NET 8+) |\n| Scan depth | Optional | `critical-only`, `standard` (default), or `comprehensive` |\n\n## Workflow\n\n### Step 1: Load Critical Reference\n\nResolve bundled paths from the directory that contains this `SKILL.md`, not from the user's workspace. Load this reference file first:\n\n- `references\u002Fcritical-patterns.md`\n\nIf a direct read fails, list this skill's `references\u002F` directory once and retry only when the listing shows the expected file. Do not use workspace file or text search to locate the skill installation.\n\n### Step 2: Detect Code Signals and Select Topic Recipes\n\nScan the code for signals that indicate which pattern categories to check. Use the `## Detection` section from the critical reference when available and the inline recipes in Step 3 for initial signal detection.\n\nAfter detecting signals, load only the topic-specific references selected by scan depth:\n\n- `critical-only`: No additional references (use only `critical-patterns.md`)\n- `standard` (default): Load references matching detected signals from this list:\n  - `references\u002Fasync-patterns.md` — async\u002FTask\u002FValueTask signals\n  - `references\u002Fmemory-and-strings.md` — Span\u002FMemory\u002Fstring allocation signals\n  - `references\u002Fregex-patterns.md` — Regex signals\n  - `references\u002Fcollections-and-linq.md` — Dictionary\u002FList\u002FLINQ signals\n  - `references\u002Fio-and-serialization.md` — JsonSerializer\u002FHttpClient\u002FStream signals\n  - `references\u002Fstructural-patterns.md` — always loaded (unsealed classes checked regardless)\n- `comprehensive`: Load all six topic-specific references above\n\nFor coverage reporting, the selected references are `references\u002Fcritical-patterns.md` plus only the topic-specific references selected above. If any selected reference remains unavailable after retry, use the inline recipes in Step 3 for the missing coverage. Include `Reference coverage: reduced; unavailable: \u003Cpaths>; used inline recipes for missing references.` in the final report, with `\u003Cpaths>` replaced by the missing relative paths of the selected references only.\n\nUse the `## Detection` sections from loaded reference files and the inline recipes in Step 3 for categories whose reference files are unavailable.\n\n| Signal in Code | Topic |\n|----------------|-------|\n| `async`, `await`, `Task`, `ValueTask` | Async patterns |\n| `Span\u003C`, `Memory\u003C`, `stackalloc`, `ArrayPool`, `string.Substring`, `.Replace(`, `.ToLower()`, `+=` in loops, `params` | Memory & strings |\n| `Regex`, `[GeneratedRegex]`, `Regex.Match`, `RegexOptions.Compiled` | Regex patterns |\n| `Dictionary\u003C`, `List\u003C`, `.ToList()`, `.Where(`, `.Select(`, LINQ methods, `static readonly Dictionary\u003C` | Collections & LINQ |\n| `JsonSerializer`, `HttpClient`, `Stream`, `FileStream` | I\u002FO & serialization |\n\nAlways check structural patterns (unsealed classes) regardless of signals.\n\n**Scan depth controls scope:**\n- `critical-only`: Only critical patterns (deadlocks, >10x regressions)\n- `standard` (default): Critical + detected topic patterns\n- `comprehensive`: All pattern categories\n\n### Step 3: Scan and Report\n\n**For files under 500 lines, read the entire file first** — you'll spot most patterns faster than running individual grep recipes. Use grep to confirm counts and catch patterns you might miss visually.\n\nFor each relevant pattern category, run the detection recipes below. Report exact counts, not estimates.\n\n**Core scan recipes** (run these when reference files aren't available):\n```\n# Strings & memory\ngrep -n '\\.IndexOf(\\\"' FILE                    # Missing StringComparison\ngrep -n '\\.Substring(' FILE                    # Substring allocations\ngrep -En '\\.(StartsWith|EndsWith|Contains)\\s*\\(' FILE  # Missing StringComparison\ngrep -n '\\.ToLower()\\|\\.ToUpper()' FILE        # Culture-sensitive + allocation\ngrep -n '\\.Replace(' FILE                      # Chained Replace allocations\ngrep -n 'params ' FILE                         # params array allocation\n\n# Collections & LINQ\ngrep -n '\\.Select\\|\\.Where\\|\\.OrderBy\\|\\.GroupBy' FILE  # LINQ on hot path\ngrep -n '\\.All\\|\\.Any' FILE                    # LINQ on string\u002Fchar\ngrep -n 'new Dictionary\u003C\\|new List\u003C' FILE      # Per-call allocation\ngrep -n 'static readonly Dictionary\u003C' FILE     # FrozenDictionary candidate\n\n# Regex\ngrep -n 'RegexOptions.Compiled' FILE           # Compiled regex budget\ngrep -n 'new Regex(' FILE                      # Per-call regex\ngrep -n 'GeneratedRegex' FILE                  # Positive: source-gen regex\n\n# Structural\ngrep -n 'public class \\|internal class ' FILE  # Unsealed classes\ngrep -n 'sealed class' FILE                    # Already sealed\ngrep -n ': IEquatable' FILE                    # Positive: struct equality\n```\n\n**Rules:**\n- Run every relevant recipe for the detected pattern categories\n- **Emit a scan execution checklist** before classifying findings — list each recipe and the hit count\n- A result of **0 hits** is valid and valuable (confirms good practice)\n- If reference files were loaded, also run their `## Detection` recipes\n\n**Verify-the-Inverse Rule:** For absence patterns, always count both sides and report the ratio (e.g., \"N of M classes are sealed\"). The ratio determines severity — 0\u002F185 is systematic, 12\u002F15 is a consistency fix.\n\n### Step 3b: Cross-File Consistency Check\n\nIf an optimized pattern is found in one file, check whether sibling files (same directory, same interface, same base class) use the un-optimized equivalent. Flag as 🟡 Moderate with the optimized file as evidence.\n\n### Step 3c: Compound Allocation Check\n\nAfter running scan recipes, look for these multi-allocation patterns that single-line recipes miss:\n\n1. **Branched `.Replace()` chains:** Methods that call `.Replace()` across multiple `if\u002Felse` branches — report total allocation count across all branches, not just per-line.\n2. **Cross-method chaining:** When a public method delegates to another method that itself allocates intermediates (e.g., A calls B which does 3 regex replaces, then A calls C), report the total chain cost as one finding.\n3. **Compound `+=` with embedded allocating calls:** Lines like `result += $\"...{Foo().ToLower()}\"` are 2+ allocations (interpolation + ToLower + concatenation) — flag the compound cost, not just the `.ToLower()`.\n4. **`string.Format` specificity:** Distinguish resource-loaded format strings (not fixable) from compile-time literal format strings (fixable with interpolation). Enumerate the actionable sites.\n\n### Step 4: Classify and Prioritize Findings\n\nAssign each finding a severity:\n\n| Severity | Criteria | Action |\n|----------|----------|--------|\n| 🔴 **Critical** | Deadlocks, crashes, security vulnerabilities, >10x regression | Must fix |\n| 🟡 **Moderate** | 2-10x improvement opportunity, best practice for hot paths | Should fix on hot paths |\n| ℹ️ **Info** | Pattern applies but code may not be on a hot path | Consider if profiling shows impact |\n\n**Prioritization rules:**\n1. If the user identified hot-path code, elevate all findings in that code to their maximum severity\n2. If hot-path context is unknown, report 🔴 Critical findings unconditionally; report 🟡 Moderate findings with a note: _\"Impactful if this code is on a hot path\"_\n3. Never suggest micro-optimizations on code that is clearly not performance-sensitive\n\n**Scale-based severity escalation:**\nWhen the same pattern appears across many instances, escalate severity:\n- 1-10 instances of the same anti-pattern → report at the pattern's base severity\n- 11-50 instances → escalate ℹ️ Info patterns to 🟡 Moderate\n- 50+ instances → escalate to 🟡 Moderate with elevated priority; flag as a codebase-wide systematic issue\n\nAlways report exact counts (from scan recipes), not estimates or agent summaries.\n\n### Step 5: Generate Findings\n\n**Keep findings compact.** Each finding is one short block — not an essay. Group by severity (🔴 → 🟡 → ℹ️), not by file.\n\nFormat per finding:\n\n```\n#### ID. Title (N instances)\n**Impact:** one-line impact statement\n**Files:** file1.cs:L1, file2.cs:L2, ... (list locations, don't build tables)\n**Fix:** one-line description of the change (e.g., \"Add `StringComparison.Ordinal` parameter\")\n**Caveat:** only if non-obvious (version requirement, correctness risk)\n```\n\n**Rules for compact output:**\n- **No ❌\u002F✅ code blocks** for trivial fixes (adding a keyword, parameter, or type change). A one-line fix description suffices.\n- **Only include code blocks** for non-obvious transformations (e.g., replacing a LINQ chain with a foreach loop, or hoisting a closure).\n- **File locations as inline comma-separated list**, not a table. Use `File.cs:L42` format.\n- **No explanatory prose** beyond the Impact line — the severity icon already conveys urgency.\n- **Merge related findings** that share the same fix (e.g., all `.ToLower()` calls go in one finding, not split by file).\n- **Positive findings** in a bullet list, not a table. One line per pattern: `✅ Pattern — evidence`.\n\nEnd with a summary table and disclaimer:\n\n```markdown\n| Severity | Count | Top Issue |\n|----------|-------|-----------|\n| 🔴 Critical | N | ... |\n| 🟡 Moderate | N | ... |\n| ℹ️ Info | N | ... |\n\n> ⚠️ **Disclaimer:** These results are generated by an AI assistant and are non-deterministic. Findings may include false positives, miss real issues, or suggest changes that are incorrect for your specific context. Always verify recommendations with benchmarks and human review before applying changes to production code.\n```\n\n## Validation\n\nBefore delivering results, verify:\n\n- [ ] All critical patterns were checked (from reference files or inline recipes)\n- [ ] Topic-specific recipes run only when matching signals detected\n- [ ] Each finding includes a concrete code fix\n- [ ] Scan execution checklist is complete (all recipes run)\n- [ ] Summary table included at end\n\n## Common Pitfalls\n\n| Pitfall | Correct Approach |\n|---------|-----------------|\n| Flagging every `Dictionary` as needing `FrozenDictionary` | Only flag if the dictionary is never mutated after construction |\n| Suggesting `Span\u003CT>` in async methods | Use `Memory\u003CT>` in async code; `Span\u003CT>` only in sync hot paths |\n| Reporting LINQ outside hot paths | Only flag LINQ in identified hot paths or tight loops; LINQ is acceptable in code that runs infrequently. Since .NET 7, LINQ Min\u002FMax\u002FSum\u002FAverage are vectorized — blanket bans on LINQ are misguided |\n| Suggesting `ConfigureAwait(false)` in app code | Only applicable in library code; not primarily a performance concern |\n| Recommending `ValueTask` everywhere | Only for hot paths with frequent synchronous completion |\n| Flagging `new HttpClient()` in DI services | Check if `IHttpClientFactory` is already in use |\n| Suggesting `[GeneratedRegex]` for dynamic patterns | Only flag when the pattern string is a compile-time literal |\n| Suggesting `CollectionsMarshal.AsSpan` broadly | Only for ultra-hot paths with benchmarked evidence; adds complexity and fragility |\n| Suggesting `unsafe` code for micro-optimizations | Avoid `unsafe` except where absolutely necessary — do not recommend it for micro-optimizations that don't matter. Safe alternatives like `Span\u003CT>`, `stackalloc` in safe context, and `ArrayPool` cover the vast majority of performance needs |\n",{"name":5,"license":15,"description":7},"master","b30b1c1908dbc56a8184128f18803053d762ccb5","codex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance",0,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins","https:\u002F\u002Fgithub.com\u002FBlind-Striker","denizirgin.com","VP of Engineering - \r\n@armutcom @homeruntech @prontopro\r\n |  Speaker \r\n@CodeFiction\r\n, http:\u002F\u002Fcodefiction.tech | Developer, gamer, blogger, maiden iron fan","2026-11-13 00:23:18",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill analyzing-dotnet-performance",{"tool":39,"command":40},"bunx","bunx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill analyzing-dotnet-performance",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill analyzing-dotnet-performance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002FSKILL.md",true,[47,53,57,61,65,69,73],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fasync-patterns.md","REFERENCE","参考文档",2976,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002Freferences\u002Fasync-patterns.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcollections-and-linq.md",7744,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002Freferences\u002Fcollections-and-linq.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fcritical-patterns.md",6787,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002Freferences\u002Fcritical-patterns.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fio-and-serialization.md",3676,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002Freferences\u002Fio-and-serialization.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fmemory-and-strings.md",5857,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002Freferences\u002Fmemory-and-strings.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fregex-patterns.md",3324,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002Freferences\u002Fregex-patterns.md",{"path":74,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fstructural-patterns.md",1683,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-general\u002Fskills\u002Fanalyzing-dotnet-performance\u002Freferences\u002Fstructural-patterns.md",[78,85,92,99,106,113],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79YGWBJ52PHMSTKJ3RJ3AWR","writing-tunit-tests","Write tests in TUnit — the attributes, the async assertion model, data-driven cases, lifecycle hooks, and the parallelism rules. USE FOR writing or fixing a test in a TUnit project, translating a test idea into TUnit syntax, or reviewing TUnit test code for API mistakes. DO NOT USE FOR deciding what to test, judging whether a test is any good, or running tests.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fwriting-tunit-tests\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M79YGR3Y9RCRS6TD71D0KKP8","dotnet-walls","Walls for a .NET change in a repository without its own quality gates — pinned, ephemeral analyzer, format, clone and scanner commands for the verify step, their identity ratchet, and the build traps. Use during a walls preflight, or when a worker's verify step needs .NET quality gates.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fdotnet-walls\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M79YGFNJBST7D803NQW3SBYM","csharp-15","Write, review and modernize C# 15 (.NET 11) code correctly. Covers every C# 15 feature - collection expression arguments (`[with(...), ...]`), union types (`union`, `[Union]`, `IUnion`, custom unions), closed class hierarchies (`closed`), extension indexers, labeled `break`\u002F`continue`, non-virtual static interface members on runtimes without default interface methods, and the preview memory-safety model (`unsafe(expr)`, `safe`, requires-unsafe members). Use when code targets net11.0 or LangVersion 15\u002Fpreview, when the user mentions any of these features, when replacing marker interfaces, OneOf-style results, `goto`\u002Fflag loop exits or capacity\u002Fcomparer boilerplate, or when the build reports CS8121, CS8509, CS8655, CS8510, CS0121\u002FCS0411 on a `with(...)` element, CS9370, CS9380 or CS9363.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fcsharp-15\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M79YGAV031473HSX6FN87ENH","verified-waves","Run one task as verified multi-agent waves. Plans the fan-out, sends findings to fresh skeptics, keeps a ledger, and reports N of M done; small tasks stay solo.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fverified-waves\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M79YG6QXNND4WRPP3GATSY8J","harness","The bundled dispatch harness, which runs a task file on worker models through OpenCode or Codex, fences their writes, escalates their asks to the operator, settles each result from git and its verify commands, and records every step in a ledger. Its commands, task file, modes and write fence, configuration, runs and their recovery, ledger and exit codes.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fharness\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M79YG2P5S91SDTA5912XJ4FV","delegating-to-worker-models","Use when you hand off implementation, a plan, research a decision will rely on, or a review, and you brief the worker and check what comes back. A subagent that searches, reads in parallel, or keeps your context small is ordinary tool use. Covers what stays with you, the mechanism, assigning work by strength, the walls preflight, prompts without contradictions, the worker contract and model profiles, evidence from your own run, review, and the fix-up loop.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fdelegating-to-worker-models\u002FSKILL.md",[],[]]