Memory Ci Capture

basicmachines-co/basic-memory/skills/memory-ci-capture

作者 basicmachines-cob941460b4d99480fa2eb1a230a62d2847927ea05无许可证4.1K 个星标收录于 2026年10月9日更新于 2026年10月9日仓库今天更新

Synthesize GitHub delivery context into a concise Basic Memory project update. Use in CI after `bm ci collect` prepares a ProjectUpdateContext; return only structured AgentSynthesis JSON for `bm ci publish`.

AI 生成的概览

将 GitHub CI 交付上下文综合为简洁的结构化项目记忆更新,供 Basic Memory 使用。

功能
该技能读取由 bm ci collect 生成的 ProjectUpdateContext JSON 文件,并将其综合为简短的项目记忆更新。它只返回符合 AgentSynthesis 结构的 JSON,字段包括 summary、why_it_matters、user_facing_changes、internal_changes、verification、follow_ups、decision_candidates 和 task_candidates。它设计用于 CI 中,在收集之后、bm ci publish 之前运行,语气保持事实性而非宣传性。
适用场景
适用于 CI 流水线中 bm ci collect 已准备好项目更新上下文之后,需要将已合并的拉取请求或生产部署记录为项目记忆的场景。适合希望获得简洁、基于证据的交付说明而非逐提交变更日志的团队。
运行要求
需要由 bm ci collect 生成的 ProjectUpdateContext JSON 文件,路径为 .github/basic-memory/project-update-context.json,其输出由 bm ci publish 使用。该技能不附带脚本,仅为指令。

Memory CI Capture

Turn a meaningful GitHub delivery moment into project memory. GitHub records the mechanics. Basic Memory remembers what changed and why.

Inputs

Read the ProjectUpdateContext JSON produced by bm ci collect at .github/basic-memory/project-update-context.json. Treat it as the immutable source of truth for repository, event type, PR number, workflow run, SHA, source URL, timestamps, and deployment environment.

Do not invent tests, deploy checks, linked issues, product impact, or decisions. If evidence is absent, say so briefly in verification or leave the field empty.

Output

Return only JSON matching the AgentSynthesis shape:

json
{  "summary": "What changed.",  "why_it_matters": "Why this update matters for future humans and agents.",  "user_facing_changes": [],  "internal_changes": [],  "verification": [],  "follow_ups": [],  "decision_candidates": [],  "task_candidates": []}

Synthesis Rules

  • Prefer a short explanation over a commit-by-commit changelog.
  • Preserve intent, changed behavior, source links, verification evidence present in the context, and concrete follow-ups.
  • Put explicit product or architecture decisions in decision_candidates only when the source context clearly contains them.
  • Put future work in task_candidates only when it is concrete enough to act on.
  • Keep the tone factual and useful. This is project memory, not marketing copy.

Event Guidance

For merged pull requests, focus on why the PR existed, what area changed, what issues it advanced or closed, and what verification evidence appears in the context.

For production deploys, focus on what reached production, the deployed SHA, environment, workflow run, and verification evidence. Do not overclaim success beyond the workflow and source facts.

来源与署名

来源:basicmachines-co/basic-memory位于skills/memory-ci-capture提交b941460

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架