PerryLink/dsh-power-ticket-check ↗★ 0
dsh-power-ticket-check
核对电力工作票要素与签发许可顺序 适合电力安全管理人员,用于核对工作票填写与签发流程合规。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-power-ticket-check说明文档
阅读完整 README ↗Configuration
| Key | Type | Default | Description |
|---|---|---|---|
rulesFile | string | rules/power-ticket-check.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:
PT-001requiredFields— the columns that must be filled, using the same names the material uses.PT-002ticketKinds— your ticket kinds, e.g.[第一种工作票, 第二种工作票, 带电作业票]. It can also be passed per call.PT-003minMinutesBeforeWork— the least interval you require between 签发 and 许可.0disables the interval comparison.PT-003maxDurationHours— the longest a single ticket may run.0disables the duration check.PT-005exclusiveRolePairs— pairs that must not be the same person, written['工作票签发人|工作许可人'].