一键导入
memory-consolidate
回合末或 master 说「记住」时,将 1–3 条可检索事实写入 memory_entries(memory_upsert),文件 MEMORY.md 仅保留纲领。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
回合末或 master 说「记住」时,将 1–3 条可检索事实写入 memory_entries(memory_upsert),文件 MEMORY.md 仅保留纲领。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | memory-consolidate |
| description | 回合末或 master 说「记住」时,将 1–3 条可检索事实写入 memory_entries(memory_upsert),文件 MEMORY.md 仅保留纲领。 |
| tools | ["memory_upsert","memory_search"] |
memory_search 查重,避免重复写入同 key。memory_upsert 写入 1–3 条,每条:
key:稳定标识,如 capability:hard_orchestration_v1、preference:languagecontent:一句可检索事实(≤200 字)scope:默认 global;会话专属用 sessionsource:skill:memory-consolidatedata/memory/global/MEMORY.md;纲领性架构说明才写文件层。memory_upsert(
key="capability:hard_orchestration_v1",
content="shipped",
scope="global",
tags=["l4","orchestration"]
)
Implement Zhin.js plugins with the standard development workflow. Use when asked to create a plugin, add commands, middleware, event hooks, components, cron jobs, Contexts, AI tools, AI skills, AI agent presets, config schema, database, router, or web console integration, or follow the recommended Zhin plugin development pattern. 适用于 Zhin 插件标准开发姿势实现、插件功能落地、命令与 Context 接入。
初始化 Zhin.js 插件项目。Use when asked to create a new plugin, scaffold plugin structure, or set up a plugin project. 引导生成符合 Zhin 规范的目录结构、package.json、tsconfig、入口文件和 README。
Audit Zhin.js monorepo for security vulnerabilities, performance bottlenecks, and architecture issues. Use when asked to "audit code", "check security", "find performance issues", "review architecture", "scan for vulnerabilities", "check memory leaks", or "review code quality".
Implement Zhin.js plugin features: commands, AI tools, cron jobs, middleware, and console pages. Use when asked to add a command, register a tool, wire cron, extend middleware, or build a console page entry. Triggers: 插件开发, add command, addTool, 加命令, 写插件功能.
Refactor existing Zhin.js plugins into a cleaner standard structure. Use when asked to reorganize plugin files, split commands or services, migrate a messy plugin to standard layout, reduce coupling, clean lifecycle logic, or standardize plugin structure without changing behavior. 适用于已有 Zhin 插件重构、结构整理、职责拆分与标准化迁移。
Prepare GitHub issues, pull requests, reviews, and release notes for Zhin projects. Use when asked to write an issue, PR description, changelog entry, or review comment. Triggers: 写 issue, PR 描述, 提 PR, release notes, gh pr.