This repo uses Astro, Tailwind CSS v4, and bun.
- Always use
buninstead ofnpmoryarn. - Always use
bunxinstead ofnpx.
- Always prefer the current Tailwind v4 canonical utility names.
- Do not introduce deprecated utility aliases when editing templates or styles.
- Example: prefer
bg-linear-to-roverbg-gradient-to-r.
- When old Tailwind utility names need to be migrated, use the official upgrader:
bunx @tailwindcss/upgrade --force- Use that command to fix deprecated class syntax across the repo instead of doing large manual replacements.
- Do not switch Open Graph or Twitter/X social meta images to
webp; usepngorjpg/jpegfor those assets and tags.
- Add the plugin registry entry in
apps/web/src/config/plugins.tsinsideactionDefinitionRowswith the package name, title, short description, and GitHub URL. - Add the plugin docs in
apps/docs/src/content/docs/docs/plugins/<docs-slug>/index.mdxandapps/docs/src/content/docs/docs/plugins/<docs-slug>/getting-started.mdx. - Add the English tutorial in
apps/web/src/content/plugins-tutorials/en/<tutorial-slug>.md. - The tutorial slug must match the GitHub URL slug used by
item.hrefon the plugin entry because/plugins/[slug]resolves from that repo slug. Examples:https://github.com/Cap-go/capacitor-live-activities/->apps/web/src/content/plugins-tutorials/en/capacitor-live-activities.mdhttps://github.com/Cap-go/electron-updater/->apps/web/src/content/plugins-tutorials/en/electron-updater.md - Register documented plugins in
apps/docs/src/config/sidebar.mjsso they appear in the Starlight plugin sidebar. - Register documented plugins in
apps/docs/src/config/llmsCustomSets.tsso they appear in the docs search and LLM sets. - Refresh metadata after adding a plugin with
bun run fetch:starsandbun run fetch:downloads. - Validate the change with
bunx prettier --write <touched-files>andNODE_OPTIONS=--max-old-space-size=16384 bunx astro checkin bothapps/webandapps/docs, orbun run checkfrom the repo root.