← ClaudeAtlas

jingdouyun-email-template-replacementlisted

Replace only the “模板内容” field of existing 筋斗云 CRM/CMS email templates with matching local HTML files through the logged-in Chrome browser. Use when the user asks to upload, synchronize, batch-update, or replace email template content on cp-admin-test.wukongacademy.com (or the equivalent 筋斗云 template management page) while preserving every other field.
dengshangli/dsl-skills · ★ 0 · AI & Automation · score 73
Install: claude install-skill dengshangli/dsl-skills
# 筋斗云邮件模板替换 Synchronize local `.html` files to the “模板内容” field of existing 筋斗云 email templates. Do not create templates or modify any other field. ## Preconditions - Use the `chrome:control-chrome` skill and reuse the user's logged-in Chrome session. - Default list URL: `https://cp-admin-test.wukongacademy.com/home/cms/templateList`. - Treat the user's request to replace the templates as authorization to submit those specific edits. - Treat “模板内容” as the only writable field. Do not type into, select, toggle, clear, or otherwise modify any other field, including template name, category, identifier, subject, tags, status, text content, and description. - Reading other fields for identity verification is allowed; writing to them is not. - If the edit form does not expose a field explicitly labeled “模板内容”, or the editor cannot be unambiguously associated with that label, stop and record the entry as failed. Never infer the target editor by position. ## Build the update manifest 1. Enumerate `*.html` files in the user-specified directory with `rg --files` or an equivalent bounded listing. 2. Map each normal file to a template name by removing only the final `.html` suffix. Preserve spaces, `#`, Chinese characters, capitalization, and punctuation exactly. 3. Read every HTML file as UTF-8. Do not reformat, minify, repair, or extract only `<body>` unless the user explicitly requests that. 4. Flag abnormal filenames, duplicate stems, empty files, and implausibly large files befo