Design middleware and interceptor chains for SDK extensibility
Scanned 9/2/2026
Install to Claude Code
npx -y skills add a5c-ai/babysitter --skill middleware-chain-designer --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Middleware Chain Designer?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-middleware-chain-designer-babysitter)More formats (shields.io, HTML) on the badges page.
---
name: middleware-chain-designer
description: Design middleware and interceptor chains for SDK extensibility
allowed-tools:
- Read
- Write
- Edit
- Glob
- Grep
- Bash
graph:
domains: [domain:software-engineering]
specializations: [specialization:sdk-platform-development]
skillAreas: [skill-area:api-design, skill-area:middleware-design]
roles: [role:platform-engineer]
topics: [topic:api-design, topic:developer-experience]
---
# Middleware Chain Designer Skill
## Overview
This skill designs middleware and interceptor chain architectures that enable SDK extensibility through pluggable request/response processing.
## Capabilities
- Design middleware interfaces and contracts
- Implement interceptor chains with ordering
- Support before/after hooks for requests
- Enable custom transport implementations
- Implement retry and circuit breaker middleware
- Design logging and tracing interceptors
- Support middleware composition
- Configure middleware priority ordering
## Target Processes
- Plugin and Extension Architecture
- Custom Transport and Middleware
- SDK Architecture Design
## Integration Points
- SDK core HTTP clients
- Authentication handlers
- Logging frameworks
- Retry libraries
- Custom transports
## Input Requirements
- Extensibility requirements
- Middleware ordering needs
- Hook types required
- Composition patterns
- Transport abstraction needs
## Output Artifacts
- Middleware interface definitions
- Interceptor chain implementation
- Built-in middleware (logging, retry)
- Transport abstraction layer
- Middleware composition utilities
- Documentation and examples
## Usage Example
```yaml
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
```
## Best Practices
1. Define clear middleware interfaces
2. Support ordered execution
3. Enable middleware composition
4. Provide built-in common middleware
5. Allow transport customization
6. Document middleware authoring
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!