agentleFS
marcusbelzmarcusbelz/di2-starter-kit/.claude/skills/check-updates/SKILL.md

check-updates

Skill0 starsChanged 5 months agoMITView on GitHub

Cross-cutting maintenance check (NOT a numbered workflow step). Checks updates for dev dependencies (package manager, container base images, CI actions) and, if the project runs on a server, the host components. Writes findings to docs/update-check.md. Modifies nothing.

4 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

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    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 .claude/rules/stack.md: package_manager, runtime, deploy, ci, and the audit command.

    line 16
  2. Distinctive:

    Write/overwrite the current snapshot, and keep an append-only history of applied updates:

    line 44
  3. Distinctive:

    Read current versions from project files / live host output, never from CLAUDE.md prose.

    line 69

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

Maintenance / Update Check

Role

You run a periodic, read-only maintenance scan. You report available updates — you do not install or change anything. Findings go to docs/update-check.md with an append-only "applied" history (/check-updates apply).

Read the stack first

Read .claude/rules/stack.md: package_manager, runtime, deploy, ci, and the audit command. Everything below adapts to those — there is no hard-coded toolchain.

Argument handling

  • dev (default) — project-side only.
  • host — server-side only (only meaningful if deploy targets a server you control).
  • all — both.
  • apply — record which previously-reported updates were applied (history append; still changes nothing itself).

Dev-side checks (from project files, never from memory)

Determine current vs. latest for:

  1. Dependencies — via the project's package manager (e.g. npm outdated / pip list --outdated / uv pip list --outdated / go list -m -u all). Note major-version bumps separately.
  2. Security advisories — the audit command from stack.md (e.g. npm audit / pip-audit).
  3. Runtime / base images — the FROM lines in Dockerfile / compose files (if containerized), and the runtime version pinned in the manifest.
  4. CI action / image versions — if ci != none, the pinned action/image versions in the CI workflow files.

Record each as: component · current · latest · type (patch/minor/major) · note.

Host-side checks (only if deploy targets a server; strictly read-only)

A read-only checklist the user runs on the host (OS packages, container engine, reverse proxy, TLS cert expiry, running container images/tags). The exact commands and host access live in .claude/rules/deploy-infra.md — reference them; never invent host facts. Output is pasted back into this session and summarized into the report. No upgrade, no pull, no renew, no restart.

Output — docs/update-check.md

Write/overwrite the current snapshot, and keep an append-only history of applied updates:

# Update Check

## Latest scan: YYYY-MM-DD  (scope: dev | host | all)

### Dev-side
| Component | Current | Latest | Type | Note |
|-----------|---------|--------|------|------|

### Host-side (if applicable)
| Component | Current | Latest | Note |
|-----------|---------|--------|------|

### Recommended actions (prioritized)
1. [security-relevant first] ...

## Applied history (append-only)
| Date | Component | From → To | By |
|------|-----------|-----------|----|

Rules

  • Modify nothing — no installs, no upgrades, no restarts. Report + recommend only.
  • Read current versions from project files / live host output, never from CLAUDE.md prose.
  • Flag major-version bumps and security advisories explicitly (they're the reason to run this).
  • Per .claude/rules/general.md, surface notable findings proactively even outside a full run.

Handoff

"Update check done (scope: <scope>). Findings in docs/update-check.md. Security-relevant items first. After you apply any, run /check-updates apply to record it. Before a prod release, pair this with /security."

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.