backend-coding

Community

Scalable Next.js backends with clean architecture

Authoryuji-sniper
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a clear blueprint for building maintainable, scalable backend logic in Next.js projects using clean architecture, domain-driven design (DDD), and a robust dependency injection pattern with tsyringe. It consolidates how to organize domain, application, and infrastructure layers, so teams can collaborate without tight coupling.

Core Features & Use Cases

  • Layered architecture guidance that separates Presentation, Application, Domain, and Infrastructure.
  • Server Action patterns with validation via Zod, error handling, and DTO usage to decouple layers.
  • Domain-driven entities, repositories, ports, and use cases with a focus on testability and transaction safety.
  • Drizzle ORM integration with MySQL, including schema organization, migrations, and repository implementations.
  • Centralized DI bindings and module wiring to simplify cross-module coordination.

Quick Start

Follow these steps to bootstrap a new module: create the domain, ports, use cases, and infrastructure folders; implement a repository with drizzle; bind dependencies in the DI container; initialize the app and run the dev server. Then invoke a sample server action to create and persist an example entity.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: backend-coding
Download link: https://github.com/yuji-sniper/next-vibe-template/archive/main.zip#backend-coding

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.