cj-ways/arcana/release-check
Claude Code and agent skill by cj-ways/arcana
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
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-checkSemi-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
source-branch: Branch being released (default: auto-detect default branch viagit symbolic-ref refs/remotes/origin/HEAD, or fall back todev/develop/main)target-branch: Branch being released into (default:mainormaster, whichever exists)
If $ARGUMENTS is provided, parse as <source> <target>. If only one argument, treat as source with main/master as target.
Gotchas
- 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 fromprocess.env), and.envfile parsing libraries. Grep for the env var pattern AND read config/settings modules to catch indirect references. - Not detecting renamed env vars. If an old env var is removed and a new one is added (e.g.,
DB_URLreplaced byDATABASE_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. - 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.
- 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
- Fetch latest refs:
git fetch origin - Verify both branches exist:
git rev-parse --verify origin/<branch> - 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→ Gorequirements.txt/pyproject.toml/setup.py→ PythonGemfile→ Ruby/RailsCargo.toml→ Rustpom.xml/build.gradle→ Java/Kotlincomposer.json→ PHP- Store detected stack for use in subsequent steps
- Get commit range:
git log --oneline origin/<target>..origin/<source> - Count commits and list affected authors:
git log --format='%an' origin/<target>..origin/<source> | sort -u - Get full file change summary:
git diff --stat origin/<target>...origin/<source> - 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:
| Stack | Pattern | |
|---|---|---|
| Node.js | process.env.VAR_NAME, process.env['VAR_NAME'] | |
| Go | os.Getenv("VAR_NAME"), os.LookupEnv("VAR_NAME") | |
| Python | os.environ, os.getenv, config("VAR_NAME"), Django/Flask settings | |
| Ruby | ENV["VAR_NAME"], ENV.fetch("VAR_NAME") | |
| Rust | std::env::var("VAR_NAME"), env::var("VAR_NAME") | |
| Any | .env file diffs, .env.example diffs, docker-compose*.yml env sections |
Process:
- From changed files, grep for env var patterns (matching detected stack) in the source branch versions
- Compare against the same grep on the target branch
- Net-new env vars = present in source but absent in target
- Also check for removed env vars (present in target, absent in source)
- 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:
| Framework | Migration path pattern | |
|---|---|---|
| TypeORM | **/migrations/*.ts | |
| Drizzle | **/drizzle/*.sql, drizzle/ directory | |
| Prisma | prisma/migrations/ | |
| Atlas | **/migrations/*.sql, atlas.hcl | |
| Alembic | alembic/versions/*.py | |
| Rails | db/migrate/*.rb | |
| Knex | **/migrations/*.js, **/migrations/*.ts | |
| Django | **/migrations/*.py | |
| Sequelize | **/migrations/*.js | |
| Go (golang-migrate) | **/migrations/*.sql | |
| Flyway | **/db/migration/*.sql | |
| Any | Files 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/revertmethod or rollback SQL)
3b. Schema/model changes:
- 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)
- For each changed schema file, diff to identify: new fields, type changes, index changes, nullable changes, default value changes
3c. Potential migration gaps:
- If model/entity files changed but NO new migration file exists, flag as warning
- If migration references tables not matching any model change, flag for review
Step 4: Detect new services and entry points
- 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
- For new services, identify:
- Service type (API, worker, cron, webhook handler)
- Port or trigger configuration needed
- Required infrastructure dependencies
- Check if CI/CD configs were modified with new build/deploy targets
- For webhook-type services, check if external callback URL configuration is needed
Step 5: Detect dependency changes
Detection by package manager:
| File | Package Manager | |
|---|---|---|
package.json | npm/yarn/pnpm | |
go.mod | Go modules | |
requirements.txt / pyproject.toml | pip/poetry | |
Gemfile | bundler | |
Cargo.toml | cargo | |
pom.xml / build.gradle | Maven/Gradle | |
composer.json | Composer |
Process:
- Diff the relevant dependency file for:
- New dependencies added (with versions)
- Dependencies removed
- Version bumps (major vs minor vs patch)
- New dev dependencies
- If lockfile changed, note it (
yarn.lock,package-lock.json,go.sum,Gemfile.lock,Cargo.lock,poetry.lock, etc.) - Flag any major version bumps as requiring extra attention
- 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 Type | File Patterns | |
|---|---|---|
| GraphQL | *.gql, *.graphql, schema.gql | |
| Protobuf | *.proto | |
| OpenAPI/Swagger | openapi.yaml, openapi.json, swagger.yaml, swagger.json, **/api-spec.* | |
| gRPC | *.proto + service definitions | |
| tRPC | *.router.ts, *.procedure.ts |
Process:
- Check if any schema files were modified in the changed files list
- 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
- Flag any removals or type changes as breaking changes requiring client coordination
Step 7: Detect infrastructure and config changes
- 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
- Check for new external service integrations (new HTTP clients, SDK imports, third-party API calls)
- Check for new message queue topics/subjects/channels (Kafka, RabbitMQ, NATS, SQS, Redis pub/sub, BullMQ)
- Check for new cron/scheduler definitions
Step 8: Detect feature flags and toggles
- 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
- 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
Post-Release Checklist Template
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
- SKILL.md in the repositoryCheckingskills/release-check/SKILL.md
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
[](https://verified-skill.com/skills/cj-ways/arcana/release-check)