Install
openclaw skills install @zhaoxinghua09-cell/reg-citation-normalizer医疗器械法规引用编号的识别、解析与规范化。将 21 CFR、ISO/IEC、中国国标行标(GB/YY/T)、NMPA 部令公告等各种写法解析为规范结构并给出标准书写建议。零依赖,可离线运行。
openclaw skills install @zhaoxinghua09-cell/reg-citation-normalizer凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate
Recognize and normalize medical-device regulatory citation numbers — turn inconsistent citation styles in your documents into a canonical structure with recommended standard formatting.
python scripts/cite_normalize.py normalize "21 CFR 820.30(a)(6)"
python scripts/cite_normalize.py parse "ISO 13485:2016 clause 7.5.1" --json
python scripts/cite_normalize.py check report.md [--json]
check on a document to find formatting issues;normalize/parse to get canonical forms;| Type | Example input | Canonical output |
|---|---|---|
| US 21 CFR | 21 CFR 820.30 (a)(6) | 21 CFR 820.30(a)(6) |
| ISO/IEC | ISO 13485:2016 clause 7.5.1 | ISO 13485:2016, 7.5.1 |
| Chinese line standard | YY/T 0287-2017 7.5.1 | YY/T 0287-2017, clause 7.5.1 |
| Decree | 国家市场监督管理总局令第47号 | agency normalized (incl. SFDA→CFDA→NMPA history) |
| Announcement | 国家药监局公告 2021年第76号 | normalized announcement |
ISO13485 → ISO 13485); lowercase code; misplaced §; year separator (: vs dash); undated ISO references → prompt to add year.Python 3.8+, zero third-party deps.
医疗器械法规引用编号识别与规范化工具。把文档里五花八门的法规引用写法,解析成规范结构并给出标准书写建议。
python scripts/cite_normalize.py normalize "21 CFR 820.30(a)(6)"
python scripts/cite_normalize.py parse "ISO 13485:2016 clause 7.5.1" --json
python scripts/cite_normalize.py check report.md [--json]
| 类型 | 示例输入 | 规范化输出 |
|---|---|---|
| 美国 21 CFR | 21 CFR 820.30 (a)(6) | 21 CFR 820.30(a)(6) |
| ISO/IEC | ISO 13485:2016 clause 7.5.1 | ISO 13485:2016, 7.5.1 |
| 中国行标 | YY/T 0287-2017 7.5.1 | YY/T 0287-2017,第7.5.1条 |
| 部令 | 国家市场监督管理总局令第47号 | 机构归一化(含 SFDA→CFDA→NMPA 沿革) |
| 公告 | 国家药监局公告 2021年第76号 | 规范公告写法 |
缺空格、大小写、§ 误用、年份连接符、ISO 未注日期等 9 类常见书写问题。
只做格式识别与规范化,不校验条款内容正确性与现行有效性(查现行状态用 openstd.samr.gov.cn / ecfr.gov / iso.org)。
Python 3.8+,零第三方依赖。