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.
O que a skill ensina
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.
O que faz
- 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
Sobre
- Publicador
- affaan-m
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- agents/openai.yaml
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Não informado na documentação | |
| Publicador | affaan-m | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 17 de nov. de 2026305.644 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Outras cópias desta skill (4)
Elas têm diferenças no texto em relação a esta skill. Podem ser cópias adaptadas ou versões mais antigas.
- backend-patternsgongyijie85/dsh-ecc
- backend-patternsuserinner/skills
- backend-patternsmdnaimul22/human-skills
- backend-patternsronnasayd/aipp
Mais de affaan-m
35 skills
- brand-discovery (Skill)
- brand-voice (Skill)
- context-and-decisions (Skill)
- docs-governance (Skill)
- eval-harness (Skill)
- e2e-testing (Skill)
Fontes
- Arquivo da skill (SKILL.md)github.com/affaan-m/ecc · Comprova: Licença, Inclui scripts15 de nov. de 2026
- Repositório no GitHubgithub.com/affaan-m/ecc · Comprova: Publicador, Atividade, Licença18 de nov. de 2026
- Arquivo da skill (SKILL.md)github.com/affaan-m/ECC18 de nov. de 2026
- Pasta no repositório (backend-patterns)github.com/affaan-m/ECC · Comprova: Inclui scripts18 de nov. de 2026