agentleFS
ohnoshivmohnoshivm/creative-engineering-os/skills/ceos-production-quality/SKILL.md

ceos-production-quality

Skill0 starsChanged 12 days agoMITView on GitHub

Production verification for creative websites — Playwright smoke and interaction tests, visual regression snapshots, automated accessibility (axe-core) plus keyboard checks, responsive and cross-browser runs, console/error budgets, build verification, basic security review and deployment/release validation with rollback. Use before merging or deploying, when adding tests to a creative site, when setting up CI for a template, or when verifying a release actually works.

  • Reads credentials
Files
SKILL.md

Production quality

Gates (all templates ship these)

GateCommandPass
Type/lintnpm run check0 errors
Buildnpm run buildexits 0; no unexpected chunk > budget
Smokenpm test (Playwright)page loads at 1440 + 390, h1 visible, primary CTA reachable by keyboard, 0 console errors
A11yincluded in npm test via @axe-core/playwright0 serious/critical violations
Reduced motiontest project with reducedMotion: 'reduce'content complete, no scroll-driven motion
No-WebGL (3D templates)Chromium with --disable-3d-apisposter + full content, no uncaught errors
Visual regressionnpm run test:visualdiffs reviewed; update snapshots only intentionally
Lab perfnpm run lhcibudgets in lighthouserc.json

Playwright uses the installed Google Chrome (channel: 'chrome') — no browser download. Add WebKit (npx playwright install webkit) per project when Safari coverage matters (recommended before launch).

Visual regression practice

expect(page).toHaveScreenshot() with animations disabled (animations: 'disabled', reduced motion, fixed seed, fonts loaded, WebGL frame frozen via a ?still flag). Mask dynamic regions. Review diffs as images, never by blindly updating.

Security review (static sites and light backends)

Headers: CSP (allow only needed origins; avoid unsafe-inline where possible), X-Content-Type-Options, Referrer-Policy, Permissions-Policy, HSTS on the host. Third-party scripts listed and justified; SRI for CDN scripts; forms: server-side validation, rate limiting, honeypot, no secrets in client bundles (npm run build + grep dist/ for keys), dependency audit (npm audit --omit=dev), no .env committed.

Release validation

Build the production artefact, serve it (npm run preview), run the full test suite against it, then deploy to a preview URL and run smoke + Lighthouse against that URL. Record: commit, URL, results, rollback command (previous deployment id / git tag).

Failure criteria

Tests only against dev server; snapshots updated without review; axe run but keyboard never tried; console errors "known and ignored"; no rollback path; secrets in the bundle.

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.