Skills 2/6: /<skill-name> invokes a skill by its own name
维护者通常 1 天内回复
@AbirAbbas 已经在做这个了。
开始于 2026年9月23日。
评估
这个 Issue 还没有评估数据。
描述
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
/pdfshowspdf-processingin the picker, with its description. /pdf-processing extract the tablesdraws that exact line in the transcript. The model's request carries theSKILL.mdbody andextract the tables.- Sending
/pdf-processing againin the same conversation sends onlyagain. - A fixture skill named
helpis not reachable as/help(codeaf's help opens)./skill use help hisends 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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Agent-Field/CodeAF 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
Agent-Field/CodeAF#1679 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
Agent-Field/CodeAF#1678 ·
维护者通常 1 天内回复
-
area:chat bug sev:papercut
难度 2/5 1-3 小时 新手友好度 86/100
Agent-Field/CodeAF#1592 ·
维护者通常 1 天内回复
-
area:chat feature
难度 2/5 1-3 小时 新手友好度 88/100
Agent-Field/CodeAF#1510 ·
维护者通常 1 天内回复
-
area:tests bug
难度 2/5 1-3 小时 新手友好度 82/100
Agent-Field/CodeAF#1489 ·
维护者通常 1 天内回复
查看 Agent-Field/CodeAF 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
status: ready for dev
难度 1/5 1-3 小时 新手友好度 92/100
hyperledger-labs/fabric-smart-client#2004 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
apache/datasketches-go#189 ·
维护者通常 1 天内回复