agentleFS
GoodsmileduckGoodsmileduck/agents-md-orchestrator/.claude/skills/refresh-best-practices/SKILL.md

refresh-best-practices

Skill0 starsChanged 6 months agoMITView on GitHub

Check whether the official Claude Code and Codex best-practices docs have changed since the digests in best-practices/ were last refreshed, report the differences, and update the digests on approval. Use when the user asks to refresh best practices, check for doc updates, asks "are the digests current?", or before a large audit run when the digests are more than a month old.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Update the Last refreshed: stamp to today.

    line 37
  2. Distinctive:

    Flag downstream impact: if changed guidance invalidates advice already propagated to managed projects, list which audit findings should be …

    line 38
  3. Distinctive:

    Never update a digest without showing the substantive changes first (stamp-only updates after a no-change check are fine).

    line 44
  4. Distinctive:

    If a fetch fails or redirects, report it rather than silently keeping the old digest.

    line 48

≈ “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

Refresh Best Practices

Compare the live vendor docs against the local digests and update them on approval. The digests are the audit yardstick — stale digests mean audits enforce outdated guidance.

Sources and targets

Live docLocal digest
https://code.claude.com/docs/en/memory (primary)best-practices/claude-code.md
https://code.claude.com/docs/en/best-practicesbest-practices/claude-code.md
https://developers.openai.com/codex/learn/best-practicesbest-practices/codex.md
https://developers.openai.com/codex/guides/agents-mdbest-practices/codex.md

Workflow

  1. Read both digests and note their Last refreshed: dates.
  2. Fetch both live docs (WebFetch, in parallel). Prompt for: all guidance on writing memory/instructions files — recommended content, structure, length, anti-patterns, maintenance signals — plus any new features that change where guidance belongs (e.g. skills vs memory file vs hooks).
  3. Compare fetched content against each digest. Classify findings:
    • New guidance — advice the digest doesn't cover
    • Changed guidance — advice that contradicts the digest
    • Removed guidance — digest content no longer in the docs
    • Cosmetic — rewording with no substantive change (ignore)
  4. Report the findings per digest. If nothing substantive changed, say so, update only the Last refreshed: stamps, and stop.
  5. On approval, rewrite the affected digest(s): keep them ≤1 page, actionable, structured as include/exclude lists plus maintenance signals. Update the Last refreshed: stamp to today.
  6. Flag downstream impact: if changed guidance invalidates advice already propagated to managed projects, list which audit findings should be revisited (check PROJECTS.md audit log if present).

Rules

  • Never update a digest without showing the substantive changes first (stamp-only updates after a no-change check are fine).
  • Digests are distillations in this project's own words — do not paste large verbatim excerpts from the vendor docs.
  • If a fetch fails or redirects, report it rather than silently keeping the old digest; the URL may have moved and AGENTS.md needs updating.

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.