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 從公開儲存庫中收錄這些內容。

檢舉或申請下架