add-integration
Skill10 starsChanged 7 months agoMITView on GitHub
Add and configure Astro integrations, adapters, and UI framework tooling.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- VinkyDev/vibestarttheir own version, first seen Oct 25, 2026
- teachskillofskills-ai/DigitalMarketingPro-techshutheir own version, first seen Oct 11, 2026
- Ame-Al/ametheir own version, first seen Oct 8, 2026
- simstudioai/simtheir own version, first seen Oct 8, 2026
- calven-ai/marketing-as-codetheir own version, first seen Oct 7, 2026
- kdlbs/kandevtheir own version, first seen Oct 6, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- simstudioai/sim★ 30ksame name
- kdlbs/kandev★ 1.1ksame name
- indranilbanerjee/digital-marketing-pro★ 934same name
- VinkyDev/vibestart★ 289same name
- calven-ai/marketing-as-code★ 10same name
- Ame-Al/ame★ 1same name
- teachskillofskills-ai/DigitalMarketingPro-techshu★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- astro-best-practicesSkill
- content-collectionSkill
- create-componentSkill
- docs-lookupSkill
- migrateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when adding official or community integrations to an Astro project, including UI frameworks, styling tools, adapters, …
- Very specific: line 10
If astro-best-practices is available, apply it alongside this skill for performance, accessibility, and hydration defaults.
- Very specific: line 28
Use astro add when an official integration supports it:
- Very specific: line 36
If the integration is community-maintained, install it with the project package manager and wire it into astro.config.* manually.
- Distinctive: line 38
Before finalizing, verify the current setup in the official Astro docs or the integration README, especially when Astro or the integration …
- Distinctive: line 40
If the project is also upgrading Astro itself, upgrade Astro and official integrations together.
- Distinctive: line 46
add integrations explicitly and keep the array readable
- Distinctive: line 48
avoid enabling server output unless the feature actually needs request-time work
- Distinctive: line 64
When adding React, Vue, or another UI framework:
- Very specific: line 66
prefer .astro for static content
- Distinctive: line 67
keep framework components for interactive islands
- Distinctive: line 79
Do not stop at package installation.
- Very specific: line 100
run the project checks that make sense for the repo, such as astro check, astro build, or the existing test suite
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add Astro Integration
Use this skill when adding official or community integrations to an Astro project, including UI frameworks, styling tools, adapters, content tooling, and utilities.
If astro-best-practices is available, apply it alongside this skill for performance, accessibility, and hydration defaults.
Workflow
1. Classify the integration
Identify what is being added before changing anything:
- UI framework: React, Vue, Svelte, Preact, Solid
- Styling: Tailwind, UnoCSS, Sass, CSS tooling
- Deployment adapter: Netlify, Vercel, Cloudflare, Node
- Content tooling: MDX, Markdoc, CMS integrations
- Utilities: sitemap, Partytown, analytics, database helpers
This determines whether the change affects rendering mode, hydration, config shape, or build output.
2. Prefer the official Astro path
Use astro add when an official integration supports it:
npx astro add react
npx astro add tailwind
npx astro add netlifyIf the integration is community-maintained, install it with the project package manager and wire it into astro.config.* manually.
Before finalizing, verify the current setup in the official Astro docs or the integration README, especially when Astro or the integration recently changed versions.
If the project is also upgrading Astro itself, upgrade Astro and official integrations together. For Astro 6, confirm the environment is running Node 22.12.0 or newer before treating integration issues as application bugs.
3. Configure Astro deliberately
When editing astro.config.*:
- add integrations explicitly and keep the array readable
- set
outputonly when the adapter or runtime requires it - avoid enabling server output unless the feature actually needs request-time work
- preserve existing config ordering unless the integration docs require a specific sequence
Example:
import { defineConfig } from 'astro/config'
import react from '@astrojs/react'
export default defineConfig({
integrations: [react()],
})4. Handle framework components with restraint
When adding React, Vue, or another UI framework:
- prefer
.astrofor static content - keep framework components for interactive islands
- choose the lightest client directive that satisfies the UX
Hydration guidance:
client:visiblefor below-the-fold or deferred UIclient:idlefor non-critical enhancementsclient:loadonly for immediately interactive UIclient:onlyonly when skipping server rendering is intentional
5. Finish the surrounding setup
Do not stop at package installation. Check for:
- stylesheet imports or entrypoints
- environment variables
- config files such as
tailwind.config.* - adapter-specific output requirements
- platform deployment settings
For Tailwind v4, the minimum setup is often just:
@import "tailwindcss";and importing that stylesheet from a shared layout or entrypoint.
6. Validate the result
After setup:
- confirm the integration is registered in
astro.config.* - run the project checks that make sense for the repo, such as
astro check,astro build, or the existing test suite - confirm the deployment/runtime environment still matches the adapter requirements after major Astro upgrades
- inspect for hydration mismatches, missing styles, or adapter/runtime drift
Common Failure Modes
- Package installed but not added to
integrations - Adapter added without matching
output - Styles present but never imported
- Framework component added where a plain
.astrocomponent would be simpler - Overuse of
client:load, increasing JavaScript cost
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

