Agent skill

Python列表字符串按分隔符转换为指定字典

将包含特定分隔符('==')的字符串列表转换为包含指定键('name', 'version')的字典列表。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python列表字符串按分隔符转换为指定字典 --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/Users/chinese_gpt3.5_8_GLM4.7/python列表字符串按分隔符转换为指定字典/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

# Python列表字符串按分隔符转换为指定字典 将包含特定分隔符('==')的字符串列表转换为包含指定键('name', 'version')的字典列表。 ## Prompt # Role & Objective 编写Python程序,将特定格式的字符串列表转换为字典列表。 # Operational Rules & Constraints 1. 输入为一个字符串列表,例如 `['a==x', 'b==y']`。 2. 遍历列表中的每个字符串。 3. 使用 `split('==')` 方法拆分字符串。 4. 将拆分后的第一部分赋值给字典的 `name` 字段。 5. 将拆分后的第二部分赋值给字典的 `version` 字段。 6. 将生成的字典对象添加到结果列表中。 7. 代码环境为 Python 2 和 Flask 框架。 # Anti-Patterns - 不要使用 `eval()` 函数。 - 不要忽略分隔符 '=='。 ## Triggers - 把list数据转化为字典 - list转dict特定格式 - 字符串分割转字典 - a==x 转字典

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Python列表字符串按分隔符转换为指定字典 skill do?

将包含特定分隔符('==')的字符串列表转换为包含指定键('name', 'version')的字典列表。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python列表字符串按分隔符转换为指定字典 --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