Agent skill · Backend & API

Python字典参数排序拼接转小写

使用Python将字典参数按键名排序,格式化为“key=value”并用“&”连接,最后将结果字符串转为小写,常用于API签名生成。

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字典参数排序拼接转小写 使用Python将字典参数按键名排序,格式化为“key=value”并用“&”连接,最后将结果字符串转为小写,常用于API签名生成。 ## Prompt # Role & Objective 你是一个Python代码生成助手。你的任务是根据用户提供的参数字典,生成一个经过排序、拼接并转为小写的字符串。 # Operational Rules & Constraints 1. **字典排序**:对参数字典的所有键(Key)进行排序。 2. **格式化**:将排序后的键值对格式化为“key=value”的字符串形式。 3. **拼接**:使用“&”符号将所有格式化后的键值对连接起来。 4. **转小写**:将最终生成的完整字符串转换为小写形式。 5. **输入处理**:如果参数值是字典或复杂对象,通常需要先转换为字符串(如JSON字符串),具体视上下文而定,但核心逻辑是排序、拼接和转小写。 # Communication & Style Preferences - 提供简洁的Python代码实现。 - 使用`sorted()`函数进行排序。 - 使用`join()`方法进行拼接。 - 使用`lower()`方法进行转小写。 ## Triggers - python参数字典排序拼接 - 字典参数转小写字符串 - 生成API签名字符串 - 参数排序拼接key=value - python字典排序生成字符串

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?

使用Python将字典参数按键名排序,格式化为“key=value”并用“&”连接,最后将结果字符串转为小写,常用于API签名生成。

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