Prepares the <app> frontend release - the green gate evidence, the version bump in package.json, the changelog entry and the pull request body - without publishing, deploying or committing on its own.
2 stars
0 votes
0 copies
0 views
Added December 2, 2026
developmentreactfrontenddocumentation
Works with
cli
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Release Prep?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/facta-dev-release-prep-64da9517)
---
name: release-prep
description: "Prepares the <app> frontend release - the green gate evidence, the version bump in package.json, the changelog entry and the pull request body - without publishing, deploying or committing on its own."
division: core
---
# <app> Ship
A reusable workflow for preparing a release of the `<app>` React 19 web SPA. The skill assembles the evidence a reviewer needs - the gate output, the package version, the changed public surface - and drafts the pull request body. It never publishes, never pushes, never merges and never tags: those are human actions on a repository the agent does not own.
## When to Activate
- The user asks to ship, release or open a pull request for the frontend.
- A change set is complete and every gate is green, and the release preparation is the remaining work.
- A deployment needs the version and the changelog assembled.
Do not activate for an ordinary commit in the middle of a feature, and do not activate to bypass a red gate - a failing gate stops the release, it does not annotate it.
## Core Principles
- The gate output is the evidence. The release notes quote the actual `make ci` and `npm run evals` results from this session, not a recollection of an earlier run.
- The version lives in one place. The `version` field in `package.json` is the release version; `dist/` is generated and never edited by hand.
- The public surface is declared. A change to a `core` type, the SDK namespace, a route or a port is called out explicitly, because those are the parts a deployed app actually depends on.
- The environment surface is restated. The `VITE_` variables and the fact that no secret is baked into the bundle are called out, because a reviewer must see the config surface without opening the diff.
- The agent prepares; the human publishes. No tag is pushed, no release is published and no branch is force-pushed by this workflow.
## Rules
- No fabricated data: the gate results, the commit hashes and the version come from commands actually run in this session, or the release stops with a named missing step.
- Every claim needs a source: cite the command whose output supports each statement in the pull request body.
- Do not emit the final pull request body as a fenced code block when raw output is expected - it is plain Markdown to be pasted.
- Never commit a lockfile drift: `package-lock.json` is committed in this kit, so the release includes the regenerated lockfile from `npm install`.
- Never force-push and never push to a shared branch without the user's explicit instruction.
- If a gate is red, stop and report which gate failed and its output; do not ship a known-red build.
- The changelog entry describes user-visible change only; internal refactors are listed as housekeeping, not as features.
- Do not include secrets, tokens, customer identifiers or environment values in the pull request body.
## Research References
Provenance table - every claim in a finding needs a row.
| claim | source | year | link |
| --- | --- | --- | --- |
| The release version lives in package.json | `package.json` | 2024 | local file |
| The gates that must be green before a release | `Makefile`, `package.json` | 2024 | local file |
| The template verifies itself by staging a renamed copy and running every gate on it | `scripts/verify-template.sh` | 2024 | local file |
| The environment surface that must be restated on every release | `.env.example` | 2024 | local file |
| The version and packaging expectations for a Vite SPA | Vite documentation | 2024 | https://vite.dev/guide/build |
## Output Format
Raw structured prose plus a paste-ready pull request body. Not a fenced block:
```
### <app> ship - release preparation
Gate evidence (run in this session):
make ci -> <actual result>
npm run evals -> <actual result>
Version: <version from package.json>
Environment surface:
VITE_ variables: <the list, or none>
secrets in the bundle: none (public client)
Public surface changed:
- core type / SDK namespace / route / port - or "none"
CHECKLIST
[ ] every gate green in this session
[ ] version bumped in package.json only
[ ] package-lock.json regenerated by npm install
[ ] changelog entry written (user-visible change only)
[ ] pull request body reviewed by a human before publishing
--- pull request body ---
Title: <type>: <summary>
Body:
What changed and why, in two or three sentences.
The gates that were run and their result.
The environment surface, unchanged or with the new VITE_ variable.
The user-visible change, or "none".
The risks and the rollback.
--- end pull request body ---
Next (human): review, merge, tag and deploy.
```
Summary line: `ship: <version> - gates: N passed, N failed - verdict: READY | BLOCKED`.