Dxm Pc Description logo

Dxm Pc Description

Community
southernspark-nfxh
dxm-pc-description

店小秘速卖通编辑页——描述信息模块:PC端描述(CKEditor 引用模板 + 批量改图片尺寸 + 图片翻译)

Overview

Publishersouthernspark-nfxh
Repositoryaliexpress-auto-listing-skill
Skill namedxm-pc-description
Stars
28
Forks
6
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by southernspark-nfxh on GitHub. Read the source before you install it.

Installation

Install the Dxm Pc Description AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/southernspark-nfxh/aliexpress-auto-listing-skill/tree/main/dxm-pc-description
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/southernspark-nfxh/aliexpress-auto-listing-skill.git /tmp/aliexpress-auto-listing-skill
mkdir -p .claude/skills
cp -r /tmp/aliexpress-auto-listing-skill/dxm-pc-description .claude/skills/dxm-pc-description
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dxm Pc Description in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dxm Pc Description on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dxm Pc Description is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

店小秘PC端描述模块

环境

CDP browser_cdp 直连。CKEditor 在 iframe 内或页面内,需先定位。

切换位置

描述信息 tab → PC端描述(CKEditor 富文本编辑器)

子步骤

8.5a. 引用模板 → 选模板 → 选择
8.5b. 批量改图片尺寸(7步铁序)
8.5c. 图片翻译(中文→英文)

Step 8.5a:引用模板

CDP 操作

1. 切换到描述信息 tab
   Runtime.evaluate:
     const items = document.querySelectorAll('.anchor-menu-item');
     items.forEach(i => { if (i.textContent.trim() === '描述信息') i.click(); });

2. 等 2 秒 CKEditor 加载

3. 点 CKEditor 工具栏「引用模板」
   Runtime.evaluate:
     // 找按钮(可能需要精确选择器)
     const btns = document.querySelectorAll('.cke_button__templates, [title*="模板"], [title*="Template"]');
     btns[0].dispatchEvent(new MouseEvent('mousedown', {bubbles: true}));
     btns[0].dispatchEvent(new MouseEvent('mouseup', {bubbles: true}));
     btns[0].dispatchEvent(new MouseEvent('click', {bubbles: true}));

4. 等弹窗 → 选模板 → 点「选择」

Step 8.5b:批量改图片尺寸(✅ 2026-07-19 验证)

🔴 images-options 栏默认隐藏——必须 JS 强制显示

.images-options 由 Vue 3 控制显示/隐藏,正常情况永远不出现。唯一有效方式:JS 强制设置 CSS 属性。

python
await page.evaluate('''() => {
    const io = document.querySelector('.images-options');
    if (!io) return;
    // 显示整条父链
    let el = io;
    while (el && el !== document.body) {
        el.style.setProperty('display', 'block', 'important');
        el.style.setProperty('visibility', 'visible', 'important');
        el.style.setProperty('opacity', '1', 'important');
        el = el.parentElement;
    }
    // 固定到视口可见位置
    io.style.setProperty('position', 'fixed', 'important');
    io.style.setProperty('top', '450px', 'important');
    io.style.setProperty('left', '800px', 'important');
    io.style.setProperty('z-index', '99999', 'important');
}''')

操作流程(4步)

1. 强制显示 images-options → 固定到 (800, 450)
2. page.mouse.click → 打开「批量编辑图片」下拉
3. 选「批量改图片尺寸」
4. 弹窗中:填 valueW=800 → 点「生成JPG图片」
   如点不动,用 JS element.click() 兜底

🔴 两个「批量编辑图片」陷阱

  • CKEditor 原生 combo(.cke_combo__batcheditimgdropdownlist)→ 空面板 ❌
  • images-options 区的 ant-dropdown-trigger → 正确入口 ✅

Step 8.5c:图片翻译(✅ 2026-07-19 验证)

相同入口:images-options → 批量编辑图片 → 图片翻译

弹窗内操作(🔑 关键:一键翻译按钮要点两次)

python
# 1. 选全部
sel = 弹窗内 label.ant-checkbox-wrapper[textContent='选择全部']
page.mouse.click(sel_x, sel_y)

# 2. 第1次点一键翻译 span → 打开语言下拉 → 选「中文 → 英文」
page.mouse.click(span_x, span_y)          # 打开下拉
cn_en = 找可见的 '中文 → 英文' 菜单项
page.mouse.click(cn_en_x, cn_en_y)        # 选语言(不提交)

# 3. 第2次点一键翻译 span → 提交翻译!
page.mouse.click(span_x, span_y)          # 提交

提交后出现双弹窗:原弹窗 + 进度弹窗「已翻译成功N张图片」。 翻译完成后再出现确认弹窗 → JS element.click() 点「确认」关闭。

⚠️ 已知坑点

  1. images-options 默认隐藏(Vue 3 控制) — 必须 JS 强制 style.setProperty('display','block','important') 整条父链 + 固定定位到视口内。不要浪费时间找「展开图片栏」按钮。
  2. 两个同名「批量编辑图片」 — cke_combo(空面板)vs images-options(真菜单),只用后者。
  3. 🔑 一键翻译要点两次 — 第1次选语言,第2次提交。不要用 Enter 键!不要点完语言就等!
  4. 生成JPG/PNG 按钮被 ant-modal-wrap 拦截 — mouse.click 后弹窗不关,用 JS element.click() 兜底即可。
  5. 「一键翻译」≠「快速翻译」 — 快速翻译是 checkbox 开关,一键翻译是提交按钮。
  6. PC描述图在 iframe 中 — 无法通过主页面 DOM 查询图片,但 images-options 操作在主页面进行,不受影响。
  7. 翻译完成后需 JS click 确认 — 确认弹窗的「确认」按钮也不能用 mouse.click,用 JS element.click()。
  8. CDP Input.dispatchMouseEvent 不可用 — 统一用 Playwright page.mouse.click()。

作者: 南方星火 SouthernSpark | 小红书 @南方星火 SouthernSpark | AI自动化专家工作流

Frequently asked questions

What does the Dxm Pc Description AI skill do?

店小秘速卖通编辑页——描述信息模块:PC端描述(CKEditor 引用模板 + 批量改图片尺寸 + 图片翻译)

Why use Dxm Pc Description on TypingMind?

Because you install it once and use it with any model. Dxm Pc Description is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dxm Pc Description in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/southernspark-nfxh/aliexpress-auto-listing-skill/tree/main/dxm-pc-description. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dxm Pc Description?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dxm Pc Description?

As many as you like. As long as a model supports skills, you can use Dxm Pc Description with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dxm Pc Description AI skill free?

It is published on GitHub by southernspark-nfxh. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