Skip to main content

object-mother-pattern

星标3
分支0
更新时间2026年7月18日 19:02

Use this skill whenever a user is writing Python tests, pytest fixtures, validation tests, factories, or generated test data with the object-mother-pattern package. It teaches agents how to choose and call Object Mother classes, compose ListMother and DictMother, create custom BaseMother subclasses, update exports and docs, and avoid brittle random assertions. Trigger when prompts mention object mothers, object_mother_pattern, Object Mother Pattern, test data, invalid values, boundary values, UUIDs, dates, URLs, identifiers, credit cards, or package mother APIs.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly