一键导入
astro-pages-validate-deploy
Ship an Astro docs site to GitHub Pages with SEO, validation, and custom-domain safety checks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Ship an Astro docs site to GitHub Pages with SEO, validation, and custom-domain safety checks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | astro-pages-validate-deploy |
| description | Ship an Astro docs site to GitHub Pages with SEO, validation, and custom-domain safety checks |
| domain | docs |
| confidence | high |
| source | earned |
Use this when an Astro site has moved beyond initial bootstrap and now needs production-safe metadata, validation, and GitHub Pages deployment behavior.
astro.config.mjs; do not mix project-subpath URLs with custom-domain metadata.npm run build:validate that checks built HTML for internal links, required root artifacts (CNAME, robots.txt, sitemap.xml), and basic accessibility landmarks before deploy.CNAME) and sync it into the Astro public assets before building so deploy output cannot drift from Pages configuration.og:url values per route and fail the build if any generated artifact still contains the legacy domain.gh-pages only after validation passes, and treat Pages configuration as incomplete until the branch exists and DNS resolves.CNAME as the custom-domain source of truth and sync it into the Astro public output during deploy so local builds and published Pages artifacts cannot drift.docs-site/src/layouts/BaseLayout.astrodocs-site/scripts/check-links.mjsdocs-site/src/pages/robots.txt.tsdocs-site/src/pages/sitemap.xml.tsCNAME.github/workflows/deploy-site.ymlcname, committed CNAME, and generated dist/CNAME drift apart during a domain move.gh-pages and public DNS exist.Drive package defaults, release packaging, and website version display from one MSBuild property
Validate every meaningful workflow_dispatch input combination before approving release-pipeline changes
Keep mixed validation/release GitHub workflow dispatch inputs from misrouting validation runs
Validate NuGet release artifacts before publish and ensure both package and symbol payloads are release-correct
Keep repo-local .NET sample apps zero-config by avoiding native apphosts when macOS integrity enforcement can kill them
Avoid `.App` executable assembly names for runnable .NET samples on macOS