Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Skills 5/6: /skill add and /skill remove, from a folder or a git URL

Đang mở
#1,407 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@AbirAbbas đang làm issue này rồi.

Từ ngày 23/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

area:chat feature

Step 5 of #1277. It lands in the single pull request for #1277 (branch feat/1277-skills).

What

/skill add ~/some/folder                    copies it into ~/.codeaf/skills/<name>/
/skill add ~/some/folder --project          into <project>/.codeaf/skills/<name>/
/skill add https://github.com/o/r           clones, finds every SKILL.md, copies each
/skill add https://github.com/o/r/tree/main/skills/pdf   one folder out of a repo
  • A URL is cloned to a temporary folder with the git on PATH, and the skills are copied out. Nothing in it is executed.
  • A name already present asks before it is overwritten.
  • /skill remove <name> removes only from codeaf's own folders, never from another harness's. It never touches a folder in ~/.codeaf/skills that has no SKILL.md: the resident keeps bin/ and its promoted commands there.

Acceptance, end to end

Real binary in tmux, no network:

  • /skill add <fixture folder> puts ~/.codeaf/skills/<name>/SKILL.md on disk, and the skill appears in the picker and the Skills tab with the codeaf mark.
  • /skill add file:///…/bare.git (a local bare repository holding two skills) copies both.
  • A …/tree/<ref>/<path> URL copies only that folder.
  • /skill remove <name> for a skill that lives only in ~/.claude/skills is refused with a message naming where it lives. ~/.codeaf/skills/bin/ survives every remove.
Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 35 phút
Pull request đã merge (30 ngày)
752

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.