home/categories/architecture-patterns/co-labs-co-context-harness-opencode-skill-python-primitives-architecture-skill-md
architecture-patternsdevelopment

python-primitives-architecture

Guide for implementing ContextHarness's three-layer architecture: Primitives → Services → Interfaces. Use this skill when creating new features, adding domain models, implementing business logic, or building CLI/SDK interfaces. Ensures proper separation of concerns with pure dataclass primitives, Result-based error handling, and protocol-based dependency injection.

co-labs-co
maintainer
co-labs-co
更新於 1/12/2026
星標
0
分支
0
quick start

Installation and usage

Guide for implementing ContextHarness's three-layer architecture: Primitives → Services → Interfaces. Use this skill when creating new features, adding domain models, implementing business logic, or building CLI/SDK interfaces. Ensures proper separation of concerns with pure dataclass primitives, Result-based error handling, and protocol-based dependency injection.

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use python-primitives-architecture