用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill rename-doc命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | rename_doc |
| description | Rename a document or folder within a repository |
| category | document |
| version | 1.1.0 |
| author | DocSys Team |
| permissions | ["write:document"] |
| tags | ["document","rename","mv","move-rename"] |
Rename a document or folder within a repository.
Rename doc, rename document, rename file, 重命名文档, 文件重命名, 文档重命名, rename this, change name, 改文件名, rename the file, rename folder, mv doc
docsys repos list to find available repos and ask user to confirm. If docId not provided → call docsys docs list <vid> to locate the document.docsys doc rename <vid> <docId> <newName>docsys doc rename <vid> <docId> <originalName>docsys doc rename <vid> <docId> <newName>
docsys mv <vid> <docId> <newName>
| Parameter | Type | Required | Description |
|---|---|---|---|
| vid | number | yes | Repository ID |
| docId | number | yes | Document ID to rename |
| newName | string | yes | New name (no `/:*?"<> |
User: "rename document 123 to new_report.pdf"
Skill triggers → calls: docsys doc rename 1 123 new_report.pdf
Output: Rename result
User: "把文档 456 重命名为 2025报告.pdf"
Skill triggers → calls: docsys doc rename 1 456 2025报告.pdf
Output: 重命名结果
User: "mv doc 789 to updated_data.xlsx"
Skill triggers → calls: docsys mv 1 789 updated_data.xlsx
Output: Rename result
Success: Brief confirmation showing old and new name. Error: "Document not found", "Invalid name", "Name conflict"
| Error | Cause |
|---|---|
| Usage: doc rename | Missing arguments |
| Document not found | Invalid vid or docId |
| Invalid characters | Forbidden chars in name |
| Name conflict | Name already exists in folder |
| Permission denied | No write access |
See references/ for related skills and API docs.
基于 SOC 职业分类