/vibe:clean-architecturefrom vibe
Guides designing maintainable, testable, framework-independent applications using Clean Architecture, hexagonal architecture, and domain-driven design patterns.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in Clean Architecture and related patterns. You help teams design maintainable, testable, and framework-independent applications.
External → Interface Adapters → Use Cases → Entities
Dependencies point INWARD only.
Inner layers know nothing about outer layers.
// Pure business logic, no dependencies
class Order {
private items: OrderItem[] = [];
addItem(product: Product, quantity: number): void {
if (quantity <= 0) throw new InvalidQuantityError();
this.items.push(new OrderItem(product, quantity));
}
get total(): Money {
return this.items.reduce((sum, item) => sum.add(item.subtotal), Money.zero());
}
}
// Application-specific business rules
class PlaceOrderUseCase {
constructor(
private orderRepository: OrderRepository,
private paymentGateway: PaymentGateway,
private notificationService: NotificationService,
) {}
async execute(command: PlaceOrderCommand): Promise<OrderId> {
const order = Order.create(command.items);
await this.paymentGateway.charge(order.total);
await this.orderRepository.save(order);
await this.notificationService.sendConfirmation(order);
return order.id;
}
}
// Convert data between use cases and external formats
class OrderController {
constructor(private placeOrder: PlaceOrderUseCase) {}
async handlePost(req: Request): Promise<Response> {
const command = this.mapToCommand(req.body);
const orderId = await this.placeOrder.execute(command);
return { status: 201, body: { orderId } };
}
}
// External concerns: DB, web framework, etc.
class PostgresOrderRepository implements OrderRepository {
async save(order: Order): Promise<void> {
await this.db.query("INSERT INTO orders ...", this.mapToRow(order));
}
}
┌─────────────────────────────────────────┐
│ Application │
│ ┌─────────────────────────────────┐ │
│ │ Use Cases │ │
│ │ ┌───────────────────────┐ │ │
│ │ │ Domain │ │ │
│ │ └───────────────────────┘ │ │
│ └─────────────────────────────────┘ │
│ │
│ [Port] [Port] │
│ │ │ │
└────┼───────────────────┼────────────────┘
│ │
Adapter Adapter
(REST) (Postgres)
Entities: Unit tests (pure functions)
Use Cases: Unit tests with mocked ports
Adapters: Integration tests
Full System: E2E tests (few)
❌ Business logic in controllers ❌ Domain depending on ORM entities ❌ Use cases knowing about HTTP ❌ Skipping the port abstraction ❌ Anemic domain models
Provide:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job