Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Skills 2/6: /<skill-name> invokes a skill by its own name

未关闭
#1,404 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@AbirAbbas 已经在做这个了。

开始于 2026年9月23日。

评估

这个 Issue 还没有评估数据。

描述

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.
主要语言
Go
星标
115
派生
14
平均合并
11 小时 32 分钟
30 天内合并 PR
747

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Agent-Field/CodeAF 的其他 Issue

查看 Agent-Field/CodeAF 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。