Agent skill

preflight

Runs all pre-flight checks sequentially — TypeScript checking, tests, and production build — stopping on first failure. Use before deploying or to verify the project is healthy.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/preflight-bluewaves-creations-website-foundation

SKILL.md

Run pre-deploy verification checks and report results.

Steps

1. Run Verification Commands

Run these sequentially using Bash, stopping if any fail:

  1. bun run check — TypeScript type checking
  2. bun run test — Run all Vitest tests
  3. bun run build — Production build

2. Check Configuration

Read and verify these files:

  • astro.config.mjs — Verify site is NOT "https://example.com" (template default)
  • wrangler.jsonc — Verify destination_address is NOT "[email protected]" (template default)
  • Check that .dev.vars file exists (for local development)

3. Report Results

Summarize with a clear status:

If all checks pass:

READY TO DEPLOY
- TypeScript: OK
- Tests: 42 passed
- Build: OK
- Config: Verified

If any checks fail:

ISSUES FOUND
- TypeScript: [pass/fail details]
- Tests: [pass/fail details]
- Build: [pass/fail details]
- Config: [any warnings]

List each issue with a brief explanation of how to fix it.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results