Chain

From bytesagain/ai-skills · View interactive version

Chain is an AI agent skill from the GitHub repository bytesagain/ai-skills. Chain of Responsibility reference — design pattern, middleware pipelines, command chains, blockchain basics. Use when building request processing pipelines or implementing handler chains.

How to use this skill

Skill file

Chain — Chain Pattern & Pipeline Reference

Quick-reference skill for chain-based design patterns, middleware pipelines, and sequential processing architectures.

When to Use

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.