pCloud

Release Prep — Git skill for Claude Code

Git community

Prepare the codebase for a new release commit by updating gitcommit.h and psettings.h.

How to install Release Prep

Installs to ~/.claude/commands/pcloud-pclsync-release-prep.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/pCloud/pclsync/HEAD/.claude/commands/release-prep.md -o ~/.claude/commands/pcloud-pclsync-release-prep.md

Restart Claude Code, or start a new session, for it to be picked up.

What Release Prep does

Prepare the codebase for a new release commit by updating `gitcommit.h` and `psettings.h`.

Steps:

  1. **Read current state** — read `gitcommit.h` and `psettings.h` to see the current values.

  2. **Update `gitcommit.h`:**

    • Set GIT_PREV_COMMIT_ID to the full SHA of the current HEAD (git rev-parse HEAD).
    • Set GIT_PREV_COMMIT_DATE to HEAD's author date (git log -1 --format="%ai").
    • Set GIT_COMMIT_DATE to the current local timestamp (date "+%Y-%m-%d %H:%M:%S %z").
  3. **Updat

Alternatives in Git

  • Codebase To Course — by Zara Zhang - A Claude Code skill that turns any codebase into a beautiful, interactive single-page HTML cou 2.1k ★
  • Prepare Commit — Comment out inappropriate logging before commit 1.6k ★
  • Peqy — Review peqy bot comments on a PR and assess their validity against the codebase 390 ★

Full documentation available on GitHub

View Source Repository