spp-backend-patterns

Community

Architectural patterns for SPP backend.

Authortegars5
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Traditional backend architectures often entangle business logic with infrastructure, causing duplication, inconsistency, and slow delivery. This Skill defines a set of patterns for SPP-Sekolah that separate concerns and enforce safe, scalable API design.

Core Features & Use Cases

  • Service Layer pattern to isolate business logic from controllers.
  • Prisma transactions and anti-duplication checks for invoices and payments.
  • Idempotent webhook handling for Midtrans.
  • Centralized error handling, validation (Zod), and RBAC.
  • Audit logging for financial actions and governance.

Quick Start

Implement the patterns by aligning existing and new modules to the Service Layer, Prisma-based data access, and a webhook-aware payment flow.

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: spp-backend-patterns
Download link: https://github.com/tegars5/spp-sekolah/archive/main.zip#spp-backend-patterns

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.