agentleFS
lrstanleylrstanley/skills/.agents/skills/upstream-sync/SKILL.md

upstream-sync

Skill1 starsChanged 14 days agoMITView on GitHub

Checks upstream repos and packages referenced by the skills (github.com/lrstanley first, then other libraries and tools) for new features, changes, and deprecations, and updates skill docs to match. Use when asked to sync, refresh, or audit skills against upstream changes.

9 other projects use a version of this.

Adopted by

Most recently taken up by

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 9 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:

    Read the full diff only for files that matter: exported API, README, docs/, examples/, config, CLI flags.

    line 25

“Common” is measured: kept by at least 6 in 10 of the 9 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

Upstream sync

Repo-only (not shipped in the plugin). Keeps skills/ current with the projects it documents.

State: .upstream-sync.json at the repo root (gitignored). Map of <owner/repo> to {"sha": "<last checked commit>", "tag": "<last release>", "checked": "<ISO date>"}. Missing file or entry means first run for that repo: use the latest release (or last ~30 commits) as the baseline instead of reading all history.

Steps

  1. Collect references: grep skills/ and README.md for github.com/<owner>/<repo> and Go import paths (go.dev/pkg.go.dev links, import blocks). Dedupe to a repo list. Do lrstanley/* first, then the rest. Skip lrstanley/skills, and skip skills synced via remotes.yaml (use task up for those).
  2. Cheap check per repo (parallelize; use gh api):
    • Compare HEAD sha and latest release tag to state. Unchanged: skip.
    • Changed: gh api repos/<o>/<r>/compare/<old>...HEAD --jq '.files[].filename' (names only), plus release notes (gh release list / gh release view) and CHANGELOG/README diffs.
    • Read the full diff only for files that matter: exported API, README, docs/, examples/, config, CLI flags. Ignore tests, CI, deps bumps, and internal refactors.
  3. Decide per finding whether it belongs in a skill. Cover new public APIs/features, behavior or best-practice changes, and renames. Fix or remove docs for deprecated or removed APIs. Skip anything already documented or too minor for a skill.
  4. Edit the owning skill, following AGENTS.md (progressive disclosure, reference file sizes, ASCII only, README table if scope changes). Verify new APIs against pkg.go.dev or source before documenting.
  5. Save state for every repo checked (including no-change ones) only after its edits are done. Never commit.

Output

Per repo: one line (unchanged, or what was added/changed/removed and in which file). Then list anything uncertain that needs a human decision.

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.