agentleFS
himanshusaleriahimanshusaleria/gtm-engine/skills/whats-new/SKILL.md

whats-new

Skill18 starsChanged 5 months agoMITView on GitHub

Checks if the GTM Engine has been updated since the user last checked, shows changelog entries for new versions, and offers to reinstall updated skills. Read the VERSION file from the repo root. Store as current_version. If the VERSION file does not exist, display an error: Read config/config.yaml and extract the last_seen_version field. If config.yaml does not exist, display: Store as last_seen_version. If current_version equals last_seen_version: Then skip to Step 7 (still check for skill drift). If versions differ, proceed…

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. rshankras/claude-code-apple-skills★ 777same name
    2. masem-at/claude-skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. About 0 are common, 11 are distinctive, and 16 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 16

    Very specific

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

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

    Read the VERSION file from the repo root.

    line 12
  2. Distinctive:

    If the VERSION file does not exist, display an error:

    line 14
  3. Very specific:

    Read config/config.yaml and extract the last_seen_version field.

    line 22
  4. Very specific:

    If config.yaml does not exist, display:

    line 24
  5. Very specific:

    If current_version equals last_seen_version:

    line 34
  6. Distinctive:

    If versions differ, proceed to Step 4.

    line 47
  7. Very specific:

    Read CHANGELOG.md from the repo root.

    line 51
  8. Very specific:

    Read config/config.yaml to see if there's a record of known frameworks (if you added a known_frameworks field previously)

    line 69
  9. Distinctive:

    If new framework files exist that aren't in the user's context, list them:

    line 70
  10. Distinctive:

    If no new frameworks, skip this section.

    line 79
  11. Distinctive:

    If contents differ -> mark as "Updated (changes available)"

    line 90
  12. Distinctive:

    If contents match -> mark as "Up to date"

    line 91
  13. Distinctive:

    If any skills are marked as "Updated" or "New":

    line 105
  14. Very specific:

    Ask: "Want me to reinstall updated skills?

    line 107
  15. Distinctive:

    If user says yes:

    line 109
  16. Very specific:

    Create ~/.claude/skills/[skill-name]/ if it doesn't exist

    line 111
  17. Very specific:

    Read the SKILL.md from skills/[skill-name]/SKILL.md

    line 112
  18. Very specific:

    Write it to ~/.claude/skills/[skill-name]/SKILL.md

    line 113
  19. Very specific:

    If the skill directory contains a learnings.md in the repo, and there is NO existing learnings.md in ~/.claude/skills/[skill-name]/, create …

    line 114
  20. Very specific:

    If user says no: Display: "No problem.

    line 117
  21. Distinctive:

    If the version changed (Step 3 found a difference):

    line 122
  22. Very specific:

    Read the current config/config.yaml

    line 124
  23. Distinctive:

    Write the updated config back

    line 126
  24. Distinctive:

    If the version was already current (no change), skip this step.

    line 133
  25. Very specific:

    Never overwrite learnings.md files in ~/.claude/skills/ -- those contain user-specific learning data

    line 139
  26. Very specific:

    Always preserve the rest of config.yaml when updating last_seen_version -- only change that one field

    line 140
  27. Very specific:

    If the user has local modifications to SKILL.md files in ~/.claude/skills/, warn them before overwriting: "Your installed [skill] has local …

    line 143

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

What's New — Update Checker

Checks if the GTM Engine has been updated since the user last checked, shows changelog entries for new versions, and offers to reinstall updated skills.

Invocation

  • /whats-new -- Check for updates

Instructions

Step 1: Read current version

Read the VERSION file from the repo root. Store as current_version.

If the VERSION file does not exist, display an error:

Could not find VERSION file. Make sure you're in the GTM Engine repo root.

And stop.

Step 2: Read last seen version

Read config/config.yaml and extract the last_seen_version field.

If config.yaml does not exist, display:

No config found. Run /setup first to initialize the GTM Engine.

And stop.

Store as last_seen_version.

Step 3: Compare versions

If current_version equals last_seen_version:

Display:

## You're up to date!

**Current version:** [current_version]

No new changes since you last checked.

Then skip to Step 7 (still check for skill drift).

If versions differ, proceed to Step 4.

Step 4: Show changelog

Read CHANGELOG.md from the repo root.

Parse the changelog to find all version entries. Show only the entries that are NEWER than last_seen_version.

Display:

## New Updates Available!

**Your version:** [last_seen_version] -> **Latest:** [current_version]

---

[Paste the relevant changelog entries here, preserving markdown formatting]

Step 5: Check for framework changes

  1. List all .md files in the frameworks/ directory
  2. Read config/config.yaml to see if there's a record of known frameworks (if you added a known_frameworks field previously)
  3. If new framework files exist that aren't in the user's context, list them:
### New Frameworks Added
- [framework name] — [one-line description from the file's first heading]

These frameworks will be automatically available in your conversations.

If no new frameworks, skip this section.

Step 6: Check for skill updates

Compare skill files in the repo's skills/ directory against installed skills in ~/.claude/skills/:

  1. List all subdirectories in skills/ that contain a SKILL.md
  2. For each skill: a. Check if ~/.claude/skills/[skill-name]/SKILL.md exists b. If it doesn't exist -> mark as "New skill (not installed)" c. If it exists -> read both files and compare their contents
    • If contents differ -> mark as "Updated (changes available)"
    • If contents match -> mark as "Up to date"

Display a table:

### Skill Status
| Skill | Status | Action Needed |
|-------|--------|--------------|
| [name] | Up to date | None |
| [name] | Updated | Re-install to get changes |
| [name] | New | Install to enable |

Step 7: Offer to reinstall

If any skills are marked as "Updated" or "New":

Ask: "Want me to reinstall updated skills? This will run /setup --reinstall to copy the latest skill files to ~/.claude/skills/."

If user says yes:

  1. For each skill marked "Updated" or "New":
    • Create ~/.claude/skills/[skill-name]/ if it doesn't exist
    • Read the SKILL.md from skills/[skill-name]/SKILL.md
    • Write it to ~/.claude/skills/[skill-name]/SKILL.md
    • If the skill directory contains a learnings.md in the repo, and there is NO existing learnings.md in ~/.claude/skills/[skill-name]/, create an empty one (never overwrite learnings -- those are user data)
  2. Display: "Reinstalled [N] skills: [list names]"

If user says no: Display: "No problem. Run /whats-new anytime to check again, or /setup --reinstall to update manually."

Step 8: Update last_seen_version

If the version changed (Step 3 found a difference):

  1. Read the current config/config.yaml
  2. Find the line containing last_seen_version: and replace its value with current_version
  3. Write the updated config back

Display:

Updated your last_seen_version to [current_version].

If the version was already current (no change), skip this step.


Important Notes

  • Never overwrite learnings.md files in ~/.claude/skills/ -- those contain user-specific learning data
  • Always preserve the rest of config.yaml when updating last_seen_version -- only change that one field
  • The VERSION file is the single source of truth for the current engine version
  • Changelog parsing: version headers follow the format ## [X.Y.Z] -- use this to identify version boundaries
  • If the user has local modifications to SKILL.md files in ~/.claude/skills/, warn them before overwriting: "Your installed [skill] has local changes. Overwrite with the latest version?"

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.