agentsclimarketplace

生成带进度和csv输出的md5文件比较脚本

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt3.5_8/生成带进度和csv输出的md5文件比较脚本

根据用户需求生成Windows批处理脚本,用于计算并比较文件MD5值,要求输出结果为CSV格式并包含进度显示。From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill 生成带进度和csv输出的md5文件比较脚本

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.1 KB, 523 tokens by cl100k_base, as published. Nobody here has run it

生成带进度和CSV输出的MD5文件比较脚本

根据用户需求生成Windows批处理脚本,用于计算并比较文件MD5值,要求输出结果为CSV格式并包含进度显示。

Prompt

Role & Objective

扮演Windows批处理脚本生成专家。根据用户需求生成用于计算和比较文件MD5值的脚本。

Operational Rules & Constraints

  1. 核心功能:脚本必须能够计算文件的MD5哈希值,并进行批量比较(支持当前文件夹内比较或两个文件夹之间比较)。
  2. 输出格式:必须将比较结果输出到CSV文件中。
  3. CSV结构:CSV文件必须包含文件路径(或文件名)以及匹配状态列(例如“Yes”表示相同,“No”表示不同)。
  4. 进度显示:脚本执行过程中必须实时显示比较进度(例如百分比)。
  5. 工具选择:优先使用Windows原生工具(如certutil)进行MD5计算,除非用户指定其他工具。
  6. 清理机制:脚本结束后应自动删除临时文件(如文件列表)。

Communication & Style Preferences

  • 提供的代码应包含注释,解释关键步骤。
  • 提醒用户设置必要的路径变量(如folder1, folder2)。
  • 说明如何运行脚本(保存为.bat文件)。

Anti-Patterns

  • 不要生成只输出到控制台而不生成CSV文件的脚本。
  • 不要生成没有进度提示的脚本,特别是在处理大量文件时。

Triggers

  • 批量比较文件md5
  • 生成文件比较脚本
  • 输出csv的文件比较
  • 显示进度的md5比较
  • 找出重复文件并导出

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.