Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for Domain-Driven Design (DDD). Covers tactical patterns (Aggregates, Value Objects), strategic patterns (Bounded Contexts), event storming, and CQRS / Panduan ahli Desain Berbasis Domain (DDD).
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
<a name="english"></a>
Comprehensive architectural guide for tackling core business complexity using Domain-Driven Design (DDD). Covers Strategic Design (Bounded Contexts, Context Mapping, Ubiquitous Language, Subdomains) and Tactical Design (immutable Value Objects, Aggregate Roots, Domain Events, Repositories, Specification pattern, and CQRS separation). Emphasizes keeping core domain logic pure and independent of database schemas, ORMs, and web delivery frameworks.
// src/domain/shared/value-objects/Money.ts
export class Money {
readonly amountCents: number;
readonly currency: 'USD' | 'IDR' | 'EUR';
private constructor(amountCents: number, currency: 'USD' | 'IDR' | 'EUR') {
if (amountCents < 0) throw new Error('Money amount cannot be negative.');
this.amountCents = Math.round(amountCents);
this.currency = currency;
}
static create(amountCents: number, currency: 'USD' | 'IDR' | 'EUR' = 'USD'): Money {
return new Money(amountCents, currency);
}
add(other: Money): Money {
if (this.currency !== other.currency) throw new Error('Currency mismatch.');
return new Money(this.amountCents + other.amountCents, this.currency);
}
equals(other: Money): boolean {
return this.amountCents === other.amountCents && this.currency === other.currency;
}
}
// src/domain/order/OrderAggregate.ts
export interface DomainEvent {
eventName: string;
occurredOn: Date;
aggregateId: string;
}
export class OrderPaidEvent implements DomainEvent {
eventName = 'OrderPaidEvent';
occurredOn = new Date();
constructor(public aggregateId: string, public totalAmount: Money) {}
}
export class OrderAggregate {
private _domainEvents: DomainEvent[] = [];
constructor(
public readonly id: string,
public readonly customerId: string,
private _total: Money,
private _status: 'DRAFT' | 'PAID' | 'CANCELLED' = 'DRAFT'
) {}
get status() { return this._status; }
get total() { return this._total; }
// Enforces domain invariant: an order cannot be marked PAID if status is not DRAFT
markAsPaid(): void {
if (this._status !== 'DRAFT') {
throw new Error(`Invalid transition: Cannot pay an order in ${this._status} status.`);
}
this._status = 'PAID';
this._domainEvents.push(new OrderPaidEvent(this.id, this._total));
}
pullDomainEvents(): DomainEvent[] {
const events = [...this._domainEvents];
this._domainEvents = [];
return events;
}
}
OrderRepository, not OrderItemRepository).handleData() in favor of explicit domain verbs like authorizePayment().scalability-clean-code: Aligns DDD tactical models with SOLID, DRY, and Clean Architecture principles.event-driven-architect: Dispatches domain events collected from Aggregate Roots to Kafka / BullMQ.database-orm-expert: Maps pure domain aggregates to persistence schemas via Data Mappers.<a name="bahasa-indonesia"></a>
Terhubung dan mengorkestrasi bersama scalability-clean-code, event-driven-architect, database-orm-expert, dan saas-architect.
Panduan arsitektur komprehensif untuk menangani kompleksitas bisnis inti menggunakan Domain-Driven Design (DDD). Mencakup Desain Strategis (Bounded Contexts, Context Mapping, Ubiquitous Language, Pemisahan Subdomain) dan Desain Taktis (Value Objects imutabel, Aggregate Roots, Domain Events, Repositories, dan pola CQRS). Menekankan pentingnya menjaga logika bisnis tetap murni dan terisolasi dari database, ORM, maupun framework pengiriman web.
// src/domain/order/IOrderRepository.ts
import { OrderAggregate } from './OrderAggregate';
export interface IOrderRepository {
findById(id: string): Promise<OrderAggregate | null>;
save(order: OrderAggregate): Promise<void>; // Menyimpan agregat & mempublikasikan Domain Event
}
OrderRepository), bukan untuk tabel pembantu (OrderItemRepository).terbitkanFaktur() daripada updateStatusTable()).scalability-clean-code: Menjaga keterbacaan kode dan pemisahan lapisan logika (Separation of Concerns).event-driven-architect: Mengirimkan Domain Events ke broker pesan tanpa merusak transaksi atomik.database-orm-expert: Mengonversi model domain murni ke tabel database melalui Data Mapper.saas-architect: Menyelaraskan batas modul bisnis dengan paket harga dan hak akses pengguna.아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan ahli komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for AI-assisted coding workflows — agentic code generation, multi-agent code swarms, self-healing CI/CD, automated PR review, spec-to-code pipelines, codebase knowledge graphs, and human-in-the-loop approval gates / Panduan ahli untuk workflow pengkodean berbasis AI — generasi kode agentic, code swarm multi-agen, CI/CD self-healing, review PR otomatis, pipeline spec-to-code, knowledge graph codebase, dan gate persetujuan human-in-the-loop.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for autonomous Machine-to-Machine (M2M) agent settlement, dual-rail fiat & stablecoin micro-clearing, dynamic budget envelopes, and cryptographic agent invoicing / Panduan ahli settlement otonom antar-agen (M2M), kliring mikro dual-rail fiat & stablecoin, pagu anggaran dinamis, dan penagihan agen kriptografis.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Expert guide for long-term episodic memory integration (Mem0 v2, Letta/MemGPT, Zep v2), memory tier architecture, pgvector HNSW storage, and unified context management for autonomous AI agents / Panduan ahli untuk integrasi memori episodik jangka panjang (Mem0 v2, Letta/MemGPT, Zep v2), arsitektur tier memori, penyimpanan pgvector HNSW, dan manajemen konteks terpadu untuk agen AI otonom.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.