Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/RainyGao-GitHub/DocSys --skill user-login명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | user_login |
| description | Login to DocSystem with username and password |
| category | user |
| version | 1.1.0 |
| author | DocSys Team |
| permissions | ["auth"] |
| tags | ["auth","login","session","security","credential"] |
Login to DocSystem with username and password.
Login, 登录, 用户登录, sign in, 登入, 登录系统, log in, authenticate, 账号登录, 进入系统, log me in
username and password from user input.docsys login <username> <password>docsys login <username> <password>
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | yes | Username |
| password | string | yes | Password |
User: "login as admin with password password123"
Skill triggers → calls: docsys login admin password123
Output: Login success with user info
User: "登录 zhangsan mypassword"
Skill triggers → calls: docsys login zhangsan mypassword
Output: 登录结果
User: "log me in as admin"
Skill triggers → Step 1 extracts username=admin; Step 2 detects password is missing → prompts user: "Please enter your password:" → user supplies password → calls: docsys login admin <password>
Output: Login success with username, role, session status. Password never echoed.
| Field | Type | Description |
|---|---|---|
| username | string | Authenticated username |
| role | string | User role (e.g., admin, user) |
| session | string | Session status: active / expired |
| logged_in_at | string | Login timestamp |
Success (EN): ✅ Logged in as {username} (role: {role}) | Session: active | Logged in at: {timestamp}
Success (中文): ✅ 登录成功: {username}(角色: {role})| 会话: active | 登录时间: {timestamp}
Error (EN): ❌ Login failed: Invalid credentials. Check your username and password.
Error (中文): ❌ 登录失败:用户名或密码错误。
Account locked (EN): ❌ Account locked due to too many failed attempts. Try again in 15 minutes or contact admin.
Account locked (中文): ❌ 账户因多次登录失败已被锁定。请 15 分钟后再试,或联系管理员。
Account disabled (EN): ❌ Account disabled. Contact admin to re-enable.
Account disabled (中文): ❌ 账户已被禁用。请联系管理员重新启用。
Connection failed (EN): ❌ Cannot connect to DocSystem server. Check network and try again.
Connection failed (中文): ❌ 无法连接到 DocSystem 服务器。请检查网络连接。
Missing args (EN): Usage: login <username> <password>
Missing args (中文): 用法: login <用户名> <密码>
⚠️ Security: Never display the password in the response. Never distinguish "wrong username" vs "wrong password" — use generic "Invalid credentials".
| Error | Cause |
|---|---|
| Usage: login | Missing arguments |
| Invalid credentials | Wrong username or password |
| Account locked | Too many failed attempts |
| Account disabled | User deactivated |
| Connection failed | Server unreachable |
See references/ for related skills and API docs.