This skill streamlines the addition of new content types—such as tutorials, changelogs, or case studies—to an Astro 6 project by enforcing a strict architectural contract. It synchronizes changes across four critical areas: the collection schema in src/content.config.ts, query helpers in src/lib/content.ts, URL builders in src/lib/urls.ts, and the physical content directories. By automating the boilerplate for locales, translation keys, and draft management, it ensures that new content types are instantly compatible with existing i18n routing and site-wide filtering rules.
主な機能
01Enforces a standard i18n contract including lang, translationKey, and tags
02Auto-scaffolds folder structures and example entries for all project locales
03Generates Astro 6 compliant schemas using the glob() loader
04Scaffolds localized query helpers with built-in draft and locale filtering
05Creates consistent URL builders to prevent broken internal links
063 GitHub stars
ユースケース
01Creating a 'Changelog' collection with automated draft exclusion for RSS feeds
02Expanding a documentation site with new specialized content types like 'Recipes' or 'APIs'
03Adding a multi-language 'Case Studies' section to a corporate website