بنقرة واحدة
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/