agentleFS
cyanheadscyanheads/git-mcp-server/skills/maintenance/SKILL.md

maintenance

Skill240 starsChanged 14 months agoApache-2.0View on GitHub

Investigate, adopt, and verify dependency updates. Captures what changed, understands why, cross-references against the codebase, and runs final checks. Supports two entry modes: run the full flow end-to-end, or review updates you already applied.

  • Reads credentials

8 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, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    After running bun update --latest yourself and wanting to review the impact (Mode B — typical)

    line 13
  2. Very specific:

    Use WebFetch or Bash + curl (for full content) against the package's GitHub releases or CHANGELOG.

    line 63
  3. Distinctive:

    Keep diffs focused. Don't sweep refactors beyond the update's scope.

    line 74

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

When to Use

  • After running bun update --latest yourself and wanting to review the impact (Mode B — typical)
  • To run the whole flow end-to-end — outdated check → update → investigate → adopt → verify (Mode A)

Entry Modes

ModeStarting PointFirst Step
A — Full flowLockfile is current; want to updateStep 1
B — Post-update reviewUser already ran bun update --latest + bun run rebuild + bun testSkip to Step 3 with the update output or git diff bun.lock

Both modes converge at Step 3 and end at Step 6.

Steps

1. Survey what's outdated (Mode A only)

bun outdated

Note: bun update --latest crosses semver majors; bun update alone respects ranges. Use --latest unless a package is intentionally pinned.

2. Apply the update (Mode A only)

bun update --latest

Capture the ↑ package old → new lines from stdout — these feed Step 3. Alternatively, git diff bun.lock surfaces version deltas after the fact.

3. Investigate changelogs

For each updated package, fetch the release notes or CHANGELOG entries between old and new versions, then cross-reference changes against actual imports in src/. Output per package: what changed, impact on this project, action items.

Focus on packages this server directly depends on:

PackageImpact Check
@modelcontextprotocol/sdkProtocol version bumps, breaking handler signatures, new capabilities
hono / @hono/node-server / @hono/mcpHTTP transport API changes, middleware signatures
@opentelemetry/*Instrumentation contract changes, exporter config
tsyringe / reflect-metadataDI container behavior, decorator semantics
joseJWT/JWKS verification API
pino / pino-prettyLogger API, transport config
zodSchema API (e.g., v3 → v4 refinement changes, .describe() behavior)
typescriptNew strict checks, lib changes affecting existing types
vitest / @vitest/coverage-v8Test runner behavior, coverage provider changes
eslint / typescript-eslintNew rules flagging existing code
Cross-spawn / execaChild-process spawning semantics used by CliGitProvider

Use WebFetch or Bash + curl (for full content) against the package's GitHub releases or CHANGELOG. Skim tag-to-tag diffs rather than scrolling the full file.

4. Adopt changes in the codebase

Apply findings from Step 3:

  • Breaking changes — fix call sites (look first under src/mcp-server/, src/services/, src/utils/, src/storage/, src/container/)
  • Deprecations — migrate now, while context is fresh
  • New APIs worth adopting — refactor targeted spots only; don't cargo-cult everywhere
  • New configuration — update .env.example, src/config/index.ts Zod schema, and README.md if user-facing

Keep diffs focused. Don't sweep refactors beyond the update's scope.

Common spots to re-check:

  • src/services/git/providers/cli/ if child-process libraries changed
  • src/mcp-server/transports/http/ if Hono / MCP SDK changed
  • src/utils/telemetry/ if OpenTelemetry SDK changed
  • src/mcp-server/transports/auth/ if jose changed

5. Rebuild and verify

bun run rebuild
bun run devcheck
bun test

rebuild (clean + build) catches API surface and type-alignment issues that devcheck alone may miss — module resolution, path aliases, post-build processing. devcheck runs lint, format, typecheck, and security audit.

In Mode B, the user already ran rebuild + test before invoking this skill, but run them again here — Step 4 made code changes that need verification.

Fix anything that fails. Re-run until clean.

6. Summary

Present a concise numbered summary to the user:

  1. Updated packages — short list with version deltas (N total)
  2. Breaking changes handled — call sites fixed
  3. Features adopted — new APIs now in use
  4. Needs attention — anything deferred, flagged for decision, or risky
  5. Status — rebuild / devcheck / test results

Checklist

  • Update applied (bun update --latest) — Mode A, or already done by user — Mode B
  • Changelogs reviewed for each updated package
  • Adoption opportunities identified and applied
  • bun run rebuild succeeds
  • bun run devcheck passes (lint + format + typecheck + audit)
  • bun test passes
  • Numbered summary presented to user

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.