It builds on my machine, and fails on Netlify
A build that succeeds locally can still fail on Netlify, or worse, deploy successfully and serve the wrong thing. The usual causes are not compiler errors. They are a wrong base path in a monorepo, a wrong publish directory, a static deployment of an SSR app, a missing adapter, or environment variables that only exist on one laptop.
Static sites, SPAs, hybrid apps and SSR apps each need a different routing and function contract, and Netlify adapter behaviour depends on the framework and its version. Guessing produces sites that open but are empty, or where only the home page works.
Derive the build contract before touching configuration
The make-app-netlify-ready skill for Claude Code and Codex starts by detecting the package manager, framework and runtime model, then writes down an explicit contract: where the build runs, what it produces, which directory is published, which routes need functions and how they are redirected.
Only then does it change configuration, and only minimally. A Python auditor checks netlify.toml against the contract, with codified rules for base, publish, functions, redirects and adapters.
Most deploy bugs are visible in writing before they are visible in production.
Prefer maintained adapters, never hide defects
The skill prefers maintained framework adapters over hand-written function shims, because shims silently drift when the framework changes. It preserves unrelated configuration rather than rewriting the file.
It also never adds a catch-all redirect to make a broken build look healthy. Sending every route to index.html can turn a real build failure into a site that appears to work, which is the hardest kind of bug to notice.
