ring:dev-service-discovery
Installation
SKILL.md
Service Discovery for Tenant-Manager
Scans the current project and produces a visual report of the Service → Module → Resource hierarchy. This report tells you exactly what needs to be registered in the dispatch layer (pool-manager) to provision tenants for this service.
How It Works
The dispatch layer has three entities that must be registered before provisioning tenants:
- Service — the application (e.g., "ledger", "plugin-crm"). Has a type:
productorplugin. - Module — a logical grouping within the service (e.g., "onboarding", "transaction"). Each module gets its own database pool per tenant.
- Resource — infrastructure a module needs:
postgresql,mongodb, orrabbitmq. Each resource gets provisioned per tenant per module.
Redis is not a dispatch layer resource — it uses key prefixing via GetKeyContext and does not need registration.