Skill
Pre-deploy check skill: is this ready to ship?
The Codema.ai pre-deploy check skill is a SKILL.md named pre-deploy-check that runs a ship-readiness checklist on the current branch: build, tests, lint, secrets, environment variables, database access and production basics. It reports READY, READY WITH WARNINGS or BLOCKED, and does not fix anything unless you ask. Dashboard checks are marked NEEDS HUMAN. The zip is free, with no account needed.
Codema.ai's pre-deploy-check skill runs build, tests, lint, secrets, env and database checks, then reports READY, READY WITH WARNINGS or BLOCKED.
The short answer
The Codema.ai pre-deploy check skill is a SKILL.md named pre-deploy-check that runs a ship-readiness checklist on the current branch: build, tests, lint, secrets, environment variables, database access and production basics. It reports READY, READY WITH WARNINGS or BLOCKED, and does not fix anything unless you ask. Dashboard checks are marked NEEDS HUMAN. The zip is free, with no account needed.
If you are new to skills, see What are agent skills? How to write your first SKILL.md. This skill sits alongside the other procedures in our coding agents guide.
What the skill does
The skill is a pre-deploy checklist for the current branch. It tells the agent to work through six sections and to report, not to patch the repo:
- Build and tests. Find the project's build, test and lint commands in
package.jsonscripts,AGENTS.mdor the README. Do not invent commands. Run each one and record the command, pass or fail, and the key lines of any failure. - Secrets. Search the diff against main for hard-coded keys, tokens, passwords or connection strings. Flag secret-looking values that are not read from an environment variable, and server-only secrets referenced with a public prefix such as
NEXT_PUBLIC_. Check that.gitignorecovers.envand.env*.local, and that no such file is tracked..env.examplewith names only is fine. - Environment variables. List every environment variable the changed code reads, check each one is documented in
.env.example(names only), and list which variables must exist in production and preview. Those last items are marked NEEDS HUMAN. - Database access. If the diff adds or changes tables, check that Row Level Security, or the project's equivalent, is enabled and that there is a policy for each operation the app uses. If migrations were added, list them and confirm they have not been edited after being applied.
- Production basics. 404 and 500 pages exist and do not leak stack traces; auth redirect URLs are configured for the production domain (NEEDS HUMAN if set in a dashboard); marketing query parameters (
utm_*,gclid) survive redirects to landing pages. - Report. A one-line verdict, a table of checks, and a file, line and suggested fix for each WARN or FAIL.
The download is pre-deploy-check.zip, which contains pre-deploy-check/SKILL.md. The same file is listed on its own in the site manifest, and it is also in the starter skills pack.
When to use it, and when not to
Use it when you ask whether something is ready to ship, deploy, merge, release, or go to production. That wording is in the skill's description.
Do not use it if you want the agent to start fixing failures as it goes; it is written to report first. Do not treat READY as a sign that dashboard-only checks were done; those are marked NEEDS HUMAN. Do not use it as a full Row Level Security audit. If the change is mostly Supabase policies, use the Supabase RLS audit skill. For a broader review of the diff itself, use the AI code review skill.
What's in the SKILL.md
The front matter, quoted from the file in the repo, is:
---
name: pre-deploy-check
description: Runs a pre-deploy checklist on the current branch (build, tests, lint, secrets, environment variables, database access control) and reports blockers without fixing anything. Use when the user asks if something is ready to ship, deploy, merge, release, or go to production.
metadata:
author: codema
version: "1.0"
---
The body opens with: "Run these steps in order. Do not fix anything unless the user asks; report first."
The zip contains only that SKILL.md. There are no bundled scripts. License: MIT.
How to install it
Download pre-deploy-check.zip from this page. It is free and does not require an account. Unzip it and confirm that SKILL.md sits directly inside a folder named pre-deploy-check. Then copy that folder into the skills location for your agent. The paths below come from the official docs.
Claude Code
Claude Code loads a skill from a folder that contains SKILL.md. Copy pre-deploy-check/ to:
- Project:
.claude/skills/pre-deploy-check/SKILL.md - Personal (every project on this machine):
~/.claude/skills/pre-deploy-check/SKILL.md
Claude Code discovers the skill automatically. Invoke it with /pre-deploy-check, or ask in plain words, for example "is this ready to ship?". Personal skills in ~/.claude/skills/ are not loaded in Cowork or cloud sessions.
Codex
Codex scans .agents/skills from your working directory up to the repository root, and loads personal skills from $HOME/.agents/skills. Copy pre-deploy-check/ to:
- Project:
.agents/skills/pre-deploy-check/ - Personal:
$HOME/.agents/skills/pre-deploy-check/
In Codex CLI or the IDE extension, type $pre-deploy-check, or run /skills. Codex can also load the skill when the task matches its description. It detects new skills automatically; if one does not appear, restart Codex. A public Codema.ai skills repo is not published yet, so $skill-installer cannot pull this skill from GitHub until that repo exists. Copy the folder by hand for now.
Cursor
Cursor discovers skills at startup from .agents/skills/ and .cursor/skills/ in a project, and from ~/.agents/skills/ and ~/.cursor/skills/ for the current user. It also loads the Claude Code and Codex skill directories for compatibility. The front matter name must match the folder name, which it does (pre-deploy-check).
Copy the folder into one of those locations, start a new Agent chat, and type / to search for pre-deploy-check. Cursor's docs say a GitHub repo of skills is not imported on its own unless it is packaged as a plugin.
How to vet it
Read the SKILL.md before you install it. Check that name matches the folder, and that the description matches the six checklist steps. This skill does not set allowed-tools and does not ship scripts. It does tell the agent to run the project's real build, test and lint commands, so you should still watch those runs.
For third-party skills, or for a written checklist, use the cross-agent security checklist. Install at project level first if you want to keep the skill in one repo.
The file's metadata lists author: codema and version: "1.0". When you install from the public GitHub repo, pin a specific commit so the file can't change under you.
SKILL.md
Pre-deploy check
Run these steps in order. Do not fix anything unless the user asks; report first.
1. Build and tests
- Find the project's build, test and lint commands in
package.jsonscripts,AGENTS.mdor the README. Do not invent commands. - Run each one. Record the command, pass or fail, and the key lines of any failure.
2. Secrets
- Search the diff against the main branch for hard-coded keys, tokens, passwords or connection strings.
- Flag any secret-looking value that is not read from an environment variable.
- Flag any server-only secret referenced with a public prefix (for example
NEXT_PUBLIC_). - Check
.gitignorecovers.envand.env*.local, and that no such file is tracked (git ls-files | grep -i '\.env')..env.examplewith names only is fine.
3. Environment variables
- List every environment variable the changed code reads.
- Check each one is documented in
.env.example(names only, never values). - List which variables must exist in the production and preview environments of the hosting provider. Mark these NEEDS HUMAN; you cannot see the provider dashboard.
4. Database access
- If the diff adds or changes tables, check that Row Level Security (or the project's equivalent access control) is enabled and that there is a policy for each operation the app uses.
- If migrations were added, list them and confirm they have not been edited after being applied.
5. Production basics
- 404 and 500 pages exist and do not leak stack traces.
- Auth redirect URLs are configured for the production domain (NEEDS HUMAN if set in a dashboard).
- Marketing query parameters (
utm_*,gclid) survive redirects to landing pages.
6. Report
Reply with:
- A one-line verdict: READY, READY WITH WARNINGS, or BLOCKED.
- A table of checks with PASS, WARN, FAIL or NEEDS HUMAN.
- For each WARN or FAIL: the file, the line, and a suggested fix.
FAQ
Does the skill fix problems it finds?
No. It tells the agent to run the steps in order, report first, and not fix anything unless you ask.
What do the verdicts mean?
The report is a one-line verdict of READY, READY WITH WARNINGS or BLOCKED, plus a table of checks marked PASS, WARN, FAIL or NEEDS HUMAN. For each WARN or FAIL it should give the file, the line and a suggested fix.
Can it confirm my production environment variables?
No. It can list the variables the changed code reads and check they are named in .env.example, but it marks production and preview values in the hosting provider as NEEDS HUMAN because it cannot see the provider dashboard. Auth redirect URLs get the same mark when they are set in a dashboard.
Where does it find the build and test commands?
In package.json scripts, AGENTS.md or the README. The skill says not to invent commands. It should record the command, pass or fail, and the key lines of any failure.
Which agents can load it?
Install paths are documented for Claude Code, Codex and Cursor. The SKILL.md does not list product versions.