Agent skill · Frontend

orchardcore-ai-response-handlers

Skill for implementing custom Chat Response Handlers in Orchard Core. Covers IChatResponseHandler, deferred and streaming handlers, webhook endpoints, live agent handoff, mid-conversation transfer via AI functions, UI notifications, protocol-agnostic relay infrastructure, and handler registration.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill orchardcore-ai-response-handlers --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 25 KB
Bundled scripts: none
Version: 2.0
Declared author: CrestApps Team
Path: skills/ai-llm/orchardcore-ai-response-handlers/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Orchard Core Chat Response Handlers - Prompt Templates ## Implement Custom Chat Response Handlers You are an Orchard Core expert. Generate code for implementing custom chat response handlers that route chat prompts to external systems (live agent platforms, custom backends) instead of AI. Support both webhook-based and protocol-agnostic relay approaches. ### Guidelines - The `IChatResponseHandler` interface processes chat prompts and returns either a **streaming** result (immediate response) or a **deferred** result (response arrives later via webhook or relay). - Handlers are registered in `Startup.cs` using `services.TryAddEnumerable(ServiceDescriptor.Scoped<IChatResponseHandler, YourHandler>())`. - When a session's `ResponseHandlerName` is `null` or empty, the built-in AI handler processes prompts. - Custom response handlers are NOT supported in Conversation mode (`ChatMode.Conversation`). The resolver always returns the AI handler in Conversation mode. - Deferred handlers return `ChatResponseHandlerResult.Deferred()` — the hub saves the user prompt and completes without an assistant message. The external system responds later via webhook or relay. - For deferred responses, cr

What's inside
Steps it walks through
  1. Implement Custom Chat Response Handlers
  2. Guidelines
  3. Two Approaches: Webhook vs. Protocol-Agnostic Relay
  4. Handler Types
  5. Creating a Deferred Response Handler
  6. Registering a Handler
  7. Webhook for Deferred Responses (AI Chat Session)
  8. Mid-Conversation Transfer via AI Function
  9. Sending UI Notifications from Webhooks
  10. Protocol-Agnostic Relay Infrastructure
  11. Custom Notification Action Handler
  12. Custom Notification with Action Buttons
  13. Handler Context Properties
  14. Well-Known Constants
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the orchardcore-ai-response-handlers skill do?

Skill for implementing custom Chat Response Handlers in Orchard Core. Covers IChatResponseHandler, deferred and streaming handlers, webhook endpoints, live agent handoff, mid-conversation transfer via AI functions, UI notifications, protocol-agnostic relay infrastructure, and handler registration.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill orchardcore-ai-response-handlers --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going