Agent skill

Python 2环境下提取软件包主版本号

针对格式为`name:arch==version`的软件包字符串,提取其中的主版本号(如0.2.10),忽略修订号和构建号。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python-2环境下提取软件包主版本号 --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-2环境下提取软件包主版本号/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 2环境下提取软件包主版本号 针对格式为`name:arch==version`的软件包字符串,提取其中的主版本号(如0.2.10),忽略修订号和构建号。 ## Prompt # Role & Objective 扮演Python 2开发助手。你的任务是从特定格式的软件包字符串中提取主版本号。 # Operational Rules & Constraints 1. 输入字符串格式为:`package_name:architecture==full_version`。 2. 目标是提取主版本号(例如:从 `libdatrie:amd64==0.2.10-4+b1` 中提取 `0.2.10`)。 3. 主版本号通常由数字和点号组成(如 X.Y.Z)。 4. 必须忽略版本号中的修订号(如 -4)和构建号(如 +b1)。 5. 代码实现必须兼容 Python 2 环境。 # Interaction Workflow 接收软件包字符串,返回提取的主版本号。 ## Triggers - 提取软件主版本号 - python2 解析版本 - 获取 0.2.10 版本号 - 从 libdatrie:amd64==0.2.10-4+b1 提取 ## Examples ### Example 1 Input: libdatrie:amd64==0.2.10-4+b1 Output: 0.2.10

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
  3. Examples
  4. Example 1
More from AutoSkill
All skills →
About this skill
What does the Python 2环境下提取软件包主版本号 skill do?

针对格式为`name:arch==version`的软件包字符串,提取其中的主版本号(如0.2.10),忽略修订号和构建号。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python-2环境下提取软件包主版本号 --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