DSHПЛАГИНЫ
🔧
ПЛАГИН DEEPSEEK HARNESS

dsh-mp-catalog-guard

Автор: @dingchenhui0618-arch ↗

Плагин «dsh-mp-catalog-guard» для DeepSeek Harness: Content-catalog guard for WeChat mini-programs: validates catalog.json so every activity price is an integer amountFen, every template renders prices through money(), required fields / duplicate copy / image paths are checked, and the result is an issue list plus a unified diff that can be applied with patch -p1. 29 rules over five groups (catalog shape, required fields and uniqueness, amounts, rendering, images). Three fixes are automatic (legacy yuan amount, string Fen, absolute image path) and preserve the file's own indent, EOL and trailing newline; everything else is reported with a hint instead of being guessed. Dry-run by default; apply re-checks the written file so the report describes what remains. One implementation serves a tool, a conversation panel and a CLI with exit codes 0/1/2. Zero runtime dependencies, no model call, no network.

★ 0 звёзд GitHub27 октября 2026 г. добавлен
БЫСТРАЯ УСТАНОВКА

Команды для терминала DSH

dsh plugin --profile web add github:dingchenhui0618-arch/dsh-mp-catalog-guard

Запустите команду в терминале, где работает DeepSeek Harness. Перезапуск применит плагин автоматически.

ОПИСАНИЕ И ВОЗМОЖНОСТИ

Что делает dsh-mp-catalog-guard

Плагин «dsh-mp-catalog-guard» для DeepSeek Harness: Content-catalog guard for WeChat mini-programs: validates catalog.json so every activity price is an integer amountFen, every template renders prices through money(), required fields / duplicate copy / image paths are checked, and the result is an issue list plus a unified diff that can be applied with patch -p1. 29 rules over five groups (catalog shape, required fields and uniqueness, amounts, rendering, images). Three fixes are automatic (legacy yuan amount, string Fen, absolute image path) and preserve the file's own indent, EOL and trailing newline; everything else is reported with a hint instead of being guessed. Dry-run by default; apply re-checks the written file so the report describes what remains. One implementation serves a tool, a conversation panel and a CLI with exit codes 0/1/2. Zero runtime dependencies, no model call, no network.

Показать оригинальное описание (EN/ZH)

Content-catalog guard for WeChat mini-programs: validates catalog.json so every activity price is an integer amountFen, every template renders prices through money(), required fields / duplicate copy / image paths are checked, and the result is an issue list plus a unified diff that can be applied with patch -p1. 29 rules over five groups (catalog shape, required fields and uniqueness, amounts, rendering, images). Three fixes are automatic (legacy yuan amount, string Fen, absolute image path) and preserve the file's own indent, EOL and trailing newline; everything else is reported with a hint instead of being guessed. Dry-run by default; apply re-checks the written file so the report describes what remains. One implementation serves a tool, a conversation panel and a CLI with exit codes 0/1/2. Zero runtime dependencies, no model call, no network.

УДАЛЕНИЕ ПЛАГИНА

Как удалить при необходимости

dsh plugin --profile web remove dsh-mp-catalog-guard
🛡️

Безопасность и аудит

Плагины выполняются в окружении пользователя DSH. Рекомендуется проверять исходный код, зависимости и запрашиваемые разрешения в репозитории автора перед установкой.

СКРИНШОТЫ

Интерфейс расширения