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

python-value-objects

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

Use when defining domain primitives in any Python project — Money, EmailAddress, Color, Coordinates, IDs, anything where two instances with the same fields should be equal and where the values must satisfy invariants. Triggers on `.py` files defining `@dataclass`, on user questions about value objects, immutability, frozen dataclasses, slots, kw_only. Encodes: frozen + slots + kw_only, `__post_init__` invariants, equality by value, no identity, methods over external utility functions. Do NOT use for: aggregate roots (mutable, identity-based — see python-aggregate-and-repo); Pydantic models for HTTP I/O (see python-service-and-schema-cohesion).

التثبيت

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

مستكشف الملفات
3 ملفات
SKILL.md
readonly