Works with the AI Agents you already use

    Next.js Launch Skills: Checklist, OG Images, Dark Mode

    by Nando Septian Husni

    1

    Three skills that get a Next.js App Router site ready to share: a pre-launch QA pass that writes LAUNCH-REPORT.md, Open Graph images and favicons with a link-preview checker, and dark mode with no flash.

    Free

    Security scanned
    Next.js Launch Skills: Checklist, OG Images, Dark Mode

    Next.js Launch Skills: Checklist, OG Images, Dark Mode

    Example session with this skill installed

    Is my site ready to launch? It's a Next.js 16 landing page with a static export. Check it and tell me what to fix first.

    • Read your context and instructions
    • Compiled the next js launch

    Summary

    Pre-launch check of a Next.js 16 landing page (static export, out/ folder served on localhost:4321). Both bundled checkers ran: no errors, but two placeholder issues to fix before launch. The share image is set up correctly.

    Link check

    $ node link-check.mjs http://localhost:4321
    link-check: 1 page(s) crawled, 18 internal link target(s), 2 external link(s)
    WARNING  [placeholder] Placeholder email mailto:hello@driftly.example.com   (on /)
    WARNING  [placeholder] 13 placeholder link(s) with href="#" — point them somewhere real or remove them   (on /)
    0 error(s), 2 warning(s)
    

    Share image check

    $ node check-og.mjs http://localhost:4321/
      og:title     Liftoff live demo — Next.js SaaS landing page kit
      og:image     https://liftoff-kit.pages.dev/opengraph-image.jpg (1200×630 jpeg, 116 KB)
      twitter:card summary_large_image
      OK
    check-og: 0 error(s), 0 warning(s)
    

    Must fix before launch

    • Replace the placeholder contact email hello@driftly.example.com.
    • Point the 13 href="#" links somewhere real, or remove them.

    The script output above is from a real run (the og:image query string is shortened). The skill also writes these items, the results of its manual checklist and the steps only you can do, such as adding the site to Google Search Console, to LAUNCH-REPORT.md.

    Next steps

    • Fix the two items, rebuild, and run the check again.
    • After you deploy, run check-og.mjs against the live URL so link previews are verified on the real host.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Three skills for the last mile before you share a Next.js site. Each one follows a tested workflow, uses the Next.js docs that ship with your installed version, and checks its own result with a zero-dependency Node script instead of guessing.

    What's inside

    • launch-checklist: a pre-launch QA pass. Your agent builds the site, crawls it for broken links, missing anchors and placeholder links (link-check.mjs), searches the source for leftovers like lorem ipsum, TODO, example.com or "Create Next App", walks a checklist (content, SEO, social tags, forms, checkout, analytics, performance, accessibility, legal, hosting), fixes what is safe to fix, and writes a short LAUNCH-REPORT.md with a verdict and must-fix items.
    • launch-social-images: a 1200×630 Open Graph image generated with next/og, the Twitter/X card, favicon and app icons, and per-post share images for blogs. check-og.mjs downloads the image from your running site and checks absolute URL, status, size, dimensions, alt text, card type and Content-Type.
    • launch-dark-mode: Light/Dark/System themes with no flash of the wrong theme and no library. An inline head script, a data-theme attribute wired to Tailwind's dark: variant, design tokens for both themes, and an accessible toggle.

    Next.js 16 traps it handles

    • Static export (output: "export") fails with Cache Components on; metadata routes then need dynamic = "force-static".
    • Generated OG images are exported without a file extension, so static hosts serve them without a Content-Type.
    • A page's own openGraph metadata replaces the parent's and silently drops the site-wide share image.

    Where it stops

    It doesn't deploy your site, and it asks before changing copy, prices, colors or anything that needs your accounts.

    Pages Router: the checklist works on any site, but the share-image and dark-mode code assumes the App Router. next/og images support flexbox layouts, not CSS Grid. link-check crawls same-origin pages only; external links are checked only with --external. It doesn't deploy your site.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 16 days ago

    • Free with an Agensi account

    Software
    Node.js 18+Next.js App Router projectserve

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Terminal: runs next build, starts the built site and runs the bundled Node scripts. Files: reads your project and edits metadata, share images, icons and theme components, and writes LAUNCH-REPORT.md. Network: the scripts only request the site URL you give them (localhost or your live site), and external links only with --external.

    Listed16 days ago

    What's inside

    Frequently Asked Questions

    It handles three pre-launch jobs on a Next.js App Router site: a QA pass that crawls for broken links, missing anchors and placeholders and writes LAUNCH-REPORT.md; Open Graph images and icons with a link-preview checker; and Light/Dark/System dark mode with no flash.

    Written and tested on Next.js 16.4 (App Router) with React 19 and Tailwind CSS 4, in both static export and server mode. The dark-mode setup also covers Tailwind CSS v3. The bundled scripts need Node.js 18+ and have no dependencies.

    No. A small inline script in the head sets a data-theme attribute before the page paints, and Tailwind's dark: variant is wired to that attribute. The toggle is a plain accessible component you own.

    link-check.mjs crawls the same-origin pages of your running site (up to 200 by default) and reports broken links, #anchors with no matching id, href="#" and javascript: links, and example.com placeholders. External links are checked with --external. It exits with code 1 on errors, so you can also run it in CI.

    It fixes safe things on its own: broken internal links and anchors, missing alt text, default create-next-app metadata, a missing lang attribute or 404 page. It asks before changing copy, prices, colors or anything that needs your accounts, and it never deploys.

    New in Frontend & Web Apps

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Free