Imported from quasarframework/quasar (
docs/AGENTS.md). Install upstream withnpx skills add quasarframework/quasar --skill docs. Copyright stays with the author.
docs Agent Guide
Supplements the repo-root AGENTS.md. The quasar.dev website, itself a
Quasar app (quasar prepare applies).
- Page content:
src/pages(markdown); its build pipeline:build/. - Colocated
{build,src}/**/*.test.js; runpnpm test:unitfor anybuild/change. build/md/page-ids.jscollects every DOM id a page emits — from its headings and from the components it embeds alike. Extend its source list when a component starts emitting one. A collision, or arelated:entry resolving to nothing, is reported in dev and fails a production build.pnpm test=test:unit, thentest:e2e:ssrandtest:buildSEQUENTIALLY (test/suites.js): a build must never overlap the dev server, they share.quasar/.q-cache. Keeppnpm generate:searchin thebuildchain — it is the search generator's only coverage.E2E_SERVER_URLaudits a runningdev:ssrinstead of booting one.pnpm generate:mcp --target ui|app-vitewrites the docs slice a package bundles for@quasar/mcp(build/mcp/targets.jslists the routes); the package's owngenerate:mcpscript runs it from itsprepublishOnly. A page must be on a navigation to be generated; thellmExclude/llmOnlyflags of itsmenu.jsorlinks.header.jsentry hold it out of a markdown form, and with the site form goes its "view as Markdown" link (build/md/nav-forms.js, read by both ends).src/pages/guide.md(route/guide, unlisted:build/unlisted-pages.js) is the authoring reference for page syntax (its frontmatter table mirrorsbuild/md/frontmatter-rules.js, which a test holds every page to): update it with any change to what a page can be written with.
