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 2/6: /<skill-name> invokes a skill by its own name

Đang mở
#1,404 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 2 of #1277. It lands in the single pull request for #1277 (branch feat/1277-skills).

What

  • Every discovered skill is a slash command by its own name. Skills become a second, dynamic source of commands beside the fixed table in internal/tui3/commands.go. The picker under the draft ranks them among codeaf's own commands, and the dispatcher consults them after the fixed table.
  • /<skill-name> [words] sends the skill's body plus your words as the turn. The transcript shows the line you typed, not the body. If the skill is already in this conversation's context, only your words are sent, and the skill is named as already loaded.
  • codeaf's own commands always win a name. A skill named like one of them is reached with /skill use <name> [words], which does exactly what its own slash would have done.
  • A shadowed or skipped skill is not a command.

Acceptance, end to end

Real binary in tmux, with a fixture skill pdf-processing in ~/.agents/skills and a stub model that records its requests:

  • Typing /pdf shows pdf-processing in the picker, with its description.
  • /pdf-processing extract the tables draws that exact line in the transcript. The model's request carries the SKILL.md body and extract the tables.
  • Sending /pdf-processing again in the same conversation sends only again.
  • A fixture skill named help is not reachable as /help (codeaf's help opens). /skill use help hi sends that skill's body.
  • The manual answers "how do I use a skill?" and names /skill. The command-table gate passes.
Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 37 phút
Pull request đã merge (30 ngày)
755

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.