home/categories/architecture-patterns/co-labs-co-context-harness-opencode-skill-python-service-with-protocol-skill-md
architecture-patternsdevelopment
python-service-with-protocol
Guide for implementing services with Protocol-based dependency injection in Python. Use when creating services that interact with external systems (APIs, databases, filesystems). Enables clean testing through mock injection while keeping production code simple.
maintainer
co-labs-co
์
๋ฐ์ดํธ๋จ 1/12/2026
์คํ
0
ํฌํฌ
0
quick start
Installation and usage
Guide for implementing services with Protocol-based dependency injection in Python. Use when creating services that interact with external systems (APIs, databases, filesystems). Enables clean testing through mock injection while keeping production code simple.
์ค์น
$ install --globalskills.sh
์ฌ์ฉ๋ฒ
์ค์น ํ ํฐ๋ฏธ๋์์ ๋ค์ ๋ช ๋ น์ ์คํํ์ฌ ์ด ์คํฌ์ ์ฌ์ฉํ ์ ์์ต๋๋ค:
skills use python-service-with-protocol