Repository navigation
feat: 支持 workbuddy agent 集成(skill 承载) - #4
Merged
Merged
Conversation
- 新增 workbuddy 模板(skill.md + README.md),skill 写入 ~/.workbuddy/skills/mex/SKILL.md(global)或 ./.workbuddy/skills/mex/SKILL.md(project) - services.integrate 的 SKILL_FILE_LAYOUT 改为按 agent 区分:workbuddy 的 base 本身就是 skill 根目录,skill 直接落 mex/SKILL.md(无 skills/skills 嵌套) - AgentName/AGENT_TARGETS/_SUPPORTED_AGENTS/_next_steps 同步支持 workbuddy - 测试覆盖 workbuddy 生成布局、占位符替换、global 目标目录(592 全绿)
MickLife
force-pushed
the
feat/workbuddy-integration
branch
from
August 20, 2026 07:57
61a1d2f to
3b99b51
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
meX 需要接入 WorkBuddy。延续上一轮已合入的决策(ADR-12:skill 承载读写、不用 MCP、不做 hooks),
为 WorkBuddy 生成标准 SKILL.md,教其用 mex CLI 读写记忆。
改动
src/mex/integration/workbuddy/):skill.md(标准 SKILL.md,frontmattername: mex+ description,正文六条规则:profile 加载背景 / search 时敏召回 / search 定向检索 /extract+add 即时写 / 写作原则 / 不频繁写,与 opencode 版一致)+ README.md(对接步骤)。
AgentName/AGENT_TARGETS增加 workbuddy:global →~/.workbuddy/skills,project →./.workbuddy/skills;SKILL_FILE_LAYOUT改为按 agent 区分的 dict——claude/opencode 落skills/mex/SKILL.md(base 为配置根目录),workbuddy 落
mex/SKILL.md(base 本身就是 skill 根目录,避免skills/skills嵌套)。_SUPPORTED_AGENTS/_next_steps支持 workbuddy。~/.workbuddy/skills/mex/SKILL.md)。验证
ruff check通过mex integrate workbuddy --scope project生成./.workbuddy/skills/mex/SKILL.md+ README,frontmatter 正确、
{{MEX_HOME}}/{{DB_PATH}}占位符全部替换说明
~/.local/bin/mex符号链接指向旧项目/Users/wzm/workspace/mex/.venv/bin/mex(无 workbuddy 支持),需使用当前项目
.venv/bin/mex或重建链接。