cj-ways/arcana/release-check

Claude Code and agent skill by cj-ways/arcana

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyzes branch diff to generate deploy checklists — env vars, migrations, new services, dependencies, schema changes, breaking changes. Works across any tech stack. Manual via /release-check [source] [target].

Install

npx vskill@latest install cj-ways/arcana/release-check

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as cj-ways/arcana/release-check.

Release Check

Analyzes the diff between two branches and produces actionable pre-release and post-release checklists. Auto-detects the project's tech stack and scans for env variables, migrations, DB schema changes, new services, dependency changes, API schema changes, and infrastructure requirements.

Arguments

/release-check [source-branch] [target-branch]
  • source-branch: Branch being released (default: auto-detect default branch via git symbolic-ref refs/remotes/origin/HEAD, or fall back to dev/develop/main)
  • target-branch: Branch being released into (default: main or master, whichever exists)

If $ARGUMENTS is provided, parse as <source> <target>. If only one argument, treat as source with main/master as target.

Gotchas

  1. Missing env vars referenced indirectly. Not all env vars appear as literal process.env.VAR_NAME. Look for spread operators (...process.env), dynamic key access (process.env[key]), config wrappers that read env vars internally (e.g., config.get('DATABASE_URL') where the config module reads from process.env), and .env file parsing libraries. Grep for the env var pattern AND read config/settings modules to catch indirect references.
  2. Not detecting renamed env vars. If an old env var is removed and a new one is added (e.g., DB_URL replaced by DATABASE_URL), this is a migration that requires coordination: the old var must stay during rollout, the new var must be set, and the old one removed after full deploy. Flag renamed env vars explicitly.
  3. Database migrations that need to run BEFORE vs AFTER deployment. Additive migrations (new tables, new nullable columns) are safe to run before deploy. Destructive migrations (drop column, rename table, change type) must be coordinated: deploy code that handles both old and new schema first, then run migration, then remove old-schema code. Flag migration timing explicitly.
  4. Ignoring feature flags that gate the new code. If new code is behind a feature flag that defaults to OFF, the deployment is safe even without running migrations or setting new env vars immediately. Check for feature flag gates and note when they make a deploy item lower priority than it appears.

Steps

Step 1: Validate branches, detect stack, and collect diff
  1. Fetch latest refs: git fetch origin
  2. Verify both branches exist: git rev-parse --verify origin/<branch>
  3. Detect project stack by checking for key files in the repo root:
  • package.json → Node.js (then check for NestJS, Next.js, Express, etc.)
  • go.mod → Go
  • requirements.txt / pyproject.toml / setup.py → Python
  • Gemfile → Ruby/Rails
  • Cargo.toml → Rust
  • pom.xml / build.gradle → Java/Kotlin
  • composer.json → PHP
  • Store detected stack for use in subsequent steps
  1. Get commit range: git log --oneline origin/<target>..origin/<source>
  2. Count commits and list affected authors: git log --format='%an' origin/<target>..origin/<source> | sort -u
  3. Get full file change summary: git diff --stat origin/<target>...origin/<source>
  4. Get changed files list: git diff --name-only origin/<target>...origin/<source>

Store the changed files list — all subsequent detection steps filter from this list.

Step 2: Detect environment variable changes

Goal: Find new environment variable references that don't exist on the target branch.

Detection patterns by stack:

StackPattern
Node.jsprocess.env.VAR_NAME, process.env['VAR_NAME']
Goos.Getenv("VAR_NAME"), os.LookupEnv("VAR_NAME")
Pythonos.environ, os.getenv, config("VAR_NAME"), Django/Flask settings
RubyENV["VAR_NAME"], ENV.fetch("VAR_NAME")
Ruststd::env::var("VAR_NAME"), env::var("VAR_NAME")
Any.env file diffs, .env.example diffs, docker-compose*.yml env sections

Process:

  1. From changed files, grep for env var patterns (matching detected stack) in the source branch versions
  2. Compare against the same grep on the target branch
  3. Net-new env vars = present in source but absent in target
  4. Also check for removed env vars (present in target, absent in source)
  5. Check config files (.env.example, docker-compose*.yml, config modules) if changed

Output per finding:

  • Variable name
  • File(s) where it's used
  • Whether it has a default/fallback value
  • Whether it's required at boot (used in startup/init code or config validation)
Step 3: Detect database changes

3a. Migrations — detect by framework:

