Chain — Chain Pattern & Pipeline Reference
Quick-reference skill for chain-based design patterns, middleware pipelines, and sequential processing architectures.
When to Use
- Implementing Chain of Responsibility design pattern
- Building middleware pipelines (Express, Koa, Django)
- Designing multi-step data processing workflows
- Understanding promise chains and async pipelines
- Building event processing or filter chains
Commands
`intro`
scripts/script.sh intro
Overview of chain patterns — concept, variants, and applications.
`responsibility`
scripts/script.sh responsibility
Chain of Responsibility design pattern — GoF pattern with examples.
`middleware`
scripts/script.sh middleware
Middleware chains — Express, Koa, Django, and custom implementations.
`promise`
scripts/script.sh promise
Promise chains and async pipelines — chaining, error handling, patterns.
`pipeline`
scripts/script.sh pipeline
Unix pipeline philosophy and data transformation chains.
`filter`
scripts/script.sh filter
Filter chains — servlet filters, interceptors, decorators.
`blockchain`
scripts/script.sh blockchain
Blockchain fundamentals — hash chains, blocks, consensus basics.
`examples`
scripts/script.sh examples
Implementation examples across languages and frameworks.
`help`
scripts/script.sh help
`version`
scripts/script.sh version
Configuration
| Variable | Description |
|----------|-------------|
| CHAIN_DIR | Data directory (default: ~/.chain/) |
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com