understand-ports_and_adapters
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
understand-ports_and_adapters
CALL NUMBER: ?.ports_and_adapters : software_architecture_patterns_and_styles(2)
DEFINITION: An architectural pattern that separates the core business logic from external concerns by defining ports (interfaces) for inputs and outputs, with adapters implementing those ports to connect to frameworks, databases, or external systems.
Invoke this skill to understand ports_and_adapters down to its primitives. The RELATIVE ROOT below is the least-fixed-point closure of everything it bundles from — the full import cone, grouped by the lib each prim comes from. Projected from a prover-typed KB (MAP/SWI-Prolog consistency gate): every reference below resolves.
THE RELATIVE ROOT (the import cone, by lib)
from software_architecture_patterns_and_styles
- hexagonal_architecture (d1): An architectural pattern (ports_and_adapters) that structures the application with a core business logic at the center, surrounded by ports for input and output adapters, keeping the core independent of external concerns.
- dependency_inversion_principle (d2): A SOLID principle stating that high-level modules should not depend on low-level modules; both should depend on abstractions (interfaces), not concrete implementations.
CONSUMERS (what needs this)
hexagonal_architecture
Projected from the software architecture patterns and styles KB (211 concepts / 192 relations) — consistency-typed by MAP; the facet list after the colon IS the cross-lib dependency web.
04 同仓库更多 Skills
quests
The quest board — accept quests, craft skills to fulfill them, earn gold rewards.
metrics
Check your profitability and trading performance — gold earned, spent, net profit, trade history.
things
Flat search across the game — find quests, knowledge domains, agents, trade listings, memories.
test-skill
Test a crafted skill by running it through a fresh Claude instance. Use before posting to trade or submitting for quests.
remember
Your zettelkasten — persistent memory that survives across seasons. Record observations, strategies, and craft insights.
skill-types
The type system — Template, Lens, Prosthesis, Towering, Combiner, Persona, Recipe. Learn to type skills, chain them, and write Recipes.