backend-services
OfficialDesign reliable backend services with clear DI.
Software Engineering#dependency injection#singleton#backend services#request scope#service lifecycle#service replacement
Authorslingr-stack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you design reusable backend logic that stays out of actions, workflows, data models, and datasources, while keeping service boundaries clear and maintainable.
Core Features & Use Cases
- Service Design: Defines when to create a shared backend service versus keeping logic local to an action.
- Dependency Injection: Shows how services, actions, workflows, and the app class consume shared dependencies through constructor injection.
- Lifecycle and Scope: Explains singleton and request-scoped services, plus app lifecycle hooks for startup, shutdown, and error handling.
- Replacement and Strategy Patterns: Covers service overrides for tests or environments and dynamic resolution by string ID for runtime provider selection.
- Use Case: Use this Skill when building notification adapters, audit context services, shared business rules, or replaceable infrastructure components in a Drumr backend.
Quick Start
Use the backend-services skill to explain how to create, inject, scope, and replace a Drumr backend service for the code I am working on.
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: backend-services Download link: https://github.com/slingr-stack/qa-test-drumr/archive/main.zip#backend-services 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 536,000+ vetted skills library on demand.