[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75YE1MDGF8CNNSP3SAPY26T":3,"skill-same:01M75YE1MDGF8CNNSP3SAPY26T":51},{"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},"01M75YE1MDGF8CNNSP3SAPY26T","astro-best-practices",null,"Implement, review, or refactor Astro websites with server-first rendering, strict TypeScript, reusable layouts and components, minimal client JavaScript, optimized assets, content-source boundaries, SEO, accessibility, and static Cloudflare deployment. Use for Astro pages, components, routing, data fetching, content, scripts, and build architecture.","kansai-gaijin\u002Fnate-llm-astro-stack","kansai-gaijin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54628666?v=4","01M75YDXF9P15V1TKYYDKGQKSN","Nathaniel W","01M75YDXG1CDV838VEFC2KEC29",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fastro-best-practices\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: astro-best-practices\ndescription: Implement, review, or refactor Astro websites with server-first rendering, strict TypeScript, reusable layouts and components, minimal client JavaScript, optimized assets, content-source boundaries, SEO, accessibility, and static Cloudflare deployment. Use for Astro pages, components, routing, data fetching, content, scripts, and build architecture.\n---\n\n# Astro Best Practices\n\n## Use Astro 7 deliberately\n\n- Require Node 22.12+, Astro 7, Vite 8\u002FRolldown, and the Astro 7-compatible Alpine integration.\n- Astro 7's Rust compiler no longer repairs invalid HTML. Close every element\u002Fattribute correctly,\n  keep nesting valid, and add explicit `{' '}` when adjacent inline elements require whitespace.\n- Let Astro 7's Rust Satteri pipeline handle Markdown\u002FMDX by default. Do not add unified\u002Fremark\u002F\n  rehype compatibility unless a required plugin proves it is necessary.\n- Use `astro dev --background`, `astro dev status`, `astro dev logs`, and `astro dev stop` for agent\n  workflows. One orchestrator owns the native lock-protected server; workers never start servers.\n- Use `\u002F_astro\u002Fstatus` for readiness and `--json` for machine-readable agent logs.\n- Do not add `src\u002Ffetch.ts`, route caching, or a CDN cache provider to a static marketing site just\n  to claim feature usage. Advanced Routing and `Astro.cache` are for actual request-time pipelines.\n\n## Keep Astro server-first\n\n- Render pages and content to HTML at build time unless a requirement genuinely needs runtime\n  rendering.\n- Use `.astro` components, layouts, slots, and typed props. Add Alpine only around interactive\n  islands; do not add a framework runtime for static markup.\n- Keep secrets and microCMS access in server\u002Fbuild modules. Never expose a non-`PUBLIC_` variable.\n- Keep each route in the sitemap explicit and ensure the top page always exists.\n\n## Build reusable boundaries\n\n- Reuse layouts, head metadata, buttons, containers, media frames, headings, and repeated sections.\n- Keep data access behind `src\u002Flib\u002Fcontent\u002F`; pages and components should not know whether data came\n  from microCMS or Markdown.\n- Return consistent typed models from every content source and fail with actionable messages.\n- Use local Markdown fixtures for deterministic builds, previews, and CMS-unavailable fallback.\n\n## Ship fast pages\n\n- Prefer static output for Cloudflare Pages. Fetch build-time CMS data during `astro build` and use a\n  deploy hook when content changes.\n- Optimize images and reserve media dimensions. Lazy-load below-the-fold images, video, GSAP, and\n  Three.js.\n- Use `Image`\u002F`Picture` from `astro:assets` for statically imported final imagery. For runtime CMS\n  URLs or public assets, keep explicit intrinsic width\u002Fheight, sizes, loading, and decoding.\n- Keep browser scripts scoped and removable. Clean up observers, WebGL contexts, GSAP contexts, and\n  event listeners.\n- Use canonical URLs, complete metadata, semantic landmarks, and accessible navigation.\n\n## Verify\n\nRun `astro check`, the production build, route tests, interaction tests, and rendered browser QA.\nTest the Markdown mode without network credentials. Run `npm run astro7:validate`. Refer to current\n[Astro documentation](https:\u002F\u002Fdocs.astro.build\u002F) when an Astro 7 API or deployment behavior is uncertain.\n","# Astro Best Practices\n\n## Use Astro 7 deliberately\n\n- Require Node 22.12+, Astro 7, Vite 8\u002FRolldown, and the Astro 7-compatible Alpine integration.\n- Astro 7's Rust compiler no longer repairs invalid HTML. Close every element\u002Fattribute correctly,\n  keep nesting valid, and add explicit `{' '}` when adjacent inline elements require whitespace.\n- Let Astro 7's Rust Satteri pipeline handle Markdown\u002FMDX by default. Do not add unified\u002Fremark\u002F\n  rehype compatibility unless a required plugin proves it is necessary.\n- Use `astro dev --background`, `astro dev status`, `astro dev logs`, and `astro dev stop` for agent\n  workflows. One orchestrator owns the native lock-protected server; workers never start servers.\n- Use `\u002F_astro\u002Fstatus` for readiness and `--json` for machine-readable agent logs.\n- Do not add `src\u002Ffetch.ts`, route caching, or a CDN cache provider to a static marketing site just\n  to claim feature usage. Advanced Routing and `Astro.cache` are for actual request-time pipelines.\n\n## Keep Astro server-first\n\n- Render pages and content to HTML at build time unless a requirement genuinely needs runtime\n  rendering.\n- Use `.astro` components, layouts, slots, and typed props. Add Alpine only around interactive\n  islands; do not add a framework runtime for static markup.\n- Keep secrets and microCMS access in server\u002Fbuild modules. Never expose a non-`PUBLIC_` variable.\n- Keep each route in the sitemap explicit and ensure the top page always exists.\n\n## Build reusable boundaries\n\n- Reuse layouts, head metadata, buttons, containers, media frames, headings, and repeated sections.\n- Keep data access behind `src\u002Flib\u002Fcontent\u002F`; pages and components should not know whether data came\n  from microCMS or Markdown.\n- Return consistent typed models from every content source and fail with actionable messages.\n- Use local Markdown fixtures for deterministic builds, previews, and CMS-unavailable fallback.\n\n## Ship fast pages\n\n- Prefer static output for Cloudflare Pages. Fetch build-time CMS data during `astro build` and use a\n  deploy hook when content changes.\n- Optimize images and reserve media dimensions. Lazy-load below-the-fold images, video, GSAP, and\n  Three.js.\n- Use `Image`\u002F`Picture` from `astro:assets` for statically imported final imagery. For runtime CMS\n  URLs or public assets, keep explicit intrinsic width\u002Fheight, sizes, loading, and decoding.\n- Keep browser scripts scoped and removable. Clean up observers, WebGL contexts, GSAP contexts, and\n  event listeners.\n- Use canonical URLs, complete metadata, semantic landmarks, and accessible navigation.\n\n## Verify\n\nRun `astro check`, the production build, route tests, interaction tests, and rendered browser QA.\nTest the Markdown mode without network credentials. Run `npm run astro7:validate`. Refer to current\n[Astro documentation](https:\u002F\u002Fdocs.astro.build\u002F) when an Astro 7 API or deployment behavior is uncertain.\n",{"name":5,"description":7},"main","d3a8ce969a9f628edd8b45355b94eb1620627947",".agents\u002Fskills\u002Fastro-best-practices","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin","出鱈目エンジニア👨‍💻","2026-06-23 20:16:52",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add kansai-gaijin\u002Fnate-llm-astro-stack --skill astro-best-practices",{"tool":37,"command":38},"bunx","bunx skills add kansai-gaijin\u002Fnate-llm-astro-stack --skill astro-best-practices",{"tool":40,"command":41},"pnpm","pnpm dlx skills add kansai-gaijin\u002Fnate-llm-astro-stack --skill astro-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fastro-best-practices\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",244,"https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fastro-best-practices\u002Fagents\u002Fopenai.yaml",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M75YFKMQE32XV5X6TSRXZMWH","web-design-direction","Direct distinctive reference-driven web design, creative elevation, responsive art direction, and fluid motion.","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fweb-design-direction\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M75YFJHKMD4GEXJZ8P5NHCNV","threejs-astro","Implement or audit a performant framework-free Three.js experience in Astro.","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fthreejs-astro\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M75YFH4X89QGJZCFY8WGJ8F7","tailwindcss-4","Implement and review interfaces with Tailwind CSS 4, reusable tokens, responsive composition, accessible states, and fluid motion.","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftailwindcss-4\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M75YFG3WRD93V99FYBFW2SJW","gsap-fluid-motion","Implement or audit complex, fluid, interruption-safe GSAP motion in Astro.","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsap-fluid-motion\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M75YFEAWB6HEP8NN2WAHHQHW","coding-best-practices","Implement and review reusable, accessible, secure, performant, production-quality web code.","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcoding-best-practices\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M75YFCPH47VZC1AEE9T6T0XD","astro-update-loop","Run a bounded post-approval maintenance loop for user-requested changes without regressing the final Astro site's content, design system, responsiveness, accessibility, or motion.","https:\u002F\u002Fgithub.com\u002Fkansai-gaijin\u002Fnate-llm-astro-stack\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fastro-update-loop\u002FSKILL.md",[],[]]