test-readiness-preflight

test-readiness-preflight is a skill for Codex from jimtin/production-ai. It costs 150 tokens per session (2,784 once invoked), scanned A, original, MIT.

A pre-check for software testing that finds likely blockers before the full test process runs. It ends with a READY, CONDITIONAL, or BLOCKED result.

In plain words
What is it for?
Use it after substantial implementation and before full, container, browser, release, or push-readiness checks. It helps turn each discovered blocker into a concrete implementation task.
Why use it?
It prevents expensive test runs from being the first place you discover missing tests, database changes, generated code, fixtures, or release steps.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; $skill-name invocation.

Good fit Use it after substantial implementation and before full, container, browser, release, or push-readiness checks. It helps turn each discovered blocker into a concrete implementation task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jimtin/production-ai/test-readiness-preflight
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jimtin/production-ai --skill test-readiness-preflight
Clone the repo
git clone --depth 1 https://github.com/jimtin/production-ai

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-readiness-preflight

README.md
[![agentmods](https://agentmods.dev/badge/skills/jimtin/production-ai/test-readiness-preflight/github.svg)](https://agentmods.dev/skills/jimtin/production-ai/test-readiness-preflight)
Your own site
<a href="https://agentmods.dev/skills/jimtin/production-ai/test-readiness-preflight"><img src="https://agentmods.dev/badge/skills/jimtin/production-ai/test-readiness-preflight/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-readiness-preflight

Your own site · 80×15
<a href="https://agentmods.dev/skills/jimtin/production-ai/test-readiness-preflight"><img src="https://agentmods.dev/badge/skills/jimtin/production-ai/test-readiness-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.02784
Opus 5 $0.00075 $0.01392
Sonnet 5 $0.00030 $0.00557
Haiku 4.5 $0.00015 $0.00278

Measured 10d ago against content hash 8575ec8f26bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

test-readiness-preflight scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/test-readiness-preflight/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Readiness Preflight

Purpose

Use this skill to turn obvious future test failures into implementation tasks before starting the full test gate. The full gate confirms readiness; it must never be the discovery mechanism.

The output is a readiness verdict with an explicit status: READY (checklist clean, exact full-gate command named), CONDITIONAL (validation can start, with named residual risks), or BLOCKED (specific blockers listed as implementation tasks). Do not claim the development task is done until code, schema, migrations, generated clients, fixtures, and release-order proof are all handled.

Operating Rules

  • Treat this as a mandatory gate before expensive full-suite, container, Playwright, release, or push-readiness validation.
  • Start from repo truth: parent and repo-local AGENTS.md, package scripts, test configs, Docker files, seed/migration scripts, and workflow docs.
  • Prefer repo-provided wrappers and container lanes. Do not invent a parallel validation path when the repo already defines one.
  • Develop tests alongside code. Do not wait for the expensive full gate to discover missing unit coverage, missing integration coverage, or untested user actions.
  • Fix missing tests, data setup, migrations, fixtures, browser setup, env gaps, and stale local state before running the full gate.
  • For changed logic, services, hooks, helpers, API routes, components, or workflows, add focused tests in the same implementation pass and run the cheapest relevant targeted test or coverage command before the full gate.
  • Treat schema-affecting changes as release-sequencing work, not just test setup. Code must not be pushed, merged, deployed, or promoted when it depends on a database schema that is not already present in the target environment or safely introduced through the repo's migration release process.
  • Prefer expand -> deploy -> contract for production databases: add backward-compatible schema first, deploy compatible code second, and remove old schema only in a later release after compatibility is proven.
  • Secret scans must be repo-scoped and containerized when no repo wrapper already provides that isolation. Resolve the git repo root first and mount only that repo read-only into the gitleaks container.
  • Never run gitleaks against /, $HOME, the OS user-folder root, your workspace root (e.g. ~/workspace), or any parent workspace. Never use an unqualified --source . unless the command is already running inside the repo-scoped container or a verified repo wrapper.
  • Do not lower thresholds, skip required suites, delete failing assertions, or rely on remote CI/CD to find issues.
  • A coverage failure is not a stop condition. Classify it per references/coverage-failure-response.md — the single source for the classification — fix changed-scope gaps, correct proven coverage misconfiguration, or report the task explicitly incomplete.
  • In container-gated repos, aim for coverage margin above the threshold before the expensive container gate. A host result of exactly 90.00% is too fragile when the container can account branches differently.
  • Use cheap inspection and setup commands freely. Avoid launching the full expensive gate until the checklist is clean.
  • Ask before destructive resets that could erase user data, local dev databases, non-test Docker volumes, or uncommitted work.

Read the full file on GitHub · 108 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 108 lines · 150 tokens per session scan A 8575ec8f26bb

Subscribe to this mod's changes

test-readiness-preflight is a skill published in the GitHub repository jimtin/production-ai (1 stars, last pushed 2mo ago), licensed MIT. It adds 150 tokens to every session and 2,784 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

verification-loop

This skill should be used when the user asks to "verify code", "run verification", "check quality", "validate changes", or before creating a PR. Provides comprehensive verification including build, type check, lint, tests, security scan, and diff review.

Galaxy-Dawn/claude-scholar · 55 tokens

sc-skill

Capture deterministic macOS screenshots for testing, docs, release notes, and marketing assets. Use when asked to automate app screenshots, batch-generate screenshot sets, standardize window sizing/composition, or choose between Peekaboo and native macOS screenshot tooling.

jazzyalex/agent-sessions · 55 tokens

agent-session-format-check

Verify agent session format compatibility for Agent Sessions. Use when any agent CLI updates, when monitoring flags drift, or when bumping max verified versions (fixtures + docs + tests). Covers session schema, usage/limits tracking, storage backends, and discovery path contracts for all supported agents.

jazzyalex/agent-sessions · 62 tokens

windows-qa-engineer

Use when testing Windows 11 desktop apps (WinForms/WPF/UWP) via UFO UIA/Win32 automation MCP. Triggers on "test this Windows app", "QA the app", "run smoke test", "click the button", "fill the form", "check the UI", "Windows automation", "UFO QA", "verify the dialog", or any Windows desktop UI testing task. Not for…

CodeAlive-AI/ai-driven-development · 107 tokens

grace-verification

Design and maintain GRACE 4 verification entries, commands, scenarios, markers, and assertion evidence under .grace/verification.

osovv/grace-marketplace · 31 tokens

auto-test-skill

A structured process for critically testing and improving a coding skill. It records test plans, findings, fixes, and quality checks in files that can be reviewed later.

huangwb8/skills · 61 tokens