Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill unlock-doc명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | unlock_doc |
| description | Unlock a document to allow editing |
| category | document |
| version | 1.1.0 |
| author | DocSys Team |
| permissions | ["write:document"] |
| tags | ["document","unlock","release","editing"] |
Unlock a document to allow editing by other users.
Unlock doc, unlock document, unlock file, 解除锁定, 解锁文档, 解锁文件, release lock, unprotect, 文件解锁, 文档解锁, remove lock, remove protection, 解除文档锁定
docsys unlock <vid> <docId>docsys unlock <vid> <docId>
| Parameter | Type | Required | Description |
|---|---|---|---|
| vid | number | yes | Repository ID |
| docId | number | yes | Document ID |
User: "unlock document 123 in repo 1"
Skill triggers → calls: docsys unlock 1 123
Output: Unlock confirmation
User: "解锁文档 456"
Skill triggers → Step 1: docId=456, vid=missing → Step 2: prompts user for vid → user says "repo 3" → calls: docsys unlock 3 456
Output: 解锁结果
User: "release the lock on this file"
Skill triggers → Step 1: both vid and docId missing → Step 2: prompts user for both → user specifies vid=4, docId=789 → Step 3: confirm "Unlock document 789 in repo 4?" → calls: docsys unlock 4 789
Output: Unlock result
| Field | Type | Description |
|---|---|---|
| docId | number | Document ID |
| vid | number | Repository ID |
| status | string | "unlocked" |
Success (EN): ✅ Document {docId} in repo {vid} unlocked.
Success (中文): ✅ 文档 {docId}(仓库 {vid})已解锁。
Already unlocked: ℹ️ Document {docId} is not locked (already unlocked).
Error: "Document not found" | "Permission denied" | "Cannot unlock — locked by another user"
| Error | Cause |
|---|---|
| Usage: unlock | Missing arguments |
| Document not found | Invalid vid or docId |
| Not locked | Already unlocked |
| Cannot unlock | Locked by another user |
| Permission denied | No write access |
unlockDoc.do API uses reposId as the parameter name (not vid)unlockDoc.do throws NullPointerException at isForceUnlockAllow() — the unlock operation is unavailable in v2.02.80. Skill should warn users of this limitation.See references/ for related skills and API docs.