engram-plugin-thin

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When to Use

适用场景

Use this skill when:
  • Editing plugin hooks/scripts/adapters
  • Adding passive/active memory capture integrations
  • Wiring agent-specific setup behavior

在以下场景使用本skill:
  • 编辑插件钩子/脚本/适配器
  • 添加被动/主动内存捕获集成
  • 配置Agent专属的初始化行为

Boundary Rules

边界规则

  1. Keep adapters thin: parse input, call API/tool, return.
  2. Put complex logic in Go core (
    store/server/mcp
    ).
  3. Avoid extra runtime dependencies in plugin scripts.
  4. Reuse a shared contract across all supported agents.

  1. 保持适配器轻量化:仅负责解析输入、调用API/工具、返回结果。
  2. 将复杂逻辑放在Go核心模块(
    store/server/mcp
    )中。
  3. 插件脚本中避免额外的运行时依赖。
  4. 在所有受支持的Agent之间复用统一的契约。

Compatibility Checklist

兼容性检查清单

  • Claude Code flow still works
  • OpenCode flow still works
  • Gemini/Codex config paths remain valid
  • Docs reflect real integration behavior
  • Claude Code 流程仍可正常运行
  • OpenCode 流程仍可正常运行
  • Gemini/Codex 配置路径保持有效
  • 文档与实际集成行为一致