Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill doc-history명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | doc_history |
| description | Get version history of a document |
| category | document |
| version | 1.2.0 |
| author | DocSys Team |
| permissions | ["read:document"] |
| tags | ["document","history","version","revision"] |
Retrieve version history of a document showing all past versions.
History, document history, version history, 版本历史, 文档历史, 历史记录, 查看版本, 查看历史, past versions, file history, revision history, 文档版本, 版本记录, earlier versions, 修改历史, 文档变更, 何时修改
vid and docId from user input. Both are required.docsys repos list to find available repos. If docId missing but user references "this document" → ask user to specify docId or navigate to the document context. Do not guess or default to vid=1.docsys doc history <vid> <docId>docsys doc history <vid> <docId>
| Parameter | Type | Required | Description |
|---|---|---|---|
| vid | number | yes | Repository ID |
| docId | number | yes | Document ID |
User: "show version history of document 123 in repo 1"
Skill triggers → Step 1: vid=1, docId=123 → Step 3: IDs explicit, no confirm needed → calls: docsys doc history 1 123
Output: List of versions with dates and authors
User: "查看文档 456 的版本历史"
Skill triggers → Step 1: docId=456, vid=missing → Step 2: calls docsys repos list to find available repos → user specifies vid=3 → Step 3: confirm docId=456, vid=3 → calls: docsys doc history 3 456
Output: 版本列表(含时间、作者、变更描述)
User: "what are the past versions of this file"
Skill triggers → Step 1: both vid and docId missing → Step 2: calls docsys repos list → user specifies vid=2 → calls docsys docs list 2 to find docId → user selects docId=789 → Step 3: confirm vid=2, docId=789 → calls: docsys doc history 2 789
Output: Version history
| Field | Type | Description |
|---|---|---|
| version | string | Version number or revision ID |
| date | string | Version creation date |
| author | string | User who made the change |
| description | string | Change summary or message |
| docId | number | Document ID |
Success (EN): 📋 Version history (newest first):\nv{version} | {date} | {author} | {description}\n...
Success (中文): 📋 版本历史(最新优先):\nv{version} | {date} | {author} | {description}\n...
No history: ℹ️ No version history found for doc {docId} (this is normal for new documents).
Error: "Document not found" | "Permission denied"
| Error | Cause |
|---|---|
| Usage: doc history | Missing vid or docId |
| Document not found | Invalid vid or docId |
| Permission denied | No read access |
See references/ for related skills and API docs.