一键导入
python-patterns
DeepSearch Python patterns for layering, config models, custom exceptions, logging, path safety, prompts, and async cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
DeepSearch Python patterns for layering, config models, custom exceptions, logging, path safety, prompts, and async cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
DeepSearch pytest guide for targeted tests, fixtures, async mocks, live-test gates, and artifact-safe test data.
Security review checklist for DeepSearch changes involving secrets, file paths, LLM/search providers, prompts, server APIs, storage, and logs.
Verify DeepSearch changes with scoped diff review, import checks, pytest, optional live tests, and artifact hygiene.
| name | python-patterns |
| description | DeepSearch Python patterns for layering, config models, custom exceptions, logging, path safety, prompts, and async cleanup. |
Use this when implementing DeepSearch Python code.
openjiuwen_deepsearch/algorithm/openjiuwen_deepsearch/framework/openjiuwen/agent/framework/openjiuwen/tools/, framework/openjiuwen/llm/, or llm/openjiuwen_deepsearch/config/openjiuwen_deepsearch/common/openjiuwen_deepsearch/utils/server/bytearray secret fields where existing models use them.zero_secret when following nearby patterns.Use StatusCode plus Custom*Exception for business errors:
raise CustomValueException(
error_code=StatusCode.PARAM_CHECK_ERROR_COMMON_INVALID.code,
message=StatusCode.PARAM_CHECK_ERROR_COMMON_INVALID.errmsg.format(param="name"),
)
Catch third-party exceptions at subsystem boundaries and convert them before they cross SDK/server public surfaces.
logging.getLogger(__name__).LogManager.is_sensitive() and anonymization helpers.session_id_ctx tokens in finally blocks.ensure_safe_directory or equivalent
safe-base checks.tmp_path in tests.algorithm/prompts/.