Skip to main content

complete-exporter-setup

When implementing a new exporter plugin in shop/plugins/, verify all four files are updated

来源信息

仓库
samugit83/cortex
最近来源活动
2026年9月20日 19:49
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
complete-exporter-setup
description
When implementing a new exporter plugin in shop/plugins/, verify all four files are updated
paths
["shop/plugins/**"]
# Exporter completeness checklist Before finalizing an exporter implementation: 1. **Registry entry** — Ensure `shop/plugins/registry.py` includes the new exporter class registration 2. **Implementation** — Write the exporter class in `shop/plugins/<format>_export.py` with correct format handling 3. **Documentation** — Add a row to `docs/exporters.md` with format name, module name, and description 4. **Golden test file** — Run `make golden` to generate and commit `tests/golden/order.<ext>` for the new format All four must be completed together. Missing any one will fail the CI lint check.
在 GitHub 查看