[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78EJES560ZARRZPSTH1RZ91":3,"skill-same:01M78EJES560ZARRZPSTH1RZ91":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M78EJES560ZARRZPSTH1RZ91","astro-build",null,"构建并验证 DMBlog（astro build + pagefind + 页面计数检查）","DaydreamV7\u002FLittleBlog","DaydreamV7","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F144745684?v=4","01M78EHR6D1QWCVH3PYCV7PK7H","Daydream","01M78EHR797P1Y75034VD45CB9",0,"MIT","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fastro-build\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: astro-build\ndescription: 构建并验证 DMBlog（astro build + pagefind + 页面计数检查）\n---\n\n# astro-build — 构建并验证 DMBlog 项目\n\n执行完整的构建流程并验证输出，确保项目无错误。\n\n## 构建流程\n\n### 1. 构建 Astro 静态站点\n\n```powershell\nnpx astro build\n```\n\n期望结果：`astro build` 完成，输出 `dist\u002F` 目录，列出生成的页面数量。\n标准输出应显示类似 \"Pages built: X\" 或列出每个页面路径，最终应有 \"✓ Build complete\"。\n\n### 2. 生成 Pagefind 搜索索引\n\n```powershell\nnpx pagefind --site dist\n```\n\n期望结果：Pagefind 将搜索索引写入 `dist\u002Fpagefind\u002F` 目录。\n\n### 3. 验证构建输出\n\n检查以下内容：\n- `dist\u002F` 目录存在且非空\n- `dist\u002Fpagefind\u002F` 目录存在（含 `pagefind-entry.json` 等文件）\n- 页面数量符合预期（至少包含首页、归档页、about 页、文章详情页）\n\n```powershell\n# 列出 dist 根目录的文件\nGet-ChildItem dist -Name\n\n# 检查 dist 中包含多少个 HTML 文件\nGet-ChildItem dist -Recurse -Filter *.html | Measure-Object\n```\n\n## 错误处理\n\n如果 `astro build` 失败：\n1. 检查错误堆栈（通常是 TypeScript 类型错误或 Astro 组件错误）\n2. 使用 `astro check` 进行类型检查（如果可用）\n3. 逐文件修复后重新构建\n\n如果 `pagefind` 失败：\n1. 检查 `dist\u002F` 目录是否包含所有静态文件\n2. 确保没有 Pagefind 配置冲突\n\n## 注意事项\n\n- 在 PowerShell 中，用 `;` 而不是 `&&` 分隔多个命令\n- 构建前确保 dev server 已关闭（`astro dev stop`）\n- 如果只想构建而不搜索，用 `npm run build`；如需搜索，用 `npm run postbuild`\n","# astro-build — 构建并验证 DMBlog 项目\n\n执行完整的构建流程并验证输出，确保项目无错误。\n\n## 构建流程\n\n### 1. 构建 Astro 静态站点\n\n```powershell\nnpx astro build\n```\n\n期望结果：`astro build` 完成，输出 `dist\u002F` 目录，列出生成的页面数量。\n标准输出应显示类似 \"Pages built: X\" 或列出每个页面路径，最终应有 \"✓ Build complete\"。\n\n### 2. 生成 Pagefind 搜索索引\n\n```powershell\nnpx pagefind --site dist\n```\n\n期望结果：Pagefind 将搜索索引写入 `dist\u002Fpagefind\u002F` 目录。\n\n### 3. 验证构建输出\n\n检查以下内容：\n- `dist\u002F` 目录存在且非空\n- `dist\u002Fpagefind\u002F` 目录存在（含 `pagefind-entry.json` 等文件）\n- 页面数量符合预期（至少包含首页、归档页、about 页、文章详情页）\n\n```powershell\n# 列出 dist 根目录的文件\nGet-ChildItem dist -Name\n\n# 检查 dist 中包含多少个 HTML 文件\nGet-ChildItem dist -Recurse -Filter *.html | Measure-Object\n```\n\n## 错误处理\n\n如果 `astro build` 失败：\n1. 检查错误堆栈（通常是 TypeScript 类型错误或 Astro 组件错误）\n2. 使用 `astro check` 进行类型检查（如果可用）\n3. 逐文件修复后重新构建\n\n如果 `pagefind` 失败：\n1. 检查 `dist\u002F` 目录是否包含所有静态文件\n2. 确保没有 Pagefind 配置冲突\n\n## 注意事项\n\n- 在 PowerShell 中，用 `;` 而不是 `&&` 分隔多个命令\n- 构建前确保 dev server 已关闭（`astro dev stop`）\n- 如果只想构建而不搜索，用 `npm run build`；如需搜索，用 `npm run postbuild`\n",{"name":5,"description":7},"master","59ad686c7bd80ab2ec18e8010cd8de56690e0b9e",".reasonix\u002Fskills\u002Fastro-build","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog","https:\u002F\u002Fgithub.com\u002FDaydreamV7","Just a student for world","2026-07-11 11:43:38",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add DaydreamV7\u002FLittleBlog --skill astro-build",{"tool":37,"command":38},"bunx","bunx skills add DaydreamV7\u002FLittleBlog --skill astro-build",{"tool":40,"command":41},"pnpm","pnpm dlx skills add DaydreamV7\u002FLittleBlog --skill astro-build","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fastro-build\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M78EP699QVTBBGE0Y9MWVC5B","writing-shape","Writing, exploit — shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M78EP3AT7N0FGJXE00M53TDW","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M78ENZZYV32T7RB40GMGP9R7","writing-fragments","Writing, explore — mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M78ENY4GN51FWD99K683S1N9","writing-beats","Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fwriting-beats\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M78ENSKV2V1NRWXHD616T3PJ","wizard","Generate an interactive bash wizard that walks a human through a manual procedure — third-party setup, a one-off migration, an A→B state transition — opening URLs, capturing values, confirming each step, and writing .env files and GitHub Actions secrets.","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M78ENPGF0DG4K8NAYM76Z10W","wayfinder","Plan a huge chunk of work — more than one agent session can hold — as a shared map of investigation tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FDaydreamV7\u002FLittleBlog\u002Fblob\u002Fmaster\u002F.reasonix\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[]]