Start with tidypress doctor. The checks below are for ambiguous repositories,
engine upgrades, and project extension failures—not normal configuration.
Confirm the publish root
The CLI searches the current directory, then conventional site/ and nearby
locations for tidypress.config.ts. When more than one candidate is plausible,
run from the intended publish root or set a temporary override:
TIDYPRESS_PUBLISH_ROOT=./site npx tidypress doctorDo not persist this variable unless CI genuinely cannot express the working directory. The config file location is the normal contract.
Clear generated state
npx tidypress clean
npx tidypress buildclean removes the publish-root output and the active project’s TidyPress cache.
It does not delete authored Markdown, config, public assets, agent settings, or
environment files.
Isolate project extensions
If a project builds before a presentation extension is enabled:
- Check every project module path begins with
./and stays inside the publish root. - Remove one
plugins,markdown,mdx.components,ui, or customrenderentry at a time. - Re-run
doctorandbuildafter each change. - Treat a missing export or broken registered Astro view as a real build error.
TidyPress intentionally does not swallow a registered view failure and fall back to unrelated baseline markup.
Inspect generated contracts
After a successful build, verify:
site/build/index.html
site/build/pagefind/
site/build/llms.txt
site/build/sitemap-index.xml # when a production siteUrl is availablePagefind and sitemap filenames may include additional generated files. Validate
the public behavior rather than editing anything inside build/.
No hidden environment installer
npm install tidypress, tidypress --version, and ordinary CLI commands do not
install agent skills or modify the shell. Skill installation is explicit:
npx tidypress skills installIt writes only the TidyPress skill folder in the detected supported agent
location and preserves existing files unless --force is supplied.