使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/quasarframework/agent-skills --skill quasar-ssg-development开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Quasar SSG Development
Use this skill with quasar-development; apply SSR-safe coding practices during generation.
Configure generation
- Inspect
quasar.config.* > ssg,src-ssg/, router definitions, data sources, and deployment target. - Read the current Quasar SSG documentation.
- Add the mode with
quasar mode add ssg. - Run with
quasar dev -m ssg; generate withquasar build -m ssg.
Make output complete and deterministic
- Ensure every public dynamic route is discoverable by the SSG renderer or supplied explicitly.
- Fetch build-time content deterministically and fail clearly when required content cannot be generated.
- Avoid browser globals while rendering; delay client-only integrations until hydration.
- Generate canonical URLs, titles, descriptions, social metadata, and structured data per route.
- Configure the base/public path for the final host.
- Provide and verify the generated 404 strategy supported by the target host.
- Use hybrid partial CSR only for routes that cannot or should not be generated.
- Treat build-time credentials as secrets and ensure they never appear in emitted HTML or JavaScript.
Validate the generated site
- Inspect the output for all expected route files and metadata.
- Serve the production output from a static server at the intended base path.
- Test direct navigation, refresh, hydration, internal links, asset paths, and the 404 page.
- Check for broken links and accidental secret or private-data serialization.
- Run tests, typecheck, lint, and formatting checks.




