[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CV3B5K2C5Q459AR06W8RFN":3,"skill-same:01M7CV3B5K2C5Q459AR06W8RFN":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7CV3B5K2C5Q459AR06W8RFN","coordinate-components",null,"Share state between components that don't have a direct parent-child parameter relationship, using cascading values, scoped services with change events, or CascadingValueSource via DI. USE WHEN the user needs a CascadingParameter or CascadingValue that works across render mode boundaries, a shopping cart or notification count accessible from multiple pages, a theme or user preference cascaded app-wide, or when components in different parts of the tree must react when shared data changes. Also USE WHEN cascading values aren't reaching interactive children in per-page interactivity mode, or when the user needs to understand scoped vs singleton service lifetime for state on Blazor Server. DO NOT USE for direct parent-child parameter passing or EventCallback (see author-component), for persisting state across prerender-to-interactive transitions (see support-prerendering), or for service abstractions for data fetching in Auto\u002FWebAssembly (see fetch-and-send-data).","deadmade\u002Fdead-agent-skills","deadmade","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130925709?v=4","01M7CTQ65AGYR4J9K9TX0YR9V3","01M7CTQ66B4VMJFEDZP4EKKE6K",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fcoordinate-components\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nlicense: MIT\nname: coordinate-components\ndescription: >\n  Share state between components that don't have a direct parent-child parameter relationship,\n  using cascading values, scoped services with change events, or CascadingValueSource via DI.\n  USE WHEN the user needs a CascadingParameter or CascadingValue that works across render mode\n  boundaries, a shopping cart or notification count accessible from multiple pages, a theme or\n  user preference cascaded app-wide, or when components in different parts of the tree must\n  react when shared data changes. Also USE WHEN cascading values aren't reaching interactive\n  children in per-page interactivity mode, or when the user needs to understand scoped vs\n  singleton service lifetime for state on Blazor Server.\n  DO NOT USE for direct parent-child parameter passing or EventCallback (see author-component),\n  for persisting state across prerender-to-interactive transitions (see support-prerendering),\n  or for service abstractions for data fetching in Auto\u002FWebAssembly (see fetch-and-send-data).\n---\n\n# Coordinate Components\n\n## Step 1 — Read AGENTS.md\n\nRead `AGENTS.md` at the workspace root to learn the project's conventions before making changes.\n\n## Step 2 — Decide the scope\n\n| Need | Mechanism | When to use |\n|------|-----------|-------------|\n| Subtree (same render mode) | `CascadingValue` component | Theme, layout config within a layout |\n| App-wide (all render modes) | `CascadingValueSource\u003CT>` via DI | Current user, feature flags, theme shared globally |\n| Mutable shared state within a circuit | Scoped service + `Action` event | Shopping cart, notification count, selected filters |\n\nFor parent→child one level: use `[Parameter]` \u002F `EventCallback` (see `author-component` skill).\nFor persisting state across prerender→interactive: see `support-prerendering` skill.\n\n## Workflow (quick reference)\n\n1. Choose the mechanism from the table in Step 2\n2. If crossing render mode boundaries → use `CascadingValueSource\u003CT>` (Step 4)\n3. Register in `Program.cs` with `AddCascadingValue(...)` and `isFixed: false`\n4. Consume via `[CascadingParameter]` in child components\n5. Update via `NotifyChangedAsync(newValue)` — never page reload\n6. For additional mutable state within a circuit → add scoped service (Step 5)\n7. Wrap any `StateHasChanged` from background threads in `InvokeAsync`\n8. Implement `IDisposable` — dispose timers, cancel tokens, unsubscribe events\n\n## Step 3 — CascadingValue for subtree state\n\nWrap a subtree with `\u003CCascadingValue>` to flow data to all descendants without passing it through every intermediate component.\n\n```razor\n@* In a layout or parent component *@\n\u003CCascadingValue Value=\"theme\">\n    @Body\n\u003C\u002FCascadingValue>\n\n@code {\n    private ThemeInfo theme = new() { ButtonClass = \"btn-primary\" };\n}\n```\n\nConsume in any descendant:\n\n```csharp\n[CascadingParameter]\nprivate ThemeInfo? Theme { get; set; }\n```\n\n**Rules:**\n- Matched by **type**, not name. To cascade multiple values of the same type, add `Name`:\n  ```razor\n  \u003CCascadingValue Value=\"primary\" Name=\"PrimaryTheme\">...\u003C\u002FCascadingValue>\n  ```\n  ```csharp\n  [CascadingParameter(Name = \"PrimaryTheme\")]\n  private ThemeInfo? Primary { get; set; }\n  ```\n- Set `IsFixed=\"true\"` when the value never changes — avoids subscription overhead.\n- **Does NOT cross render mode boundaries.** A `\u003CCascadingValue>` in a static SSR parent is invisible to interactive children. See Step 6.\n\n## Step 4 — CascadingValueSource&lt;T&gt; for app-wide state\n\nRegister a `CascadingValueSource\u003CT>` in DI when the value must be available to **all components regardless of render mode**.\n\n```csharp\n\u002F\u002F Program.cs\nbuilder.Services.AddCascadingValue(sp =>\n{\n    var theme = new ThemeInfo { ButtonClass = \"btn-primary\" };\n    return new CascadingValueSource\u003CThemeInfo>(theme, isFixed: false);\n});\n```\n\nConsume identically to Step 3:\n\n```csharp\n[CascadingParameter]\nprivate ThemeInfo? Theme { get; set; }\n```\n\n**To update and notify subscribers**, either mutate the existing object or replace it:\n\n```razor\n@* Component that changes the theme *@\n@inject CascadingValueSource\u003CThemeInfo> ThemeSource\n\n\u003Cbutton @onclick=\"ToggleDarkMode\">Toggle theme\u003C\u002Fbutton>\n\n@code {\n    private bool isDark;\n\n    private async Task ToggleDarkMode()\n    {\n        isDark = !isDark;\n        \u002F\u002F Replace the value entirely:\n        var newTheme = new ThemeInfo { ButtonClass = isDark ? \"btn-dark\" : \"btn-primary\" };\n        await ThemeSource.NotifyChangedAsync(newTheme);\n    }\n}\n```\n\n`NotifyChangedAsync()` (no argument) also works — mutate the object and then call it. `NotifyChangedAsync(newValue)` replaces the value and notifies in one step.\n\n**Update protocol:** Whenever shared state changes, the component that changes it MUST inject `CascadingValueSource\u003CT>` and call `NotifyChangedAsync()`. This is the only mechanism that triggers re-rendering in all `[CascadingParameter]` subscribers. Without this call, no subscribers update. Do not use `NavigationManager.Refresh()` or page reloads as a substitute.\n\n**Rules:**\n- `isFixed: false` enables change notifications. `isFixed: true` is better for truly static values (feature flags).\n- **Crosses render mode boundaries** — works for per-page interactivity, global interactivity, and WebAssembly. Key advantage over `\u003CCascadingValue>`.\n- Keep cascaded types **granular**. Every `NotifyChangedAsync` re-renders ALL subscribers regardless of which property changed. Don't put all app state into one cascaded type.\n- For Auto\u002FWebAssembly apps, register in **both** server and `.Client` `Program.cs`. The type must be in a shared assembly.\n\n## Step 5 — Scoped state service with change events\n\nFor mutable shared state that multiple components read **and write** (shopping cart, notification count, filters), use a scoped service with an event for change notification.\n\n**Define the service:**\n\n```csharp\npublic class CartState\n{\n    private readonly List\u003CCartItem> _items = [];\n\n    public IReadOnlyList\u003CCartItem> Items => _items;\n    public int Count => _items.Count;\n\n    public event Action? OnChange;\n\n    public void Add(CartItem item)\n    {\n        _items.Add(item);\n        OnChange?.Invoke();\n    }\n\n    public void Remove(CartItem item)\n    {\n        _items.Remove(item);\n        OnChange?.Invoke();\n    }\n}\n```\n\n**Register as scoped:**\n\n```csharp\nbuilder.Services.AddScoped\u003CCartState>();\n```\n\n**Subscribe in components:**\n\n```razor\n@inject CartState Cart\n@implements IDisposable\n\n\u003Cspan class=\"badge\">@Cart.Count\u003C\u002Fspan>\n\n@code {\n    protected override void OnInitialized()\n    {\n        Cart.OnChange += StateHasChanged;\n    }\n\n    public void Dispose()\n    {\n        Cart.OnChange -= StateHasChanged;\n    }\n}\n```\n\nThe simple `Action OnChange` pattern works when the event fires from the Blazor sync context (button click → `Cart.Add(…)`). If the event fires from **outside** the sync context (timer, background task, SignalR hub), wrap in `InvokeAsync`:\n\n```csharp\nprivate Action? _handler;\n\nprotected override void OnInitialized()\n{\n    _handler = () => InvokeAsync(StateHasChanged);\n    Cart.OnChange += _handler;\n}\n\npublic void Dispose() => Cart.OnChange -= _handler;\n```\n\nStore the delegate in a field so you can unsubscribe the exact same instance.\n\n## Step 6 — Render mode and service lifetime rules\n\n### Cascading values don't cross render mode boundaries\n\nA `\u003CCascadingValue>` placed in a static SSR layout (`MainLayout.razor` when the layout renders statically) will **not** reach interactive children. The interactive component sees `null` for the cascading parameter.\n\n**Fix:** Use `CascadingValueSource\u003CT>` registered in DI (Step 4) or a scoped service (Step 5). Both cross boundaries because DI services are resolved per-circuit, not from the component tree.\n\n### Service lifetime on Server vs WebAssembly\n\n| Lifetime | Server | WebAssembly |\n|----------|--------|-------------|\n| **Scoped** | Per circuit (per user connection) | Per browser tab |\n| **Singleton** | Shared across ALL users | Per browser tab (safe) |\n| **Transient** | New instance per injection | New instance per injection |\n\nOn Server, **never store user-specific state in a singleton** — every user's circuit shares the same singleton. One user's cart leaks into another's. Use `AddScoped\u003CT>()`.\n\nOn WebAssembly, singletons are per-tab and safe. But code meant for **both** Server and WebAssembly (Auto mode) must use scoped.\n\n### Auto\u002FWebAssembly with prerendering\n\nState services must be defined in the `.Client` project or a shared assembly — they cannot reference server-only types. Register the service in both `Program.cs` files. State created during prerender does not survive the switch to the interactive runtime. Use the `support-prerendering` skill's `[PersistentState]` pattern to carry state across.\n\n## Don'ts\n\n- **Don't use a singleton for per-user state on Server** — all circuits share it, leaking state between users.\n- **Don't put all app state into one cascaded object** — `NotifyChangedAsync` re-renders ALL subscribers on every change. Separate concerns into distinct types (`ThemeState`, `CartState`, `UserPreferences`).\n- **Don't forget to unsubscribe** — omitting `Dispose` on event subscriptions causes memory leaks that grow per-circuit.\n- **Don't use `\u003CCascadingValue>` in a static layout expecting it to reach interactive children** — it won't cross render mode boundaries. Use DI-registered `CascadingValueSource\u003CT>` or scoped services.\n- **Don't use `NavigationManager.Refresh(forceReload: true)` to propagate cascading value changes** — this destroys the circuit and forces a full page reload. Instead, inject `CascadingValueSource\u003CT>` and call `NotifyChangedAsync(newValue)` to push updates to all `[CascadingParameter]` subscribers without a page reload.\n- **Don't call `StateHasChanged` from a non-Blazor thread** — wrap in `InvokeAsync`. The framework throws `InvalidOperationException: The current thread is not associated with the Dispatcher`.\n","# Coordinate Components\n\n## Step 1 — Read AGENTS.md\n\nRead `AGENTS.md` at the workspace root to learn the project's conventions before making changes.\n\n## Step 2 — Decide the scope\n\n| Need | Mechanism | When to use |\n|------|-----------|-------------|\n| Subtree (same render mode) | `CascadingValue` component | Theme, layout config within a layout |\n| App-wide (all render modes) | `CascadingValueSource\u003CT>` via DI | Current user, feature flags, theme shared globally |\n| Mutable shared state within a circuit | Scoped service + `Action` event | Shopping cart, notification count, selected filters |\n\nFor parent→child one level: use `[Parameter]` \u002F `EventCallback` (see `author-component` skill).\nFor persisting state across prerender→interactive: see `support-prerendering` skill.\n\n## Workflow (quick reference)\n\n1. Choose the mechanism from the table in Step 2\n2. If crossing render mode boundaries → use `CascadingValueSource\u003CT>` (Step 4)\n3. Register in `Program.cs` with `AddCascadingValue(...)` and `isFixed: false`\n4. Consume via `[CascadingParameter]` in child components\n5. Update via `NotifyChangedAsync(newValue)` — never page reload\n6. For additional mutable state within a circuit → add scoped service (Step 5)\n7. Wrap any `StateHasChanged` from background threads in `InvokeAsync`\n8. Implement `IDisposable` — dispose timers, cancel tokens, unsubscribe events\n\n## Step 3 — CascadingValue for subtree state\n\nWrap a subtree with `\u003CCascadingValue>` to flow data to all descendants without passing it through every intermediate component.\n\n```razor\n@* In a layout or parent component *@\n\u003CCascadingValue Value=\"theme\">\n    @Body\n\u003C\u002FCascadingValue>\n\n@code {\n    private ThemeInfo theme = new() { ButtonClass = \"btn-primary\" };\n}\n```\n\nConsume in any descendant:\n\n```csharp\n[CascadingParameter]\nprivate ThemeInfo? Theme { get; set; }\n```\n\n**Rules:**\n- Matched by **type**, not name. To cascade multiple values of the same type, add `Name`:\n  ```razor\n  \u003CCascadingValue Value=\"primary\" Name=\"PrimaryTheme\">...\u003C\u002FCascadingValue>\n  ```\n  ```csharp\n  [CascadingParameter(Name = \"PrimaryTheme\")]\n  private ThemeInfo? Primary { get; set; }\n  ```\n- Set `IsFixed=\"true\"` when the value never changes — avoids subscription overhead.\n- **Does NOT cross render mode boundaries.** A `\u003CCascadingValue>` in a static SSR parent is invisible to interactive children. See Step 6.\n\n## Step 4 — CascadingValueSource&lt;T&gt; for app-wide state\n\nRegister a `CascadingValueSource\u003CT>` in DI when the value must be available to **all components regardless of render mode**.\n\n```csharp\n\u002F\u002F Program.cs\nbuilder.Services.AddCascadingValue(sp =>\n{\n    var theme = new ThemeInfo { ButtonClass = \"btn-primary\" };\n    return new CascadingValueSource\u003CThemeInfo>(theme, isFixed: false);\n});\n```\n\nConsume identically to Step 3:\n\n```csharp\n[CascadingParameter]\nprivate ThemeInfo? Theme { get; set; }\n```\n\n**To update and notify subscribers**, either mutate the existing object or replace it:\n\n```razor\n@* Component that changes the theme *@\n@inject CascadingValueSource\u003CThemeInfo> ThemeSource\n\n\u003Cbutton @onclick=\"ToggleDarkMode\">Toggle theme\u003C\u002Fbutton>\n\n@code {\n    private bool isDark;\n\n    private async Task ToggleDarkMode()\n    {\n        isDark = !isDark;\n        \u002F\u002F Replace the value entirely:\n        var newTheme = new ThemeInfo { ButtonClass = isDark ? \"btn-dark\" : \"btn-primary\" };\n        await ThemeSource.NotifyChangedAsync(newTheme);\n    }\n}\n```\n\n`NotifyChangedAsync()` (no argument) also works — mutate the object and then call it. `NotifyChangedAsync(newValue)` replaces the value and notifies in one step.\n\n**Update protocol:** Whenever shared state changes, the component that changes it MUST inject `CascadingValueSource\u003CT>` and call `NotifyChangedAsync()`. This is the only mechanism that triggers re-rendering in all `[CascadingParameter]` subscribers. Without this call, no subscribers update. Do not use `NavigationManager.Refresh()` or page reloads as a substitute.\n\n**Rules:**\n- `isFixed: false` enables change notifications. `isFixed: true` is better for truly static values (feature flags).\n- **Crosses render mode boundaries** — works for per-page interactivity, global interactivity, and WebAssembly. Key advantage over `\u003CCascadingValue>`.\n- Keep cascaded types **granular**. Every `NotifyChangedAsync` re-renders ALL subscribers regardless of which property changed. Don't put all app state into one cascaded type.\n- For Auto\u002FWebAssembly apps, register in **both** server and `.Client` `Program.cs`. The type must be in a shared assembly.\n\n## Step 5 — Scoped state service with change events\n\nFor mutable shared state that multiple components read **and write** (shopping cart, notification count, filters), use a scoped service with an event for change notification.\n\n**Define the service:**\n\n```csharp\npublic class CartState\n{\n    private readonly List\u003CCartItem> _items = [];\n\n    public IReadOnlyList\u003CCartItem> Items => _items;\n    public int Count => _items.Count;\n\n    public event Action? OnChange;\n\n    public void Add(CartItem item)\n    {\n        _items.Add(item);\n        OnChange?.Invoke();\n    }\n\n    public void Remove(CartItem item)\n    {\n        _items.Remove(item);\n        OnChange?.Invoke();\n    }\n}\n```\n\n**Register as scoped:**\n\n```csharp\nbuilder.Services.AddScoped\u003CCartState>();\n```\n\n**Subscribe in components:**\n\n```razor\n@inject CartState Cart\n@implements IDisposable\n\n\u003Cspan class=\"badge\">@Cart.Count\u003C\u002Fspan>\n\n@code {\n    protected override void OnInitialized()\n    {\n        Cart.OnChange += StateHasChanged;\n    }\n\n    public void Dispose()\n    {\n        Cart.OnChange -= StateHasChanged;\n    }\n}\n```\n\nThe simple `Action OnChange` pattern works when the event fires from the Blazor sync context (button click → `Cart.Add(…)`). If the event fires from **outside** the sync context (timer, background task, SignalR hub), wrap in `InvokeAsync`:\n\n```csharp\nprivate Action? _handler;\n\nprotected override void OnInitialized()\n{\n    _handler = () => InvokeAsync(StateHasChanged);\n    Cart.OnChange += _handler;\n}\n\npublic void Dispose() => Cart.OnChange -= _handler;\n```\n\nStore the delegate in a field so you can unsubscribe the exact same instance.\n\n## Step 6 — Render mode and service lifetime rules\n\n### Cascading values don't cross render mode boundaries\n\nA `\u003CCascadingValue>` placed in a static SSR layout (`MainLayout.razor` when the layout renders statically) will **not** reach interactive children. The interactive component sees `null` for the cascading parameter.\n\n**Fix:** Use `CascadingValueSource\u003CT>` registered in DI (Step 4) or a scoped service (Step 5). Both cross boundaries because DI services are resolved per-circuit, not from the component tree.\n\n### Service lifetime on Server vs WebAssembly\n\n| Lifetime | Server | WebAssembly |\n|----------|--------|-------------|\n| **Scoped** | Per circuit (per user connection) | Per browser tab |\n| **Singleton** | Shared across ALL users | Per browser tab (safe) |\n| **Transient** | New instance per injection | New instance per injection |\n\nOn Server, **never store user-specific state in a singleton** — every user's circuit shares the same singleton. One user's cart leaks into another's. Use `AddScoped\u003CT>()`.\n\nOn WebAssembly, singletons are per-tab and safe. But code meant for **both** Server and WebAssembly (Auto mode) must use scoped.\n\n### Auto\u002FWebAssembly with prerendering\n\nState services must be defined in the `.Client` project or a shared assembly — they cannot reference server-only types. Register the service in both `Program.cs` files. State created during prerender does not survive the switch to the interactive runtime. Use the `support-prerendering` skill's `[PersistentState]` pattern to carry state across.\n\n## Don'ts\n\n- **Don't use a singleton for per-user state on Server** — all circuits share it, leaking state between users.\n- **Don't put all app state into one cascaded object** — `NotifyChangedAsync` re-renders ALL subscribers on every change. Separate concerns into distinct types (`ThemeState`, `CartState`, `UserPreferences`).\n- **Don't forget to unsubscribe** — omitting `Dispose` on event subscriptions causes memory leaks that grow per-circuit.\n- **Don't use `\u003CCascadingValue>` in a static layout expecting it to reach interactive children** — it won't cross render mode boundaries. Use DI-registered `CascadingValueSource\u003CT>` or scoped services.\n- **Don't use `NavigationManager.Refresh(forceReload: true)` to propagate cascading value changes** — this destroys the circuit and forces a full page reload. Instead, inject `CascadingValueSource\u003CT>` and call `NotifyChangedAsync(newValue)` to push updates to all `[CascadingParameter]` subscribers without a page reload.\n- **Don't call `StateHasChanged` from a non-Blazor thread** — wrap in `InvokeAsync`. The framework throws `InvalidOperationException: The current thread is not associated with the Dispatcher`.\n",{"name":5,"license":14,"description":7},"main","ccab8dffc0ecc173838f51e4c5f0d3b51a704f41","plugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fcoordinate-components","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills","https:\u002F\u002Fgithub.com\u002Fdeadmade","https:\u002F\u002Fdeadmade.github.io\u002F","Blood, an Ocean of blood","2026-11-14 02:03:31",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add deadmade\u002Fdead-agent-skills --skill coordinate-components",{"tool":37,"command":38},"bunx","bunx skills add deadmade\u002Fdead-agent-skills --skill coordinate-components",{"tool":40,"command":41},"pnpm","pnpm dlx skills add deadmade\u002Fdead-agent-skills --skill coordinate-components","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fcoordinate-components\u002FSKILL.md",true,[],[46,53,62,70,77,84],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7CVRBFTXSTTQ7F5P6PJEFYA","rust-best-practices","Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook. Use this skill when: (1) writing new Rust code or functions, (2) reviewing or refactoring existing Rust code, (3) deciding between borrowing vs cloning or ownership patterns, (4) implementing error handling with Result types, (5) optimizing Rust code for performance, (6) writing tests or documentation for Rust projects.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Frust-skills\u002Fskills\u002Frust-best-practices\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7CVR0W7B8EGTNPSPA7FPC4Z","postgres-database-migration","Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases.\n\n**Trigger when user asks to:**\n- Test a schema migration before applying it to production\n- Add, remove, or rename columns safely on a live table\n- Change a column's data type without downtime\n- Add or drop indexes, constraints, or foreign keys on large tables\n- Understand which ALTER TABLE operations lock the table\n- Roll back a failed migration\n- Plan a zero-downtime migration strategy\n- Fork a database to test a migration safely\n\nCovers: lock-level reference for every common DDL operation, safe migration patterns, fork-based testing, zero-downtime column changes, index creation, constraint addition, backfill strategies, pre\u002Fpost-migration validation, and rollback planning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-database-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-database-migration\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7CVQWK20ASAZN5VETZC8J99","postgres-best-practices","Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use when writing SQL, designing database schemas, optimizing queries, or setting up a Postgres database.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-best-practices\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7CVQ5CY7AQHY7A2Y99RE6A7","writing-mstest-tests","ALWAYS 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\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fwriting-mstest-tests\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7CVPWJZ63GB0810F0SCGZ1K","winforms-expert","Create, modify, debug, or review Windows Forms applications only when the request contains a concrete Windows Forms marker. USE FOR: WinForms, Windows Forms, System.Windows.Forms, WinForms Form or UserControl designer files (*.Designer.cs or *.Designer.vb), Visual Studio WinForms Designer, TableLayoutPanel, BindingSource, DataGridView, Control.InvokeAsync, component-tray ownership, or custom control serialization. DO NOT USE FOR: WPF or WPF XAML, including Window.InputBindings, KeyBinding, commands, or DataContext; .NET MAUI; Avalonia; or any request where none of the listed Windows Forms markers is present.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fwinforms-expert\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M7CVPR0QFZ1HMJ6GZRBQAQ7W","vectorization","Design, implement, optimize, and review SIMD code in .NET. USE FOR: vectorizing scalar loops with TensorPrimitives, Vector64\u002F128\u002F256\u002F512, or platform hardware intrinsics; reviewing existing SIMD code, including the generic Vector type, for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured performance. DO NOT USE FOR: performance work unrelated to SIMD or vectorization.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fvectorization\u002FSKILL.md",[],[]]