agentleFS
escapeWuescapeWu/perplexity-ai/.claude/skills/bump-version/SKILL.md

bump-version

Skill168 starsChanged 2 months agoMITView on GitHub

Bump project version, update changelogs, commit, tag, and push. Use when the user wants to release a new version (e.g. "bump v1.x.0", "release version x").

  • Commits and pushes

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use oss-pr, pr-automation 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.
  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • volovelySkill

    pr-fix

    This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR comments", provides a GitHub PR URL with intent to fix, or says "pr-fix". It reads all review comments on a PR, decides which need code fixes vs. replies, makes the fixes, and posts replies — all with explicit user approval before any GitHub action.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 4 projects that use this

  • AnthropicSkill

    architecture

    Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.

    Also in 4 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 5 projects that use this

  • +2 more from CES-Ltd

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 6

    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. Distinctive:

    Add a new entry at the top of the changelog section in both files:

    line 19
  2. Distinctive:

    Use today's date. Summarize the changes since the last version based on recent commits or what the user describes.

    line 31
  3. Distinctive:

    If build succeeds: proceed to commit.

    line 38
  4. Very specific:

    If build fails: fix all TypeScript/lint errors in perplexity/server/web/src/, then re-run the build until it passes.

    line 39
  5. Distinctive:

    Always confirm the changelog summary with the user if the changes aren't obvious

    line 69
  6. Distinctive:

    If the build fails, fix errors before committing

    line 70
  7. Distinctive:

    Do not amend previous commits — always create a new commit

    line 71

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

Bump Version Skill

Steps

1. Determine new version

  • User provides target version (e.g. v1.9.0)
  • Strip the v prefix for file edits

2. Update version files

  • pyproject.toml: update version = "x.x.x"
  • perplexity/server/web/package.json: update "version": "x.x.x" — Vite reads this via vite.config.ts to inject __APP_VERSION__ into the frontend build, which displays as MANAGER_vX.X.X in the admin UI

3. Update changelogs

Add a new entry at the top of the changelog section in both files:

README.md — under ## Changelog:

+ **<YYYY-MM-DD>**: v<VERSION> — <summary in English>

README-zh.md — under ## 更新记录:

+ **<YYYY-MM-DD>**:v<VERSION> — <summary in Chinese>

Use today's date. Summarize the changes since the last version based on recent commits or what the user describes.

4. Build frontend

cd perplexity/server/web && npm run build
  • If build succeeds: proceed to commit.
  • If build fails: fix all TypeScript/lint errors in perplexity/server/web/src/, then re-run the build until it passes. Do not proceed to commit until the build is green.

The dist/ folder is gitignored — do not force-add it.

5. Commit

Stage only source files (never dist/):

git add pyproject.toml README.md README-zh.md \
  perplexity/server/web/package.json \
  perplexity/server/web/src/

Also stage any other modified source files relevant to the release.

Commit message format:

feat: v<VERSION> - <short summary>

<bullet points of key changes>

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

6. Tag and push

git tag v<VERSION>
git push origin main
git push origin v<VERSION>

Notes

  • Always confirm the changelog summary with the user if the changes aren't obvious
  • If the build fails, fix errors before committing
  • Do not amend previous commits — always create a new commit

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.