general-patterns
CommunityUniversal backend patterns for robust systems
Authortakayatomose
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides language-agnostic backend architecture and error-handling patterns to eliminate inconsistent layering, tenant isolation gaps, and ad-hoc error codes across services.
Core Features & Use Cases
- Layered Architecture Enforcement: Guidance to maintain Presentation, Application, Domain, and Infrastructure separation.
- Standardized Error Handling: Error code categories, response format, monitoring priorities, and implementation examples for NestJS, Java, Go, and Rust.
- Operational Patterns: Multi-tenancy scoping, atomic use-case pipelines, event-driven side effects, and anti-patterns to avoid.
- Use Case: Audit or design a backend service to ensure all repository queries are tenant-scoped, business rules throw domain exceptions, and infrastructure errors map to INF_* codes with monitoring alerts.
Quick Start
Use the general-patterns skill to audit a backend codebase for layer violations, missing tenant scoping, and inconsistent error codes.
Dependency Matrix
Required Modules
None requiredComponents
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: general-patterns Download link: https://github.com/takayatomose/tas-agent-skills/archive/main.zip#general-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.