Chuyển đến nội dung
Skillpedia
Lập trình chung53k · #3374

code-mate-claude-code

Skill này làm gì

Công cụ này chạy Claude Code để phân tích hoặc tạo mã. Nó có thể dùng cho những tác vụ lập trình mà bạn sẽ giao cho một đồng nghiệp.

Khi nào nên dùng

  • ✓Khi bạn muốn AI phân tích mã trong một dự án.
  • ✓Khi bạn yêu cầu AI triển khai một tính năng cụ thể.
  • ✓Khi bạn muốn so sánh kết quả của AI với một chương trình khác.

Liên kết skill

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-claude-code/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/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-claude-code/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

“Claude, phân tích mã này và cho tôi biết có lỗi nào không.”

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

Cách hoạt động

Công cụ thiết lập đúng vị trí cho dự án của bạn và chạy Claude Code với hướng dẫn của bạn. Nó chờ phản hồi dạng văn bản và hiển thị kết quả cho bạn.

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.

Claude Code

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v claude. If it is missing, stop and ask the user to install Claude Code in Code Mate.
  3. Run one task and exit:
claude -p "<prompt>" --output-format json

Pass the prompt as one quoted argument. Parse the JSON result and report stderr and the exit status on failure. Never start the interactive REPL or /login flow.

Authentication And Permissions

If Claude reports missing login, API credentials, or provider configuration, stop and ask the user to finish Claude Code setup in Code Mate. Never request, read, print, or copy credentials.

Keep tool access read-only by default. Add only the smallest necessary --allowedTools entries when the task explicitly requires tools, and grant edit or shell tools only when the user explicitly requested workspace changes. Do not use a permission-bypass mode.

Example: for a review request, ask Claude to inspect the current repository without changing files, run the command above, then summarize the parsed JSON result.

Câu hỏi thường gặp

Điều gì xảy ra nếu Claude Code chưa được cài đặt?

Công cụ sẽ thông báo bạn cần cài Claude Code trong Code Mate.

Nếu AI cần đăng nhập hoặc cấu hình thì sao?

Công cụ sẽ yêu cầu bạn hoàn tất thiết lập Claude Code trong Code Mate.

Công cụ có thể thay đổi tệp của tôi không?

Mặc định, nó chỉ đọc tệp của bạn. Nó chỉ thay đổi nếu bạn yêu cầu rõ ràng và có quyền phù hợp.

Chi tiết

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

Runs Claude Code non-interactively for code analysis and implementation tasks. Use when the user asks to delegate repository work to Claude Code or compare its result with another coding agent.

repo: CherryHQ/cherry-studio

Độ phổ biến

Sao GitHub
53k
Vị trí xếp hạng
#3374
Giấy phép
AGPL-3.0
Cập nhật
15/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ự