Skip to content

pluginslab/wp-agentic-admin / .claude/skills/release

release

Verified

Version bump, commit, push, and create GitHub release with notes

FileKindSize
SKILL.mdskill md1.2 KB
---
name: release
description: Version bump, commit, push, and create GitHub release with notes
argument-hint: "<version>"
allowed-tools: "Bash(npm *), Bash(git *), Bash(gh *), Read, Edit"
---

# Release v$ARGUMENTS

## Steps

1. **Version bump** — update ALL of these to `$ARGUMENTS`:
   - `agentic-admin.php`: plugin header `Version:`, `AGENTIC_ADMIN_VERSION` constant, `activate()` hook
   - `package.json`: `version` field
   - `readme.txt`: `Stable tag:` field
   - Run `npm install --package-lock-only` to sync `package-lock.json`

2. **Changelog** — add a new section in `readme.txt` under `== Changelog ==` for version `$ARGUMENTS` describing what changed since the last release. Use `git log` to find changes.

3. **Lint** — run `npx wp-scripts lint-js` on any modified JS files

4. **Tests** — run `npm test` to verify unit tests pass

5. **Commit** — stage all version-bumped files and commit:
   ```
   release: v$ARGUMENTS — <short description>
   ```

6. **Push** — `git push origin main`

7. **GitHub release** — create with `gh release create v$ARGUMENTS` including:
   - Title: `v$ARGUMENTS — <short description>`
   - Notes: summary of changes, breaking changes if any, notable improvements
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 321kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 321kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 321kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 321kUpdated Claude CodeCodexVerifiedInstall