Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)8.3k · #12481

yao-workspace-config

Skill này làm gì

Skill này quản lý cài đặt Git cho một workspace, như tên, email và token truy cập. Dành cho lập trình viên muốn workspace làm việc với dịch vụ lưu trữ Git mà không cần thiết lập thủ công.

Khi nào nên dùng

  • ✓Khi một workspace cần đặt tên và email Git của bạn.
  • ✓Khi bạn muốn lưu một token truy cập cá nhân cho một máy chủ Git.
  • ✓Khi bạn cần nhập một khóa SSH để workspace có thể kết nối với Git.

Liên kết skill

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-workspace-config/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/YaoApp/yao/blob/main/tools/skills/yao-workspace-config/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Đặt tên Git của tôi và thêm token truy cập GitHub của tôi vào workspace này.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent đọc hoặc đặt cài đặt Git cho một workspace, lưu token truy cập cho một máy chủ, và có thể nhập khóa SSH. Các token đã lưu sẽ không được hiển thị khi bạn liệt kê thông tin xác thực.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Workspace Git Config Tools

Manage workspace-level Git configuration, HTTPS credentials, and SSH keys.

workspace_git_config

Get or set workspace-level Git configuration values.

# Get all config
tai tool workspace_git_config '{"workspace_id":"ws-xxx","action":"get"}'

# Get specific key
tai tool workspace_git_config '{"workspace_id":"ws-xxx","action":"get","key":"user.name"}'

# Set config
tai tool workspace_git_config '{"workspace_id":"ws-xxx","action":"set","key":"user.name","value":"John"}'
Parameter Type Required Description
workspace_id string yes Workspace ID
action string yes get or set
key string no Config key (e.g. user.name). Empty returns all.
value string for set Config value

workspace_git_credential

Manage HTTPS Git credentials (personal access tokens).

# Set credential
tai tool workspace_git_credential '{"workspace_id":"ws-xxx","action":"set","host":"github.com","token":"ghp_xxx"}'

# List credentials (tokens are not exposed)
tai tool workspace_git_credential '{"workspace_id":"ws-xxx","action":"list"}'

# Delete credential
tai tool workspace_git_credential '{"workspace_id":"ws-xxx","action":"delete","host":"github.com"}'
Parameter Type Required Description
workspace_id string yes Workspace ID
action string yes set, list, or delete
host string for set/delete Git host (e.g. github.com)
username string no Username (defaults to x-access-token)
token string for set Access token

workspace_ssh_key

Manage SSH keys for Git authentication.

# Import SSH key
tai tool workspace_ssh_key '{"workspace_id":"ws-xxx","action":"import","name":"github","private_key":"-----BEGIN...","host":"github.com"}'

# List SSH keys (private keys not exposed)
tai tool workspace_ssh_key '{"workspace_id":"ws-xxx","action":"list"}'

# Delete SSH key
tai tool workspace_ssh_key '{"workspace_id":"ws-xxx","action":"delete","name":"github"}'
Parameter Type Required Description
workspace_id string yes Workspace ID
action string yes import, list, or delete
name string for import/delete Key name
private_key string for import PEM-encoded private key
public_key string no Public key (derived from private_key if omitted)
host string no Git host to associate (e.g. github.com)
Câu hỏi thường gặp

Token của tôi có bị hiển thị lại cho tôi không?

Không. Liệt kê thông tin xác thực không làm lộ token.

Nó có thể xóa một token đã lưu không?

Có. Có thể xóa một thông tin xác thực cho một máy chủ cụ thể.

Tôi có cần khóa SSH không?

Không nhất thiết. Bạn có thể dùng token HTTPS thay thế, hoặc nhập khóa SSH nếu muốn.

Chi tiết

Mô tả gốc của tác giả

Workspace Git identity and credential management. ALWAYS invoke this skill when the user asks about configuring Git user info, adding HTTPS tokens, importing SSH keys, or managing workspace-level Git authentication.

repo: YaoApp/yao

Độ phổ biến

Sao GitHub
8.3k
Vị trí xếp hạng
#12481
Giấy phép
—
Cập nhật
19/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự