agentleFS
kv0906kv0906/pm-kit/.claude/skills/update/SKILL.md

update

Skill138 starsChanged 8 months agoMITView on GitHub

Check for and apply PM-Kit framework updates from GitHub releases. Reads local VERSION, queries latest release, shows changelog, and runs update script.

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create, install and 7 more.

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.
  • SprintsAISkill

    create

    Create a new task in the workspace default stack. Use to add work items directly from Claude Code.

    Also in 3 projects that use this

  • thesmartSkill

    install

    Detects the user's OS and available package managers, then runs the correct install, uninstall, search, or list command. Use this skill whenever the user asks to install, remove, update, or search for a package or CLI tool — even if they don't name a specific package manager. Also activate when the user says things like "I need ffmpeg", "get me node 20", "remove postgres", "what package managers do I have", or "how do I install X on this machine".

    Also in 3 projects that use this

  • tombelieberSkill

    backup

    Manage Claude Code backups — sync config and sessions, list/restore sessions, check status. Use when the user asks about backups, restoring sessions, or migrating their Claude environment.

    Also in 3 projects that use this

  • nicodianskSkill

    wrap

    Use when ending a session, taking a break, or context is getting full. Captures session state, decisions, and generates a resume prompt for the next session. Critical for multi-session continuity.

    Also in 3 projects that use this

  • TashanGKDSkill

    note

    个人笔记记录助手。自动以 JSON 格式记录想法、学习笔记、会议纪要到 ~/.note,支持标签分类和全文搜索。

    Also in 3 projects that use this

  • chris6970barbarian-hueSkill

    dashboard

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Check for new PM-Kit releases and safely apply framework updates without touching your notes or config.

    line 10
  2. Very specific:

    Read the local VERSION file to determine the installed version.

    line 24
  3. Very specific:

    If VERSION doesn't exist, tell the user to run ./scripts/setup.sh first.

    line 30
  4. Distinctive:

    If local version matches latest: report "You're on the latest version (vX.Y.Z)"

    line 49
  5. Distinctive:

    If update available: show the version diff and changelog excerpt

    line 50
  6. Distinctive:

    Run the update script, passing through any flags the user provided:

    line 54
  7. Distinctive:

    Never touch user content (notes, meetings, etc.)

    line 72
  8. Very specific:

    Update the VERSION file

    line 73
  9. Distinctive:

    After the script completes, summarize:

    line 77

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

/update — Framework Updates

Check for new PM-Kit releases and safely apply framework updates without touching your notes or config.

Usage

/update           # Check + apply if available
/update --check   # Check only, no download
/update --dry-run # Preview what would change without applying

What This Skill Does

1. Check Current Version

Read the local VERSION file to determine the installed version.

cat VERSION

If VERSION doesn't exist, tell the user to run ./scripts/setup.sh first.

2. Check Latest Release

Query the GitHub API for the latest release:

# Detect repo from git remote, fallback to kv0906/pm-kit
REPO_SLUG="kv0906/pm-kit"
REMOTE_URL="$(git remote get-url origin 2>/dev/null || true)"
if [ -n "$REMOTE_URL" ]; then
  REPO_SLUG="$(echo "$REMOTE_URL" | sed -E 's#.*[:/]([^/]+/[^/.]+)(\.git)?$#\1#')"
fi

curl -sS "https://api.github.com/repos/${REPO_SLUG}/releases/latest"

3. Compare Versions

  • If local version matches latest: report "You're on the latest version (vX.Y.Z)"
  • If update available: show the version diff and changelog excerpt

4. Apply Update (if user confirms)

Run the update script, passing through any flags the user provided:

# If user ran /update --check:
./scripts/update.sh --check

# If user ran /update --dry-run:
./scripts/update.sh --dry-run

# If user ran /update (no flags):
./scripts/update.sh

The script will:

  • Back up current framework files to _archive/_updates/{date}/
  • Download and extract the latest release
  • Overwrite framework files (skills, templates, scripts, docs)
  • Skip hybrid files (_core/config.yaml, .gitignore) — shows diff instead
  • Never touch user content (notes, meetings, etc.)
  • Update the VERSION file

5. Post-Update Summary

After the script completes, summarize:

  • Files updated and files skipped
  • Backup location
  • Any hybrid files that need manual merge
  • Remind user to run /push to commit changes

What Gets Updated vs Preserved

CategoryExamplesAction
FrameworkCLAUDE.md, _templates/*, .claude/**, scripts/*, handbook/*Overwrite (backed up first)
Hybrid_core/config.yaml, .gitignoreDiff shown, user merges
User content00-inbox/, daily/, decisions/, blockers/, meetings/Never touched

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.