← Back to list

astro-page-vs-island
by dallington
⭐ 0🍴 0📅 Jan 20, 2026
SKILL.md
name: astro-page-vs-island description: Decides when to use Astro pages versus React islands, minimizing unnecessary client-side JavaScript.
Astro Page vs Island Decision
This skill enforces correct separation between Astro and React, preventing overuse of client-side hydration.
When to use this skill
Use this skill when:
- Creating or refactoring pages in an AstroJS project
- Mixing
.astrofiles with React components - Deciding whether a feature needs interactivity
Do NOT use this skill when:
- The project is not using AstroJS
- The component is already clearly interactive or static
How to use it
- Analyze the feature requirements
- Classify the component as:
- Static (Astro page/component)
- Interactive (React island)
- Use React only when interactivity is required
- Apply the minimum necessary
client:*directive
Decision Rules
- Static content →
.astro - Forms, state, events → React
- Avoid
client:loadby default - Prefer
client:visibleorclient:idle
Expected Output
- Clear justification for Astro vs React usage
- Reduced client-side JavaScript
- Better performance and maintainability
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon