AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Production Readiness

skill-pixelcrafts-app-agent-skills-production-readiness · by pixelcrafts-app

Apply when auditing a Next.js app for production readiness — error boundaries, Suspense, optimistic UI, image optimization, metadata/OG/sitemap, CSP + security headers, analytics consent, Core Web Vitals, env-aware logging. Detect → Check → Suggest, never blindly enforces. Auto-invoke when reviewing app-level wiring, route config, or release readiness.

No reviews yet
0 installs
24 views
0.0% view→install

Install

$ agentstack add skill-pixelcrafts-app-agent-skills-production-readiness

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-pixelcrafts-app-agent-skills-production-readiness)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Production Readiness? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Next.js Production Readiness

> Universal security/testing/observability rules apply too; this covers Next.js specifics. None of these are universally required — each depends on audience, regulation, deployment. Every item: Detect → Check → Suggest. Never rewrite the app. Skip what doesn't apply (an SSO-gated internal tool needs no OG tags/sitemap); flag "not yet" so it isn't silently missed at launch.

Rules keep stable §R IDs (split as §R1.a, never renumber) — verify-changes/pre-ship iterate them.

| Rule | Detect / key checks | If absent (suggest) | |------|---------------------|---------------------| | §R1 Error boundaries | error.tsx per route segment + global-error.tsx; specific message + reset() retry; crash report with context | One exception blanks the whole tab — offer error.tsx template | | §R2 Suspense/streaming | ` around slow async children + loading.tsx matching layout; independent boundaries for independent fetches | Without it the route blocks on the slowest query — offer route loading.tsx + targeted Suspense | | **§R3** Optimistic + rollback | onMutate/onError cache rollback or useOptimistic; **low-risk only**, not money/identity/destructive; error toast on rollback | Offer for toggles/lists; keep loading state for critical mutations | | **§R4** Image optimization | next/image universal (flag raw ), explicit width/height, sizes, blur, priority on LCP only, remote allowlist (no **) | #1 LCP killer — offer next/image migration | | **§R5** Metadata/OG | per-route title/description, dynamic OG, canonical, twitter card, robots (staging noindex) | Public apps only — offer generateMetadata(); skip for SSO-gated | | **§R6** Sitemap/robots | app/sitemap.ts+robots.ts, dynamic, excludes auth/admin/preview, submitted to consoles | Public+SEO only — offer sitemap.ts; skip invite-only | | **§R7** CSP + headers | CSP (no unsafe-inline without nonce), HSTS ≥1yr, nosniff, frame-ancestors/X-Frame, Referrer-Policy, Permissions-Policy | Offer conservative headers(); test CSP in report-only first | | **§R8** Analytics consent | scripts don't load pre-consent (Consent Mode v2 or hard gate); categories; persisted; withdraw path | EU/UK/CA consumer only — offer consent flow; B2B+DPA usually exempt | | **§R9** Core Web Vitals | targets LCP<2.5s / INP<200ms / CLS<0.1; real-user (not just Lighthouse); regression alerts; per-route | Offer useReportWebVitals → analytics; degraded LCP sinks search rank | | **§R10** Env-aware logging | level by LOG_LEVEL; JSON in prod / pretty dev; secrets redacted at logger; no request bodies in prod | Offer pino + redaction list; console.log` of user data = privacy + cost incident |

When to run

Before launch/major release · when adding a privacy scope (new region/data category) · when CSP/headers change (regressions break rendering silently) · preview→prod cutover · in pre-ship for changes to root layout, middleware, next.config.js, or the service layer. Not for isolated component/copy/styling changes.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.