PerryLink/dsh-hs-classify ↗★ 0
dsh-hs-classify
核对商品归类层级关系的一致性 适合报关与物流人员,用于核对商品编码与层级关系的自洽性。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-hs-classify說明文件
閱讀完整 README ↗Configuration
| Key | Type | Default | Description |
|---|---|---|---|
rulesFile | string | rules/hs-classify.yaml | Rule-pack path, relative to the package root |
disabledRules | string[] | [] | Rule ids to stop running; each appears in skipped |
onlyRules | string[] | [] | Run only these rule ids; empty runs every rule |
skipNotes | string | "" | Note appended to every skipped reason |
timeoutMs | number | 120000 | Cooperative tool timeout budget |
Rule-level parameters worth knowing:
HC-001pattern— the code's shape, ten digits by default. Change it when the tariff changes.HC-002field/components/digits— the code column, the level columns in coarse-to-fine order ([chapter, heading, subheading]), and the expected total length.HC-004fields— header fields that must be present; the tariff version by default. Adddeclarantif your register records one.HC-006terms— the placeholders to look for.