Skip to content
Skills Library
Documents & office · Writing

curating-repository-memory

/curating-repository-memory

Use when a delivery cycle produced durable knowledge that should be preserved in canonical repository memory

Licence
MIT
Last repository change
26.06.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when a delivery cycle produced durable knowledge that should be preserved in canonical repository memory

Original author description

Use when a delivery cycle produced durable knowledge that should be preserved in canonical repository memory

How it works

  1. Overview
  2. When to Use
  3. The Process
  4. Quality Bar
  5. Outputs
  6. Integration
Original SKILL.md headings · 73 lines, 400 words
SKILL.md preview
---
name: curating-repository-memory
description: Use when a delivery cycle produced durable knowledge that should be preserved in canonical repository memory
---

# Curating Repository Memory

## Overview

Turn durable insights from requirements, design, implementation, and review into canonical repository memory.

**Core principle:** Preserve durable knowledge, not work logs.

This skill chooses the right memory document type and updates existing memory before creating new noise.

## When to Use

Use when:
- a delivery cycle created durable knowledge worth preserving
- a major refactor changed module boundaries or contracts
- a review revealed a stable recurring pitfall
- a team wants to backfill durable memory from existing specs, plans, designs, or reviews

Do not use when:
- ephemeral task notes
- raw implementation logs
- purely local trivia that has no future reuse value

## The Process

Inputs this skill can consume:

- `spec_path`
- `context_path` when available
- `design_path` when available
- `plan_path`
- `plan_review_path` when available
- `code_review_path` when available
- changed paths or diff range
- at least one formal commit id
- existing repository memory docs

1. Read the current cycle artifacts and existing memory in the affected area.
2. Identify durable candidates worth preserving.
3. Pick the right doc type deliberately.
4. Update existing docs before creating new files.
5. Record doc gaps, rejected candidates, and uncertainties explicitly.
6. Save a memory update report.

Choose doc types deliberately:

- **module card**: reusable module boundary, responsibility split, or entrypoint map changed
- **contract doc**: state rule, schema, interface, producer-consumer rule, or compatibility constraint changed
- **decision**: a non-obvious technical choice with future reuse value was made
- **runbook**: a verification, rollout, migration, or recovery sequence became reusable
- **lesson**: a stable cross-task rule or recurring pitfall deserves a durable reminder

## Quality Bar

- Prefer updating existing docs over creating duplicates.
- Tie every durable update back to at least one formal commit id.
- Keep doc gaps explicit instead of hiding them.
- Do not promote claims that cannot be tied to concrete artifacts.
- Return `no_memory_update` when nothing truly durable qualifies.

## Outputs

Write or update canonical docs under `docs/superpowers/memory/` and save a report under `docs/superpowers/memory/reports/`.
Use [memory-doc-types.md](references/memory-doc-types.md), [memory-update-report-template.md](references/memory-update-report-template.md), and [return-contract.md](references/return-contract.md).

## Integration

- Usually runs after implementation and review, before branch-finishing work
- Usually invoked after `executing-plans`, code review, or debugging work produced durable knowledge
- Updates the canonical memory initialized by `bootstrapping-repository-memory`
- Should run before `finishing-a-development-branch` presents merge or cleanup options when the cycle changed stable module boundaries, contracts, decisions, runbooks, or lessons
Files in this package (4)
  • SKILL.md 3 KB
  • references/memory-doc-types.md 1 KB
  • references/memory-update-report-template.md 1 KB
  • references/return-contract.md 1 KB

Versions

The database has no other skills named curating-repository-memory.

Database snapshot: 13.11.2026 · package version 369a94f265e0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90bootstrapping-repository-memory
    Use when a repository or subsystem lacks usable canonical memory and needs an initial memory baseline
  • 90project-memory
    Use when working in a repository that keeps durable project context, cross-session memory, incident history, decisions, or agent state across Claude, Codex, and later sessions.
  • 100lore
    Curating cross-agent knowledge and institutional memory: extracts patterns from agent journals into METAPATTERNS.md, detects knowledge decay, propagates best practices. Use for memory curation.
  • 95ai-memory-durable-pages
    Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or annotation, updating a note, or deleting a memory page. Trigger by semantic intent rather than exact wording; routine session capture is not a durable-page request.
  • 81memory-ingest
    Capture durable session knowledge in the Codex project memory bundle when the user asks to remember it or a durable finding emerges.
  • 100notion-knowledge-capture
    Captures conversations and supplied notes as Notion wiki pages, how-to guides, FAQs, decision records, or retrospectives. Use when saving or updating durable knowledge from existing context; use research-documentation when new source discovery and synthesis is the main task.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.