Chuyển đến nội dung
Skillpedia
Agent5.2k · #15019

capabilities-manage

Skill này làm gì

Skill này hướng dẫn agent quản lý các tính năng của Kode thông qua chính các lệnh của Kode, thay vì các bước thủ công dài. Skill dành cho người dùng công cụ dòng lệnh Kode và muốn các tính năng được thiết lập sẵn cho mình.

Khi nào nên dùng

  • ✓Khi bạn muốn bật hoặc tắt một tính năng của Kode.
  • ✓Khi một tính năng Kode như thanh trạng thái không hoạt động và bạn muốn sửa.
  • ✓Khi bạn muốn agent kiểm tra và thay đổi cài đặt của chính Kode cho bạn.

Liên kết skill

https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/capabilities-manage/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/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/capabilities-manage/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

“Bật language server cho TypeScript trong Kode và kiểm tra xem nó có hoạt động không.”

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

Cách hoạt động

Agent xem các cài đặt hiện tại, áp dụng thay đổi bằng các lệnh của chính Kode, rồi kiểm tra kết quả bằng một thao tác thật nhỏ.

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.

Capabilities Manage

Goal

Make users manage Kode features by expressing intent (“enable LSP for TS”, “fix my statusline”) while the agent performs the necessary actions via the agent CLI.

Rules (do not violate)

  • Do not output “installation menu” scripts or long lists of install commands.
  • Prefer SlashCommand to run Kode commands (/statusline, /lsp, /plugin ...) instead of asking the user to do it manually.
  • Keep changes minimal and reversible; verify after each change.

Workflow

  1. Clarify which capability: statusline / lsp / output-style / plugins (or multiple).
  2. Inspect current state with minimal friction:
    • Read settings files (~/.kode/settings.json, .kode/settings.local.json).
    • For interactive status screens, ask the user to open them (single step): /lsp, /output-style.
  3. Apply changes:
    • statusline: create a Task with subagent_type statusline-setup (do not ask the user to memorize the command).
    • lsp: ensure a plugin provides .lsp.json mappings; manage via /plugin, then re-check via /lsp screen.
    • output styles: set outputStyle in settings (or ask the user to choose via /output-style); for edits, edit the output style markdown file and then re-check /output-style.
  4. Verify: re-check status screens and run a minimal real operation.

Capabilities audit (recommended for /capabilities)

Keep this fast and low-friction: default output should be a short checklist and only one question when a choice is required.

  1. Read current settings (best effort):
    • ~/.kode/settings.json (global)
    • .kode/settings.local.json (project, if present)
  2. Produce a compact checklist (OK / Needs attention) for:
    • Statusline: global settings.json contains statusLine.
    • Output style: either settings file contains a non-empty outputStyle string.
    • Plugins & LSP readiness: mention that LSP is plugin-driven; if the user cares, ask them to open /lsp (single step) to confirm resolved servers.
    • Permission friction: if the user reports unexpected denials/repeated prompts, invoke the permissions-debug skill.
  3. Auto-fix what you can safely:
    • Statusline: if requested, create a Task with subagent_type statusline-setup (do not ask the user to memorize the command).
    • Output style: set outputStyle in .kode/settings.local.json (project) or ~/.kode/settings.json (global) and re-read to verify.
  4. Verify each fix immediately by re-reading the changed file(s) and summarizing what changed.
Câu hỏi thường gặp

Agent có tự sửa tệp cài đặt của tôi không?

Nó có thể đọc các tệp cài đặt và chỉnh sửa khi cần, giữ mỗi thay đổi nhỏ và dễ hoàn tác.

Nó có sửa thanh trạng thái giúp tôi không?

Có. Nó giao việc thiết lập thanh trạng thái cho một tác vụ thiết lập chuyên dụng, nên bạn không cần tự gõ lệnh.

Agent kiểm tra gì sau khi thay đổi?

Nó kiểm tra lại màn hình trạng thái của tính năng và chạy một thao tác thật nhỏ để xác nhận nó hoạt động.

Chi tiết

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

Kode capability-management playbook: treat features (LSP, statusline, output styles, plugins, notifications) as configurable capabilities and drive changes through the agent CLI (SlashCommand/Task) instead of pushing users into menu-like flows. Use when the user asks to enable/disable/configure a capability, diagnose why it’s off, or wants the agent to self-manage Kode’s own features (meta capability management).

repo: shareAI-lab/Kode-CLI

Độ phổ biến

Sao GitHub
5.2k
Vị trí xếp hạng
#15019
Giấy phép
Apache-2.0
Cập nhật
2/11/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ự