New Adapter banner
colossus-lab colossus-lab

New Adapter

DevOps community

Description

# Create new infrastructure adapter: $ARGUMENTS Implement a new adapter that fulfills a domain port (ABC interface). Follow these steps: ## 1. Identify or create the port Check if a port already exists in `src/app/domain/ports/`. If not, create one: ```python # src/app/domain/ports/{category}/{name}_port.py from abc import ABC, abstractmethod class I{Name}(ABC): @abstractmethod async def method(self, param: type) -> result: ... ``` Reference: `src/app/domain/ports/source/da

Installation

Installs to ~/.claude/commands/colossus-lab-openarg_backend-new-adapter.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/colossus-lab/openarg_backend/HEAD/.claude/commands/new-adapter.md -o ~/.claude/commands/colossus-lab-openarg_backend-new-adapter.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository