Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

hexagonal-architecture

النجوم٢
التفرعات٠
آخر تحديث٩ يوليو ٢٠٢٦ في ٠٠:٣٨

Ports & Adapters (hexagonal) design discipline for keeping business logic independent of frameworks, transport, and persistence. Covers the inward dependency rule, inbound/outbound port modelling, use-case orchestration with injected ports, edge adapters, the single composition root, per-boundary test strategy, a slice-by-slice strangler migration playbook, and the cross-language mapping of the same boundary rules onto TypeScript, Java, Kotlin, and Go layouts. Use when: standing up a new feature where testability and long-term change cost matter; refactoring a framework-heavy or layered service where domain logic is tangled with I/O; exposing one use case over multiple interfaces (HTTP, CLI, queue worker, cron); or swapping infrastructure (DB, third-party API, message bus) without rewriting business rules.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly