# signalr-integration

The signalr-integration skill provides SignalR patterns for ASP.NET Core Razor Pages, including hubs and client connections. Use it when adding live notifications or order updates.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 107 installs · ★ 92 repo stars
- Author: wshaddix
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/wshaddix/dotnet-skills/tree/HEAD/skills/signalr-integration/SKILL.md
- Updated: 2026-02-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/signalr-integration

## What it does

The skill’s examples organize ASP.NET Core SignalR hubs by domain. A notification hub handles user groups and unread counts; an order hub checks ownership before allowing a client to subscribe. These patterns show how authentication and group membership fit into hub methods.

For Razor Pages, the material includes SignalR and authentication setup in `Program.cs`, hub endpoint mappings, and a JavaScript client that tracks connection state and reconnects. The configuration also adds Redis for scale-out. If you use that specific setup, Redis is configured at `redis:6379`, so account for that dependency.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add wshaddix/dotnet-skills --skill signalr-integration -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/signalr-integration/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/signalr-integration/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add wshaddix/dotnet-skills --skill signalr-integration -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/signalr-integration/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add wshaddix/dotnet-skills --skill signalr-integration -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/signalr-integration/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install wshaddix/dotnet-skills skills/signalr-integration
```

2. **Manually: put the files in place**
- File: `.github/skills/signalr-integration/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add wshaddix/dotnet-skills --skill signalr-integration -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/wshaddix/dotnet-skills --path skills/signalr-integration
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/signalr-integration/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add wshaddix/dotnet-skills --skill signalr-integration -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/wshaddix/dotnet-skills/tree/HEAD/skills/signalr-integration/SKILL.md

## When to use it
- create separate hubs for notifications and order updates
- check order ownership before allowing a subscription
- handle client disconnects and reconnection
- organize SignalR clients into user and topic groups

## Example prompts
- Set up SignalR hubs for notifications and order status updates in my ASP.NET Core Razor Pages app.
- Show how to restrict an order update subscription to the order’s owner.
- Add a JavaScript SignalR client that handles disconnects and reconnects.

## Similar
- [signalr](https://affpapa.org/en/nevibecode/skills/signalr.md) — skill · ★ 521 repo stars
- [flutter-add-integration-test](https://affpapa.org/en/nevibecode/skills/flutter-add-integration-test.md) — skill · 41500 installs
- [golang-continuous-integration](https://affpapa.org/en/nevibecode/skills/golang-continuous-integration.md) — skill · 41500 installs
- [huawei-cloud-openviking-agent-integration](https://affpapa.org/en/nevibecode/skills/huawei-cloud-openviking-agent-integration.md) — skill · 17400 installs
- [integration-privy](https://affpapa.org/en/nevibecode/skills/integration-privy.md) — skill · 14300 installs
- [stripe-integration](https://affpapa.org/en/nevibecode/skills/stripe-integration.md) — skill · 13404 installs

From the same set: [wshaddix/dotnet-skills](https://affpapa.org/en/nevibecode/by/wshaddix/dotnet-skills.md) — 24 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
