agentleFS
textura-agencytextura-agency/next16-claude-starter/.claude/skills/ship-check/SKILL.md

ship-check

Skill130 starsChanged 4 months agoUnlicenseView on GitHub

Pre-launch gate for this starter — build, mechanical rule checks, SEO and metadata completeness, performance budget, accessibility, env and secret hygiene, and the deploy steps. Use when the user says "ready to ship", "deploy this", "launch checklist", "is this production ready", or before handing a site to a client.

  • Reads credentials

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 2 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run in order. Anything unchecked is stated as unchecked in the summary — never assume a pass.

    line 9
  2. Very specific:

    Run the qa-verify skill across the site — every route, every breakpoint.

    line 22
  3. Very specific:

    Run the seo-audit skill. Non-negotiable before launch:

    line 27
  4. Very specific:

    every public route is in sitemap.ts

    line 29
  5. Very specific:

    if this replaces an existing site → the site-migration skill's redirect map is live and verified

    line 34
  6. Very specific:

    If a WebGL/three.js scene exists → the optimize-3d-scene skill first

    line 50
  7. Very specific:

    Every secret is server-only via getServerEnv().

    line 66
  8. Distinctive:

    Every production env var is actually set on the host — a missing one fails the zod parse at boot, which is the intended behaviour, so check …

    line 68
  9. Very specific:

    if Payload is installed: payload migrate has run against the production database, and push is false in production

    line 78

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ship check

Run in order. Anything unchecked is stated as unchecked in the summary — never assume a pass.

1. It builds and it obeys the rules

yarn lint
yarn build                       # must pass, no warnings you cannot explain
.claude/scripts/verify.sh        # zero FAILs

2. It is correct

Run the qa-verify skill across the site — every route, every breakpoint. Then click through the real thing: yarn build && yarn start, not just dev.

3. It can be found

Run the seo-audit skill. Non-negotiable before launch:

  • every public route is in sitemap.ts
  • robots.ts allows crawling and no staging noindex survives
  • NEXT_PUBLIC_SITE_URL set in the production environment
  • unique title + description per route; OG image resolves absolutely
  • Organization + WebSite JSON-LD renders and validates
  • if this replaces an existing site → the site-migration skill's redirect map is live and verified

4. It is fast

Measure, do not guess. Run the optimize-load skill against the deployed URL — all four categories across laptop, tablet and mobile, median of 3+ runs. A single Lighthouse run is an anecdote.

  • Green is ≥ 90 on every category and every profile, or the gap is stated with its number and its cause
  • LCP ≤ 2.5s, CLS ≤ 0.1, INP ≤ 200ms
  • Hero image priority; every image sized; fonts via next/font
  • Lighthouse never scrolls, so it cannot see scroll jank — if the page is animation-heavy, also run optimize-performance and check the first scroll against the second
  • If a WebGL/three.js scene exists → the optimize-3d-scene skill first

5. It is usable by everyone

  • Keyboard-only pass through every interactive element; focus always visible
  • prefers-reduced-motion honoured — content readable with motion off
  • Contrast AA; alt text everywhere; landmarks named
  • 44px touch targets; no horizontal scroll at 320px

6. Nothing leaks

grep -rniE "sb_secret|service_role|BEGIN (RSA|PRIVATE)" src/ .env.example
git log --oneline -20            # no secrets in history
  • Every secret is server-only via getServerEnv(); nothing sensitive is NEXT_PUBLIC_
  • .env is gitignored; .env.example documents every key with placeholder values
  • Every production env var is actually set on the host — a missing one fails the zod parse at boot, which is the intended behaviour, so check before launch not after

7. Deploy

Vercel is the default target for this stack (vercel → vercel --prod, or a Git integration). Confirm after deploying:

  • production env vars set for the Production environment, not just Preview
  • custom domain + HTTPS resolving, www/apex normalised one way
  • if Payload is installed: payload migrate has run against the production database, and push is false in production
  • a real page loads, a form submits, an image from storage renders

8. Hand over

Summarise: what was checked and passed, what failed and was fixed, what could not be verified and why, plus the measured performance numbers. Update obsidian/meta/changelog.md with the launch.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.