Design middleware and interceptor chains for SDK extensibility
Designs extensible middleware and interceptor chains for SDK request/response processing.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
README.mdThis skill designs middleware and interceptor chain architectures that enable SDK extensibility through pluggable request/response processing.
skill:
name: middleware-chain-designer
context:
middlewareTypes:
- request
- response
- error
hooks:
beforeRequest: true
afterResponse: true
onError: true
builtInMiddleware:
- logging
- retry
- timeout
- compression
ordering:
priority: true
named: true
transports:
- http
- websocket
- custom
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.