Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill share-doc명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | share_doc |
| description | List or create document sharing links |
| category | document |
| version | 1.1.0 |
| author | DocSys Team |
| permissions | ["read:document"] |
| tags | ["document","share","link","sharing","public"] |
List existing share links or create a new share link for a document.
Share doc, create share, share link, 分享文档, 分享链接, 文档分享, 生成分享链接, make shareable, public link, share file, 创建分享链接, 文件分享, 分享这个文档
docsys repos list to find doc's repository. If docId not provided → ask user or call docsys docs list <vid> to find the document.docsys share-list <vid> <docId>docsys share-create <vid> <docId> [type] [password]| Parameter | Type | Required | Description |
|---|---|---|---|
| vid | number | yes | Repository ID |
| docId | number | yes | Document ID |
| type | number | no | Share type: 0=public (default), 1=password, 2=private |
| password | string | no | Password for type=1 shares |
User: "list share links for document 123"
Skill triggers (list mode) → resolves vid+docId → confirms with user → calls: docsys share-list 1 123
Output: Existing share links with type, date, expiry
User: "create a public share link for document 456"
Skill triggers (create mode) → confirms "Create public share link for [doc name]?" → calls: docsys share-create 1 456
Output: New share URL with warning if public
User: "生成带密码的分享链接"
Skill triggers (create mode, vid+docId unknown)
→ Step 1: docsys repos list → find doc's repository → resolve vid=3
→ Step 2: docsys docs list 3 → find doc named "项目报告.pdf" → resolve docId=456
→ Step 3: ⚠️ Confirm "Create password-protected share for '项目报告.pdf'?" → user confirms
→ Step 4: Prompt user for password (read from terminal, do not log plaintext)
→ Step 5: docsys share-create 3 456 1 <password>
→ Output: Share URL, access type: password-protected, expiry (if set), ⚠️ warn if public
| Field | Type | Description |
|---|---|---|
| url | string | Full share URL |
| type | string | public / password-protected / private |
| created | string | Creation date |
| expires | string | Expiry date (or "never") |
| status | string | active / expired / revoked |
Success --list (EN): Share links for doc {docId}:\n🔗 {url} | {type} | Created: {date} | Expires: {expires} | Status: {status}
Success --list (中文): 文档 {docId} 的分享链接:\n🔗 {url} | 类型: {公开/密码保护/私有} | 创建: {date} | 过期: {expires} | 状态: {有效/已过期}
Success --create (EN): ✅ Share link created: {url} | Type: {type} | Expires: {expires}
Success --create (中文): ✅ 分享链接已创建:{url} | 类型: {type} | 过期: {expires}
Empty list (EN): No share links for doc {docId}. Create one with create-share.
Empty list (中文): 文档 {docId} 没有分享链接。
⚠️ Public warning (EN): ⚠️ This link is publicly accessible without authentication.
⚠️ Public warning (中文): ⚠️ 此链接可公开访问,无需认证。
Error (EN): ❌ {error_message}
Error (中文): ❌ 分享失败:{错误信息}
| Error | Cause |
|---|---|
| Usage: share list/create | Missing arguments |
| Document not found | Invalid vid or docId |
| Permission denied | No access |
| Share creation failed | API error |
createDocShare.do endpoint returns 404 — share creation is not available in v2.02.80share-list works (returns empty list — no shares exist)See references/ for related skills and API docs.