skills/ddd-skills/ddd-cola/SKILL.md
Provides comprehensive guidance for COLA architecture including adapter layer, application layer, domain layer, and infrastructure layer. Use when the user asks about COLA, needs to implement COLA architecture, structure applications with COLA, or work with COLA patterns.
npx skillsauth add teachingai/full-stack-skills ddd-colaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
com.example.app/
├── adapter/
│ ├── controller/ # HTTP/RPC/message inbound handlers
│ └── scheduler/ # Scheduled tasks
├── app/
│ ├── executor/ # Use case executors (command handlers)
│ └── service/ # Application services (orchestration, transactions)
├── domain/
│ ├── model/ # Entities, Value Objects, Aggregates
│ │ ├── entity/
│ │ └── valueobject/
│ ├── service/ # Domain services
│ └── gateway/ # Repository and external service interfaces (ports)
└── infrastructure/
├── persistence/ # Repository implementations (JPA, MyBatis)
├── external/ # External API clients
└── config/ # Spring configuration and bean wiring
Adapter → Application → Domain ← Infrastructure
// Domain gateway (port)
public interface OrderGateway {
void save(Order order);
Optional<Order> findById(String id);
}
// Application executor
@Component
public class CreateOrderExecutor {
private final OrderGateway orderGateway;
public CreateOrderExecutor(OrderGateway orderGateway) {
this.orderGateway = orderGateway;
}
@Transactional
public OrderDto execute(CreateOrderCmd cmd) {
Order order = Order.create(cmd.getItems(), cmd.getCustomerId());
orderGateway.save(order);
return OrderDto.from(order);
}
}
// Infrastructure implementation
@Repository
public class OrderGatewayImpl implements OrderGateway {
private final OrderMapper orderMapper;
@Override
public void save(Order order) {
orderMapper.insert(OrderDO.fromDomain(order));
}
}
Cmd for commands, Executor for handlers, Gateway for portscola, cola architecture, clean object-oriented layered architecture, COLA V5, adapter layer, application layer, domain layer, infrastructure layer, DDD, dependency inversion
tools
Automates browser interactions via CLI using agent-browser by Vercel Labs. Covers navigation, clicking, form filling, snapshots, refs-based selectors, agent mode with JSON output, session management, and CDP integration. Use when the user needs to automate web browsing, scrape pages, fill forms, or integrate browser automation into AI agent workflows.
testing
Creates museum-quality visual art as .png or .pdf by first generating a design philosophy manifesto, then expressing it on canvas with precise composition, color palettes, and typography. Use when the user asks to create a poster, art piece, visual design, or static creative piece. Outputs original designs using design-forward principles.
development
Applies Anthropic brand colors (dark #141413, orange #d97757, blue #6a9bcc, green #788c5d), Poppins headings, and Lora body text to artifacts such as presentations, documents, or visuals. Use when the user needs Anthropic brand styling, brand color application, corporate typography, or visual formatting following Anthropic design standards.
development
Creates gallery-quality algorithmic art using p5.js with seeded randomness, interactive parameter controls, and seed navigation, outputting a single self-contained HTML artifact with Anthropic branding. Use when the user requests generative art, algorithmic art, flow fields, particle systems, or code-based visual art using p5.js.