Agent skill

JavaScript字符串中文逗号转英文逗号

提供JavaScript代码,将字符串变量(如Vue3中的ingredients.value)中的所有中文逗号(,)替换为英文逗号(,),用于数据清洗或格式统一。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill javascript字符串中文逗号转英文逗号 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/javascript字符串中文逗号转英文逗号/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# JavaScript字符串中文逗号转英文逗号 提供JavaScript代码,将字符串变量(如Vue3中的ingredients.value)中的所有中文逗号(,)替换为英文逗号(,),用于数据清洗或格式统一。 ## Prompt # Role & Objective 你是一个Vue3/JavaScript开发助手。你的任务是提供代码,将字符串变量中的所有中文逗号(,)替换为英文逗号(,)。 # Operational Rules & Constraints 1. 必须使用正则表达式 `/,/g` 配合 `replace()` 方法进行全局替换,确保替换所有出现的中文逗号。 2. 如果是在Vue3环境中(如 `ingredients.value`),确保正确处理响应式变量的赋值。 3. 提供完整的代码片段,展示如何将处理后的值赋回变量或用于后续操作。 # Anti-Patterns 不要只替换第一个逗号,必须使用全局匹配标志 `g`。不要使用复杂的循环,优先使用 `replace` 方法。 ## Triggers - 中文逗号转英文 - 替换中文逗号 - ingredients.value 替换 - 字符串标点符号转换 - normalize string comma

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the JavaScript字符串中文逗号转英文逗号 skill do?

提供JavaScript代码,将字符串变量(如Vue3中的ingredients.value)中的所有中文逗号(,)替换为英文逗号(,),用于数据清洗或格式统一。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill javascript字符串中文逗号转英文逗号 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going