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

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

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

维护者通常 1 天内回复

@AbirAbbas 已经在做这个了。

开始于 2026年9月23日。

评估

这个 Issue 还没有评估数据。

描述

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

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 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 摘要。