backend-patterns
A reference skill from the ECC collection with server-side patterns for Express apps, Next.js API routes and other Node.js backends.
スキルの内容
A reference skill from the ECC collection with server-side patterns for Express apps, Next.js API routes and other Node.js backends. It shows code for the repository, service and middleware layers, selecting only needed columns, avoiding repeated per-item queries, and wrapping several writes in one database function. Further sections cover a Redis cache layer and the cache-aside pattern, a central error handler, retries with exponential backoff, JWT checks and role-based permissions, a simple in-memory rate limiter and job queue, and structured JSON logging with request IDs. The examples use Supabase and Redis, and it reminds the reader to match the pattern to the size of the application.
できること
- Structure backend code into repository, service and middleware layers
- Add Redis caching and cache invalidation
- Handle errors centrally and retry with backoff
- Check JWTs and enforce role-based permissions
概要
- 公開元
- affaan-m
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- agents/openai.yaml
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
このスキルのほかのコピー(4件)
このスキルとは内容が異なります。手を加えたコピーか、古いバージョンの可能性があります。
- backend-patternsgongyijie85/dsh-ecc
- backend-patternsuserinner/skills
- backend-patternsmdnaimul22/human-skills
- backend-patternsronnasayd/aipp
affaan-mのほかの掲載
スキル35件
- brand-discovery (スキル)
- brand-voice (スキル)
- context-and-decisions (スキル)
- docs-governance (スキル)
- eval-harness (スキル)
- e2e-testing (スキル)
出典
- スキルファイル(SKILL.md)github.com/affaan-m/ecc · 根拠となる項目:ライセンス, スクリプトを含む2026年11月15日
- GitHubリポジトリgithub.com/affaan-m/ecc · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月10日
- スキルファイル(SKILL.md)github.com/affaan-m/ECC2026年11月10日
- リポジトリ内のフォルダ(backend-patterns)github.com/affaan-m/ECC · 根拠となる項目:スクリプトを含む2026年11月10日