Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
中文简介正在准备中。当前显示原文说明。
Clean/hexagonal architecture: dependency rules, ports and adapters, layering, and testable boundaries. Use when structuring applications for maintainability and testability.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Clean Architecture (and its cousin Hexagonal/Ports-and-Adapters) is a dependency discipline: business logic sits at the center, depending on nothing; infrastructure (databases, frameworks, UI) sits at the edges, depending inward through abstractions. The result: domain logic testable without databases or frameworks, and infrastructure replaceable without touching the domain.
The through-line: the Dependency Rule — source code dependencies point inward only. Frameworks are details.
OrderRepository,
PaymentGateway); infrastructure provides adapters (PostgresOrderRepository,
StripePaymentGateway). The app never names a concrete infrastructure class — only the port.findOrderById,
chargeCard) — interfaces shaped by the caller, not by the database's convenience.main/startup creates concrete adapters and injects them.
Only here does the app know it's Postgres and not SQLite.import from domain to
infrastructure) in CI. The rule erodes without enforcement — one convenient shortcut at a time.Layer sketch:
src/
├── domain/ # entities, value objects, domain services, domain events
│ └── order/ # Order, Money, OrderPlaced — zero external imports
├── application/ # use cases + ports (interfaces)
│ └── order/ # PlaceOrderUseCase, OrderRepository (port), PaymentGateway (port)
├── adapters/ # implementations of ports + delivery mechanisms
│ ├── persistence/ # PostgresOrderRepository implements OrderRepository
│ ├── web/ # OrderController → PlaceOrderUseCase
│ └── payment/ # StripePaymentGateway implements PaymentGateway
└── main.ts # composition root: wires adapters into use cases
IOrderService for every class "for clean
architecture." Ports exist at architectural boundaries (app ↔ infrastructure), not between
every two classes.findBySql, lazy-loading
entities) — the infrastructure dictating terms. Ports are designed by the application.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
中文简介正在准备中。当前显示原文说明。
Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.
中文简介正在准备中。当前显示原文说明。
Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.
中文简介正在准备中。当前显示原文说明。
Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.
中文简介正在准备中。当前显示原文说明。
Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.
中文简介正在准备中。当前显示原文说明。
Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.
中文简介正在准备中。当前显示原文说明。