Skip to content

2001105254-netizen/RacePulsePH / .agents/skills/racepulse-github-release-cicd

racepulse-github-release-cicd

Verified

Automate RacePulsePH semantic versioning, commit hooks, always-RacePulsePH Android APK/AAB naming, GitHub Actions CI/CD, and standard GitHub Releases. Use when setting up CI/CD workflows, versioning hooks, or publishing app releases.

FileKindSize
SKILL.mdskill md3.4 KB
references/checklist.mdmarkdown3.1 KB
---
name: racepulse-github-release-cicd
description: Automate RacePulsePH semantic versioning, commit hooks, always-RacePulsePH Android APK/AAB naming, GitHub Actions CI/CD, and standard GitHub Releases. Use when setting up CI/CD workflows, versioning hooks, or publishing app releases.
---

# RacePulsePH GitHub CI/CD and release pipeline

Maintain synchronized SemVer and Android `versionCode` bumps per commit, keep built APK/AAB artifacts named `RacePulsePH`, and publish standard releases via GitHub Actions.

Load with: `racepulse-release-engineering`, `capacitor-android-architect`. Rules upheld: `C-2`, `C-4`, `C-5`, `R-02`, `R-33`, `R-35`, `R-36`. Detail: [CI/CD release pipeline checklist](references/checklist.md).

## Checklist

| Check | Reason | Evidence |
| --- | --- | --- |
| Keep SemVer and `versionCode` synchronized across `package.json`, `package-lock.json`, `android/app/build.gradle`, and `rfid-station/RacePulseTimingStation.iss` | Prevents version drift between npm, Android APK/AAB upgrades, and release tags | Run `npm run version:check` and confirm exit `0` |
| Install tracked Git hooks via `core.hooksPath` pointing to `.githooks` | Automatically increments patch SemVer and `versionCode` on every normal commit | Run `git config --local --get core.hooksPath` and verify `.githooks` |
| Enforce `base.archivesName`, `outputFileName = "RacePulsePH.apk"`, and release bundle naming in `android/app/build.gradle` | Guarantees every local and CI release artifact is always named `RacePulsePH.apk` and `RacePulsePH.aab` | Inspect `android/app/build.gradle` and run `npm run release:android` |
| Fail the GitHub Actions release job if any Android signing secret is absent (`ANDROID_KEYSTORE_*`) | Prevents publishing unsigned APKs or mismatched certificates to GitHub Releases | Inspect `.github/workflows/ci-cd-release.yml` signing validation step |
| Verify signed `RacePulsePH.apk` with `apksigner` and `RacePulsePH.aab` with `jarsigner` before publishing SHA-256 checksums | Proves installability and integrity before tagging `vX.Y.Z` on GitHub Releases | Inspect `scripts/build-android-release.cjs` verification output and `SHA256SUMS.txt` |
| Publish standard `main` releases as `vX.Y.Z` (latest) and `QA` builds as `vX.Y.Z-qa.N` (prerelease) | Avoids tag collisions when promoting tested `QA` builds into `main` | Inspect tag computation in `.github/workflows/ci-cd-release.yml` |

## Stack mapping

- Commit automation lives in `.githooks/pre-commit`, `scripts/setup-git-hooks.cjs`, `scripts/release-version.cjs`, and `.gitattributes`.
- Android naming, signing, and verification live in `android/app/build.gradle`, `capacitor.config.ts`, and `scripts/build-android-release.cjs`.
- GitHub CI/CD and release publication live in `.github/workflows/ci-cd-release.yml`.

## Not covered

- Generated Firestore/RBAC rule compilation and Firebase rollout flags belong to `racepulse-release-engineering` and `racepulse-access-validation`.
- Native WebView insets, R8 tuning, and Capacitor plugin wiring belong to `capacitor-android-architect`.

## Verify

1. Run `npm run version:check`, `npm run lint`, `npm run build`, `node --test tests/release-version.test.cjs`, and `node .agents/skills/racepulse-skill-maker/scripts/validate-skill-library.cjs` and confirm exit `0`.
2. Verify CI workflow syntax and secret checklist in `.github/workflows/ci-cd-release.yml`, then report PASS/FAIL per check with the purpose log.

writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall