astro-tailwind-expert — astro-tailwind-expert install astro-tailwind-expert, zaf_tech_landing, community, astro-tailwind-expert install, ide skills, astro and tailwind integration, vite and typescript setup, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing efficient Astro project management with Tailwind styling. astro-tailwind-expert is a skill that integrates Astro and Tailwind for optimized web development, utilizing technologies like Vite and TypeScript.

Features

Utilizes Astro for routing, treating src/pages/ as the routing surface
Leverages Tailwind v4 via @tailwindcss/vite for styling
Manages shared structure in src/layouts/ with a default layout in src/layouts/Layout.astro
Loads global styles from src/styles/global.css
Supports aliasing with @/* for src/*, configured in tsconfig.json
Streamlines build output in the dist directory

# Core Topics

ZafTec ZafTec
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The astro-tailwind-expert skill by ZafTec is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for astro-tailwind-expert install, astro and tailwind integration, vite and typescript setup.

Ideal Agent Persona

Perfect for Frontend Agents needing efficient Astro project management with Tailwind styling.

Core Value

Empowers agents to streamline routing and layout management using Astro and Tailwind v4 via @tailwindcss/vite, while leveraging global styles from src/styles/global.css and shared structures in src/layouts/

Capabilities Granted for astro-tailwind-expert

Streamlining Astro project routing using src/pages/
Managing layouts with src/layouts/Layout.astro
Applying global styles from src/styles/global.css
Utilizing Tailwind v4 for styling via @tailwindcss/vite

! Prerequisites & Limits

  • Requires Astro project setup
  • Dependent on Tailwind v4 via @tailwindcss/vite
  • Limited to projects using src/pages/ as routing surface
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

astro-tailwind-expert

Install astro-tailwind-expert, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Astro + Tailwind Expert (Repo Skill)

Use these project facts

  • Treat src/pages/ as the routing surface. Each .astro or .md file becomes a route.
  • Keep shared structure in src/layouts/. The default layout is src/layouts/Layout.astro.
  • Load global styles from src/styles/global.css (already imported in Layout.astro).
  • Rely on Tailwind v4 via @tailwindcss/vite in astro.config.mjs.
  • Use the @/* alias for src/* (configured in tsconfig.json).
  • Leave build output in dist/ and dependencies in node_modules/ untouched.
  • Refer to Astro docs: https://docs.astro.build/llms-full.txt and Tailwind docs: https://tailwindcss.com/docs for guidance. Use Context7 and/or Astro Docs MCP for up-to-date info.
  • Use Bun for all package operations (bun add, bun remove, bun update) instead of npm.

Workflow: create or update a page

  1. Create or edit a file in src/pages/.
  2. Import the layout with import Layout from '@/layouts/Layout.astro';.
  3. Wrap page content in <Layout>...</Layout>.
  4. Use Tailwind utility classes for styling.
  5. If the page needs a sub-route, create a folder in src/pages/ and add index.astro.

Workflow: add a new layout or shared wrapper

  1. Create a new layout in src/layouts/.
  2. Import @/styles/global.css once in the layout frontmatter.
  3. Provide a <slot /> for page content.
  4. Use this layout by importing it in pages that need it.

Workflow: add a reusable component

  1. Create src/components/ if it does not exist.
  2. Add .astro components there.
  3. Keep components focused and stateless unless state is required.
  4. Use component props with Astro.props in frontmatter.
  5. Import components with @/components/....

Workflow: use client islands

  • Keep pages mostly static; hydrate only what needs interactivity.
  • Use client:load, client:visible, or client:idle on React/TSX islands.
  • Avoid global client JS when an island will do.
  • Prefer is:inline scripts for small interactions scoped to a section.

Workflow: use images

  • Use import { Image } from 'astro:assets' for optimized images.
  • Store optimized images under src/assets/ and import them.
  • Keep unoptimized/static files (favicons, robots.txt, manifest) under public/.
  • Provide explicit width, height, and sizes for Image.

Workflow: environment variables

  • For build-time config, use import.meta.env.
  • For runtime server config (SSR/API routes on Node), prefer process.env.
  • Never expose secrets to the client; only use public vars in client code.

Workflow: style with Tailwind

  • Prefer utility classes over custom CSS for one-off styles.
  • Place shared or base styles in src/styles/global.css.
  • If you need design tokens or theme extension, add a Tailwind config and include Astro file globs in content.
  • Keep class names readable and scoped to the element they affect.

Workflow: author Markdown routes

  • Add .md files under src/pages/ for simple content routes.
  • Use frontmatter for titles, metadata, or layout selection.
  • Keep Markdown lightweight; move advanced layouts to .astro.

Astro patterns to use

  • Use frontmatter for imports and server-side logic.
  • Use class:list only when conditional classes are necessary.
  • Keep layout structure in Layout folder; keep page-specific markup in pages.
  • Make use of @/ alias for cleaner imports. Implement it if not configured.
  • Prefer export const prerender = false for API routes that must run at request time.
  • Refer to latest docs online for new features or best practices.

Quality checks

  • Run bun dev for local development.
  • Run bun build before shipping changes.
  • Use bun preview to verify the built output.

Change discipline

  • Make minimal, focused edits.
  • Avoid editing generated output in dist/.
  • Avoid editing dependency artifacts in node_modules/ or lockfiles unless asked.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is astro-tailwind-expert?

Perfect for Frontend Agents needing efficient Astro project management with Tailwind styling. astro-tailwind-expert is a skill that integrates Astro and Tailwind for optimized web development, utilizing technologies like Vite and TypeScript.

How do I install astro-tailwind-expert?

Run the command: npx killer-skills add ZafTec/zaf_tech_landing/astro-tailwind-expert. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for astro-tailwind-expert?

Key use cases include: Streamlining Astro project routing using src/pages/, Managing layouts with src/layouts/Layout.astro, Applying global styles from src/styles/global.css, Utilizing Tailwind v4 for styling via @tailwindcss/vite.

Which IDEs are compatible with astro-tailwind-expert?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for astro-tailwind-expert?

Requires Astro project setup. Dependent on Tailwind v4 via @tailwindcss/vite. Limited to projects using src/pages/ as routing surface.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add ZafTec/zaf_tech_landing/astro-tailwind-expert. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use astro-tailwind-expert immediately in the current project.

Related Skills

Looking for an alternative to astro-tailwind-expert or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI