.claude/skills/astro-expert/SKILL.md
Astro framework expert including components, content collections, and integrations
npx skillsauth add oimiragieo/agent-studio astro-expertInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When reviewing or writing code, apply these guidelines:
Build and Deployment
When reviewing or writing code, apply these guidelines:
Component Development
When reviewing or writing code, apply these guidelines:
Content Management
When reviewing or writing code, apply these guidelines:
Data Fetching
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
Key Principles
This expert skill consolidates 1 individual skills:
defineCollection() + schema validation catches frontmatter errors at build time, not at runtime in production.client:load, client:idle, or client:visible intentionally; never rely on defaults; wrong hydration strategy defeats Astro's performance model.<Image> or getImage() from astro:assets; raw <img> tags skip width/height inference, format conversion, and LCP optimization.Astro.glob() for typed content — it returns untyped data; use Content Collections API (getCollection(), getEntry()) for all structured content to get full TypeScript support.| Anti-Pattern | Why It Fails | Correct Approach |
| ------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------ |
| Using React/Vue for static-only UI | Ships unnecessary JS; kills Astro's zero-JS default | Use .astro components for static content |
| Raw <img> tags instead of <Image> | Misses LCP optimization, format conversion, lazy loading | Use <Image> from astro:assets always |
| Content without Zod schema | Frontmatter errors surface at runtime, not build time | Define schema in src/content/config.ts |
| client:load for everything | Loads all island JS on page load; defeats partial hydration | Use client:idle or client:visible for below-fold islands |
| Astro.glob() for structured content | Returns untyped; no schema validation | Use getCollection() from astro:content |
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
tools
Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.
tools
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.
data-ai
Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.
development
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.