feat(skill): G6.4 行為層包與 CLI(init/keygen/print-config/status) - #21
Merged
Merged
Conversation
- feat(skill): 新增 packages/skill(@mebular/skill):SKILL.md(frontmatter name=mebular-memory+whenToUse)、MEMORY_POLICY.md、mcp/{opencode,claude,cursor,dsh.cordis,generic}、scripts/install.mjs
- feat(skill): install.mjs 探測 .agents/skills / .dsh/skills / .opencode/skills / ~/.agents/skills,支援 --target/--global
- feat(cli): init(config.json + 主密鑰,不覆蓋既有)、keygen、print-config --client、status
- test(skill): scripts/verify-mcp-skill.mjs(E1:包內容/CLI/install);agent 實機對話為 E2
- ci: build-test-lint job 增 Skill/CLI 步驟
對應 goal-v0.1.md G6.4 與 project-status.md D43。
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.
G6.4 行為層 + 全 agent
內容
@mebular/skill(packages/skill)SKILL.md:frontmattername=mebular-memory+whenToUse,11 工具用法與「先查後寫」工作流MEMORY_POLICY.md:先查後寫/類型選擇/時效/隱私/關係/無結果別編mcp/{opencode,claude,cursor,dsh.cordis,generic}:各客戶端接入片段(DSH 只橋接 Tools)scripts/install.mjs:探測並安裝到.agents/skills、.dsh/skills、.opencode/skills、~/.agents/skills;支援--target/--globalpackages/mcp/bin/mebular.mjs):init、keygen、print-config --client、statusbuild / test / lint新增npm run verify:mcp:skill步驟驗證(E1)
npm run verify:mcp:skill退出碼 0npm run verify0–6 全綠E2(人工,不影響 E1)
opencode / Claude Code+Desktop / Cursor / DeepSeek Harness 實機接入後走通「提問→召回→寫入」。
依
docs.design/goal-v0.1.mdG6.4;決策 D43。