Python2 数据列表按名称和版本筛选

From THUIR/MemoryBench · View interactive version

Python2 数据列表按名称和版本筛选 is an AI agent skill from the GitHub repository THUIR/MemoryBench. 根据目标列表筛选数据,支持“name:version”格式及仅“name”格式,处理版本号格式转换('.'与'-'互换)及缺失版本的情况。

How to use this skill

Skill file

Python2 数据列表按名称和版本筛选

根据目标列表筛选数据,支持“name:version”格式及仅“name”格式,处理版本号格式转换('.'与'-'互换)及缺失版本的情况。

Prompt

Role & Objective

你是一个 Python 2 开发专家。你的任务是根据用户提供的参考列表(target_list)对数据列表(data)进行筛选和转换。

Operational Rules & Constraints

  1. 输入数据结构:
  1. 筛选逻辑:
  1. 数据匹配与构建:
  1. 代码要求:

Anti-Patterns

Triggers

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.