What problem does it solve?
This Skill facilitates the addition of technical infrastructure adapters for Specx core scopes, enabling seamless integration with external systems like databases, Redis, and HTTP APIs.
Core Features & Use Cases
- Infrastructure Adapters: Supports the development of custom infrastructure adapters for Specx, including SQLAlchemy repositories and Alembic-backed persistence, Redis stores, HTTP clients, and more.
- Repository Management: Offers guidance on defining and reusing repositories for owned persistence, with a focus on SQLAlchemy and Alembic.
- Gateway Implementation: Provides instructions for creating gateways for outbound business capabilities to external systems, including OpenAI and SDKs.
- Dependency Injection: Emphasizes proper dependency injection for infrastructure resources and client factories.
- Logging and Lifecycle: Outlines best practices for logging configuration and managing the lifespan of app-owned infrastructure resources.
Quick Start
Use the specx-add-infrastructure-adapter skill to define a new database adapter for your Specx service by following the steps outlined in the references/adapter.md document.