agentleFS
enerageenerage/vibespace/.claude/skills/sync-docs/SKILL.md

sync-docs

Skill1 starsChanged 2 months agoMITView on GitHub

Flush this session's knowledge into the repo's docs and agent memory. Run when the user says "update all docs" or invokes /sync-docs. Docs and memory ONLY — never touch code.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep MEMORY.md index to one line per memory.

    line 36

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “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

Sync docs

You are turning recent work into durable knowledge. DOCS AND MEMORY ONLY — no code changes, no refactors, no "while I'm here" fixes.

Steps

  1. Gather what happened since the last sync.
    • git log --oneline -20 and git diff --stat (whole session if unsure).
    • Recall this session's decisions, surprises, and lessons (including ones from conversation, not just commits).
  2. Update each doc that exists in this repo — skip ones that don't:
    • CHANGELOG.md — new [Unreleased] or version section for user-visible changes since the last entry. One bullet per change, say what + why.
    • DECISIONS.md — append decisions from this session as one line each: - **<topic>** — <choice>. Why: <reason>. (YYYY-MM-DD) Create the file if this is the first decision. Keep it a flat list, no ADR ceremony.
    • CLAUDE.md — only NEW hard-won lessons/gotchas an agent must know (things that cost debugging time or contradict intuition). Don't rewrite what's already there.
    • TODO.md — re-triage: check off done items, add what came up, no essays.
    • README.md — only if features/usage drifted from what it says.
  3. Update agent memory (your persistent memory directory, e.g. ~/.claude/projects/<munged-repo>/memory/):
    • New durable facts about the USER (preferences, how they work) → user/feedback memories with Why + How-to-apply.
    • Ongoing project context not derivable from the repo → project memories.
    • Fix or delete any memory that this session proved wrong.
    • Keep MEMORY.md index to one line per memory.
  4. Commit if this repo uses git: message docs: sync (decisions, changelog, memory) — only doc files + .claude/ files. Never commit code changes made in this step (there shouldn't be any).

Output

End with a short report: which files changed (docs vs memory), 1-line each, and the single most important decision recorded. No preamble, no questions — if a doc is already current, say "X: current" and move on.

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.