ワンクリックで
astro-conventions
Project conventions and architecture for this Astro site (tylerbutler.com)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Project conventions and architecture for this Astro site (tylerbutler.com)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | astro-conventions |
| description | Project conventions and architecture for this Astro site (tylerbutler.com) |
| user-invocable | false |
Two collections defined in src/content/config.ts:
src/content/articles/)YYYY-MM-DD-<slug>.md (recent) or YYYY/YYYY-MM-DD-<slug>.md (older, by year)title, datetags, slug, excerpt, draft, link, via, vialink, headingStartLevel, typetype: "guide" shows a table of contents; default is "standard"link field are auto-classified as link-type articles<!--more--> as excerpt separatorsrc/content/projects/)titledate, description, tags, url, github, draftSingle base layout: src/layouts/BaseLayout.astro
src/components/)Astro components: ArticlePage, Header, Footer, Navigation, ThemeToggle, BrokenLinkTooltip, SocialIconsBelow, FootnotesScript, BrokenUrlDisplay
Both .md and .mdx files go through remark/rehype plugins configured in astro.config.ts:
Remark (in order): remarkLazyLinks, remarkGfm, remarkSmartypants, remarkGithubBlockquoteAlert, remarkShiftHeadings
Rehype (in order): rehypeFootnotes, rehypeSlug, rehypeAutolinkHeadings, rehypeExpressiveCode, rehypeMarkBrokenLinks
src/pages/)index.astro - Homepage[...slug].astro / [slug].astro - Dynamic article routesarticles/ - Article listingprojects.astro / projects/ - Project listingabout.astro, colophon.astro, search.astrofeed.xml.ts - RSS feedtags/ - Tag pagespnpm build triggers Astro build with font download, Pagefind indexing, sitemap, broken link checkingrollup-plugin-visualizer in productiondist/assets/