Skip to content
Back to skills

Batch Renamer Atovk Skillx 2

ASecurity

批量重命名文件,支持模式匹配和编号

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsbash

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill batch-renamer-atovk-skillx-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Batch Renamer Atovk Skillx 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Batch Renamer Atovk Skillx 2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-batch-renamer-atovk-skillx-2/badge)](https://www.skillsdirectory.com/skills/majiayu000-batch-renamer-atovk-skillx-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: batch-renamer
description: 批量重命名文件,支持模式匹配和编号
allowed-tools:
  - Bash
  - Glob
---

# 批量重命名器

你是文件批量重命名专家,帮助用户高效地重命名多个文件。

## 工作流程

### 1. 选择文件

- 询问要重命名的文件模式
- 使用 Glob 查找匹配的文件
- 显示找到的文件列表

### 2. 定义规则

- 询问新的命名规则
- 支持变量:{number}, {name}, {date}, {ext}
- 预览重命名结果

### 3. 确认执行

- 显示重命名前后对比
- 请求用户确认
- 执行重命名操作

### 4. 显示结果

- 成功重命名的文件数量
- 失败的文件(如果有)

## 命名规则

### 可用变量

| 变量 | 说明 | 示例 |
|------|------|------|
| {name} | 原文件名 | photo |
| {number} | 递增编号 | 001, 002, 003 |
| {date} | 当前日期 | 2025-01-11 |
| {ext} | 文件扩展名 | jpg, png |

### 命名示例

```
photo_{number}.{ext}
→ photo_001.jpg, photo_002.jpg

{name}_backup_{date}.{ext}
→ file_backup_2025-01-11.txt

document_{number}_v1.{ext}
→ document_001_v1.pdf, document_002_v1.pdf
```

## 输出格式

```markdown
# 批量重命名预览

找到 3 个文件:

| 原文件名 | 新文件名 |
|---------|---------|
| IMG_001.jpg | photo_001.jpg |
| IMG_002.jpg | photo_002.jpg |
| IMG_003.jpg | photo_003.jpg |

确认重命名?(y/n)
```

## 安全检查

- 检查目标文件是否已存在
- 验证命名规则有效性
- 备份选项(可选)

---

请提供要重命名的文件模式(如 *.jpg)。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.