بنقرة واحدة
release
StakTrakr-specific Phase 1 version bump — edits 6 files, trims What's New, delegates sw.js to pre-commit hook.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
StakTrakr-specific Phase 1 version bump — edits 6 files, trims What's New, delegates sw.js to pre-commit hook.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when starting a new patch session and needing to pick a Plane issue to work on before claiming a version lock and creating a worktree.
Use when starting a new patch session and needing to pick a Plane issue to work on before claiming a version lock and creating a worktree.
Post-deploy verification for both Portainer (home) and Fly.io (cloud) environments. Runs environment-appropriate health checks, log inspection, env var verification, cron validation, and endpoint smoke tests. Covers the gap between "deploy succeeded" and "deploy actually works." Triggers on: "deploy verify", "post-deploy", "verify deploy", "smoke test deploy", "did the deploy work", "check the deploy", "/deploy-verify"
API feeds, pollers, feed thresholds, data paths, StakTrakrApi structure, Fly.io and health badge issues.
Ship dev→main — PR, resolve threads, GitHub Release. Only on explicit user "ready to ship".
Use when adding, editing, or removing StakTrakr in-app FAQ entries in the Settings FAQ tab, including known or honest limitation copy.
| name | release |
| description | StakTrakr-specific Phase 1 version bump — edits 6 files, trims What's New, delegates sw.js to pre-commit hook. |
Project-level override for the global /release skill. This file defines Phase 1 (version bump) and Phase 2 (verification) for StakTrakr. All other phases (lock, worktree, PR, GitHub Release, cleanup) are handled by the global skill.
The global skill provides NEW_VERSION (e.g. 3.34.47) and the confirmed changelog bullets from Phase 0.4. Edit these 6 files in order:
js/constants.js (line ~287)Replace the APP_VERSION string literal:
const APP_VERSION = "NEW_VERSION";
package.json (line 4)Update the root version field:
"version": "NEW_VERSION",
package-lock.jsonUpdate two fields only — the root-level "version" field and the packages[""].version field (the self-reference entry). Every other "version" field is a dependency. Do NOT touch dependency versions.
version.jsonUpdate both fields:
{
"version": "NEW_VERSION",
"releaseDate": "YYYY-MM-DD",
"releaseUrl": "https://github.com/lbruton/StakTrakr/releases/latest"
}
CHANGELOG.mdInsert a new section between ## [Unreleased] and the --- separator above the previous version:
## [NEW_VERSION] - YYYY-MM-DD
### Changed — ISSUE-ID: Title
- **Label**: Description (ISSUE-ID)
---
Use the confirmed changelog bullets from Phase 0.4. Match the existing format: ### Changed — with em dash, issue reference in parentheses on each bullet.
js/about.js — What's New (PREPEND + TRIM)Edit getEmbeddedWhatsNew() (starts at line ~140):
Prepend a new <li> entry at the top of the return template:
<li>
<strong>vNEW_VERSION – ISSUE-ID: Title</strong>: Detailed 2-3 sentence summary of the change
— what changed, why a user cares, and any visible behavior difference (ISSUE-ID).
</li>
Format rules:
– (en dash entity), not — or –<strong> tagsTrim the list to keep the 5 most recent entries. Remove the oldest <li> elements from the bottom of the list until only 5 remain.
sw.js — The stamp-sw-cache pre-commit hook reads APP_VERSION from constants.js at commit time and stamps CACHE_NAME automatically. Do NOT manually edit sw.js during a release. The hook produces: staktrakr-v{APP_VERSION}-b{EPOCH}.
After all edits, run these checks:
Substitute the actual old and new version strings in all grep commands below.
# 1. Version string appears in all 6 edited files
grep -l "NEW_VERSION" js/constants.js package.json package-lock.json version.json CHANGELOG.md js/about.js
# 2. Exactly 6 files listed (if fewer, one was missed)
# 3. What's New entry count is exactly 5 (versioned entries only)
grep -c '<li><strong>v' js/about.js # Should be 5
# 4. No stale version in edited files
grep -n "OLD_VERSION" js/constants.js package.json version.json
# Should return nothing
# 5. Diff check — confirm expected files changed
git diff --stat
If any check fails, fix before committing.
No additional post-commit steps. The global skill handles PR creation and resolution.