FrameworkMigration path pattern
TypeORM**/migrations/*.ts
Drizzle**/drizzle/*.sql, drizzle/ directory
Prismaprisma/migrations/
Atlas**/migrations/*.sql, atlas.hcl
Alembicalembic/versions/*.py
Railsdb/migrate/*.rb
Knex**/migrations/*.js, **/migrations/*.ts
Django**/migrations/*.py
Sequelize**/migrations/*.js
Go (golang-migrate)**/migrations/*.sql
Flyway**/db/migration/*.sql
AnyFiles matching *migration* in changed files list

For each new migration file found:

  • Read the file to extract: tables created/altered/dropped, columns added/removed, indexes, data migrations
  • Determine if migration is reversible (has a down/revert method or rollback SQL)

3b. Schema/model changes:

  1. Filter changed files for entity/model/schema patterns:
  • *.entity.ts, *.model.ts, *.model.py, *.rb (ActiveRecord models), schema.prisma, *.go (struct definitions with DB tags)
  1. For each changed schema file, diff to identify: new fields, type changes, index changes, nullable changes, default value changes

3c. Potential migration gaps:

  1. If model/entity files changed but NO new migration file exists, flag as warning
  2. If migration references tables not matching any model change, flag for review
Step 4: Detect new services and entry points
  1. Look for new entry point files in the changed files list:
  • **/main.ts, **/main.go, **/main.py, **/cmd/*/main.go
  • New Dockerfile* files
  • New directories with their own package.json (monorepo packages)
  • New serverless function definitions
  1. For new services, identify:
  • Service type (API, worker, cron, webhook handler)
  • Port or trigger configuration needed
  • Required infrastructure dependencies
  1. Check if CI/CD configs were modified with new build/deploy targets
  2. For webhook-type services, check if external callback URL configuration is needed
Step 5: Detect dependency changes

Detection by package manager:

FilePackage Manager
package.jsonnpm/yarn/pnpm
go.modGo modules
requirements.txt / pyproject.tomlpip/poetry
Gemfilebundler
Cargo.tomlcargo
pom.xml / build.gradleMaven/Gradle
composer.jsonComposer

Process:

  1. Diff the relevant dependency file for:
  • New dependencies added (with versions)
  • Dependencies removed
  • Version bumps (major vs minor vs patch)
  • New dev dependencies
  1. If lockfile changed, note it (yarn.lock, package-lock.json, go.sum, Gemfile.lock, Cargo.lock, poetry.lock, etc.)
  2. Flag any major version bumps as requiring extra attention
  3. Flag any new native/binary dependencies (may need Docker image rebuild or system packages)
Step 6: Detect API schema changes

Detection by schema type:

Schema TypeFile Patterns
GraphQL*.gql, *.graphql, schema.gql
Protobuf*.proto
OpenAPI/Swaggeropenapi.yaml, openapi.json, swagger.yaml, swagger.json, **/api-spec.*
gRPC*.proto + service definitions
tRPC*.router.ts, *.procedure.ts

Process:

  1. Check if any schema files were modified in the changed files list
  2. If so, summarize:
  • New endpoints/queries/mutations/RPCs added
  • Fields or endpoints removed (BREAKING for clients)
  • Type changes (BREAKING for clients)
  • New input types / enums registered
  1. Flag any removals or type changes as breaking changes requiring client coordination
Step 7: Detect infrastructure and config changes
  1. Check for changes in:
  • Dockerfile*, docker-compose*.yml
  • CI/CD files: .github/workflows/, .gitlab-ci.yml, Jenkinsfile, .circleci/, bitbucket-pipelines.yml, .travis.yml
  • Build configs: tsconfig*.json, webpack.config.*, vite.config.*, Makefile, justfile
  • Deployment configs: k8s/, helm/, terraform/, ansible/, serverless.yml, fly.toml, render.yaml, vercel.json, netlify.toml
  • ORM/DB configs: ormconfig.*, prisma/schema.prisma, drizzle.config.*, knexfile.*, alembic.ini
  1. Check for new external service integrations (new HTTP clients, SDK imports, third-party API calls)
  2. Check for new message queue topics/subjects/channels (Kafka, RabbitMQ, NATS, SQS, Redis pub/sub, BullMQ)
  3. Check for new cron/scheduler definitions
Step 8: Detect feature flags and toggles
  1. Grep changed files for common feature flag patterns:
  • isFeatureEnabled, featureFlag, FEATURE_, ENABLE_, FF_
  • LaunchDarkly, Unleash, Flagsmith, or other feature flag SDK usage
  • Settings/config table references for runtime toggles
  • Conditional logic gated on environment or config values
  1. List any new feature flags that need to be configured
Step 9: Assess risk areas

For each major area of change, classify:

  • Critical — Must be done before deploy or service will break (migrations, required env vars, new service ports, breaking schema changes)
  • Important — Should be done around deploy time (cache invalidation, cron schedule updates, webhook URL config, dependency installs)
  • Post-deploy — Can be done after successful deploy (monitoring setup, cleanup, documentation, non-breaking flag toggles)

Checklist Generation

Based on all findings above, generate two checklists:

Pre-Release Checklist Template
## Pre-Release Checklist
**Release:** origin/<source> -> origin/<target>
**Date:** YYYY-MM-DD
**Commits:** N commits by [authors]
### Environment Variables
- [ ] `VAR_NAME` — Add to [environments] — Used in [files] — [Required at boot / Has fallback]
...
### Database
- [ ] Review migration: `MigrationName` — [Tables affected] — [Reversible: Yes/No]
- [ ] Backup database before migration (if destructive changes detected)
- [ ] Run migrations: `<framework-specific command>`
...
### Dependencies
- [ ] Run `<install-command>` on deploy servers
- [ ] [Major bump] Review `package-name` vX->vY changelog for breaking changes
...
### New Services / Entry Points
- [ ] Configure port / trigger for `<service-name>`
- [ ] Add to deployment pipeline / process manager
- [ ] Configure health check endpoint
- [ ] [Webhook] Register callback URL with external provider
...
### API Schema
- [ ] [BREAKING] Removed field/endpoint `<name>` — Coordinate with clients
- [ ] Verify client compatibility with schema changes
...
### Infrastructure
- [ ] [CI/CD change] Review pipeline modifications
- [ ] [Docker change] Rebuild and push images
- [ ] [New queue/topic] Create and configure: `<name>`
- [ ] [Deployment config] Review and apply changes
...
### Feature Flags
- [ ] Set `FLAG_NAME` = [value] in [environment]
...
### General
- [ ] Code review completed
- [ ] All CI checks passing on source branch
- [ ] Test critical flows on staging
- [ ] Notify team of deployment window
Post-Release Checklist Template
## Post-Release Checklist
### Verification
- [ ] Health check endpoints responding for all services
- [ ] Verify new migrations applied successfully
- [ ] Smoke test critical flows: [list based on changed areas]
...

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cj-ways/arcana/release-check/badge)](https://verified-skill.com/skills/cj-ways/arcana/release-check)

Something wrong with this skill or its page? Tell us.