agentleFS
YipxiyiYipxiyi/OpenArc/skills/change-archive-governance/SKILL.md

change-archive-governance

Skill5 starsChanged 5 months agoMITView on GitHub

Use when maintaining AI-assisted change memory, CHANGELOG_AI.md, docs/archive, historical context retention, archive indexes, or context-budget-aware repository reading in OpenArc repositories.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 12 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when a repository needs AI change memory or archive policy.

    line 8
  2. Distinctive:

    Keep recent AI-assisted changes visible while preserving older history outside the default context path.

    line 12
  3. Very specific:

    Use templates/CHANGELOG_AI.template.md and templates/ARCHIVE_INDEX.template.md when creating new files.

    line 22
  4. Distinctive:

    Keep the last 10-20 entries visible.

    line 30
  5. Distinctive:

    Do not delete historical context.

    line 32
  6. Distinctive:

    Use the smallest context required to safely complete the task.

    line 57
  7. Distinctive:

    Do not automatically load:

    line 59
  8. Distinctive:

    Only load archived context when the task explicitly requires historical investigation.

    line 67
  9. Very specific:

    Check whether docs/CHANGELOG_AI.md and docs/archive/ exist.

    line 71
  10. Distinctive:

    Create missing files from templates when the user asks for setup.

    line 72
  11. Distinctive:

    Add concise recent entries after implementation or documentation work.

    line 73
  12. Distinctive:

    When entries exceed the retention window, move older entries into archive files.

    line 74
  13. Distinctive:

    Update the archive index with path, date range, topic, and when to read.

    line 75
  14. Very specific:

    Do not replace CHANGELOG.md.

    line 80
  15. Very specific:

    Do not make docs/archive/* part of default reading.

    line 81
  16. Distinctive:

    Prefer moving historical context over deleting it.

    line 82

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Change Archive Governance

Use this skill when a repository needs AI change memory or archive policy.

Goal

Keep recent AI-assisted changes visible while preserving older history outside the default context path.

Files

Default files:

  • docs/CHANGELOG_AI.md
  • docs/archive/
  • docs/archive/README.md or docs/archive/ARCHIVE_INDEX.md

Use templates/CHANGELOG_AI.template.md and templates/ARCHIVE_INDEX.template.md when creating new files.

CHANGELOG_AI Rules

docs/CHANGELOG_AI.md contains only recent AI-assisted changes.

Recommended retention:

  • Keep the last 10-20 entries visible.
  • Move older entries to docs/archive/.
  • Do not delete historical context.

Each entry should record:

  • summary
  • changed files
  • key decisions
  • verification
  • remaining work

Archive Rules

Archive old or completed historical context into docs/archive/.

Examples:

  • docs/archive/CHANGELOG_2026_Q2.md
  • docs/archive/TASKS_2026_Q2.md
  • docs/archive/DECISIONS_2026_Q2.md
  • docs/archive/SPEC_editor_deprecated.md

Archived files are not read by default. Load them only for regressions, architectural history, or prior AI decision investigation.

Context Budget Rule

Use the smallest context required to safely complete the task.

Do not automatically load:

  • archived changelogs
  • old completed tasks
  • deprecated specs
  • outdated implementation notes
  • unrelated source files

Only load archived context when the task explicitly requires historical investigation.

Workflow

  1. Check whether docs/CHANGELOG_AI.md and docs/archive/ exist.
  2. Create missing files from templates when the user asks for setup.
  3. Add concise recent entries after implementation or documentation work.
  4. When entries exceed the retention window, move older entries into archive files.
  5. Update the archive index with path, date range, topic, and when to read.
  6. Report what was kept visible and what was archived.

Rules

  • Do not replace CHANGELOG.md; it tracks project releases.
  • Do not make docs/archive/* part of default reading.
  • Prefer moving historical context over deleting it.
  • Preserve existing repository structure and naming when it is coherent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.