backend-dev-guidelines

Generates layered Go backend code with Gin, GORM, and Clean Architecture.

1|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/inchan/cc-skills --skill backend-dev-guidelines-inchan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-dev-guidelines
Source: https://github.com/inchan/cc-skills/tree/main/skills/backend-dev-guidelines
Command: npx skills add https://github.com/inchan/cc-skills --skill backend-dev-guidelines-inchan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node.js, express, typescript, prisma, sentry, zod, jest, ini, and includes references (resource) components.

What problem does it solve?

Backend microservices often suffer from inconsistent architecture, poor error handling, and lack of testability. This Skill provides a standardized, layered architecture for Node.js/Express/TypeScript, ensuring robust, maintainable, and scalable APIs. It helps developers build high-quality backends faster by providing clear patterns for every layer.

Core Features & Use Cases

  • Layered Architecture: Enforces separation of concerns (Routes → Controllers → Services → Repositories) for improved testability and maintainability.
  • Robust Error Handling & Monitoring: Integrates Sentry for comprehensive error tracking and performance monitoring, coupled with custom error types and a BaseController for consistent responses.
  • Type-Safe Development: Mandates Zod for input validation and unifiedConfig for type-safe configuration, eliminating process.env pitfalls.
  • Use Case: When developing a new API endpoint, use this Skill to automatically generate the correct controller, service, and repository structure, ensuring Zod validation, Sentry integration, and adherence to the layered architecture, drastically reducing setup time and ensuring quality.

Quick Start

To create a new backend API endpoint for user management, ask: "Generate the file structure and code snippets for a new user creation endpoint, including route, controller, service, repository, and Zod validation."