跳到正文
cccskills
免费在 GitHub 公开

readme

Use when starting work on an AstroDeck project, needing to understand the project structure, or looking up available components, sections, and layouts.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck星标 80(GitHub 80 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

AstroDeck README Skill

This skill provides access to the complete AstroDeck project documentation.

When to Use This Skill

  • Starting work on an AstroDeck project
  • Creating new pages or components
  • Understanding available sections and layouts
  • Troubleshooting installation or configuration
  • Learning about the project structure
  • Finding deployment instructions

Instructions

  1. Read the README.md file at the project root for comprehensive documentation
  2. The README contains:
    • Project overview and features
    • Installation instructions
    • Development commands
    • Complete project structure
    • Usage guide for pages, components, and layouts
    • Component library overview (15+ sections)
    • Customization guide
    • Deployment instructions
    • Troubleshooting guide
    • AI-friendly development information

Quick Reference

Key Commands

npm install    # Install dependencies
npm run dev    # Start development server (localhost:4321)
npm run build  # Build for production
npm run preview # Preview production build

Three-Tier Architecture

AstroDeck uses a three-tier hierarchy of building blocks:

TierWhatCountLocation
ComponentsSmall UI primitives (Button, Dialog, Tabs...)11src/components/ui/
SectionsFull page sections (Hero, Pricing, FAQ...)16src/components/sections/
PagesComplete page templates (SaaS, Portfolio...)11src/pages/

Components are the smallest pieces. Sections combine components into full-width blocks. Pages assemble sections into complete websites.

Project Structure

src/
├── components/sections/  # TIER 2: Hero, CTA, Features, Pricing, FAQ, etc.
├── components/ui/        # TIER 1: shadcn/ui components (Button, Card, Dialog...)
├── layouts/              # BaseLayout, FullWidthLayout, AuthLayout, ArticleLayout
├── pages/                # TIER 3: Complete pages with file-based routing
├── content/              # Content Collections (blog)
├── styles/globals.css    # Design tokens
└── lib/utils.ts          # Utility functions

Available Layouts

  • BaseLayout - Boxed, centered content (max-w-5xl)
  • FullWidthLayout - Full-width for showcase pages
  • AuthLayout - Minimal, no header/footer
  • ArticleLayout - Blog/article pages

Import Convention

Always use path aliases:

import Component from "@/components/Component.astro";
import { Button } from "@/components/ui/button";
import Layout from "@/layouts/BaseLayout.astro";

Action

When this skill is invoked, read the full README.md file from the project root to get complete, up-to-date documentation.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when creating or modifying any UI element visible to the user, reviewing HTML markup, adding interactive elements, or when Lighthouse Accessibility drops below 90.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

astro

免费

Use when creating or modifying .astro/.tsx files, configuring astro.config.mjs, working with Content Collections, or when TypeScript or build errors occur.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

Use when creating or editing pages, blog posts, or content files, adding meta tags, or when Lighthouse SEO drops below 90.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

qa

免费

Use when completing any task (final validation step), running audits, preparing for deployment, or when ESLint/TypeScript/build errors occur.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

tailwind

免费

Use when writing or reviewing any CSS class, changing colors, modifying globals.css, or when hardcoded colors or inline styles are detected.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

ui-design

免费

Use when creating or modifying any visible UI element, adjusting spacing or typography, reviewing visual consistency, or when Lighthouse Performance drops below 90.

中文简介正在准备中。当前显示原文说明。

holger1411/astrodeck802026年9月5日 更新

查看 holger1411 的全部技能

报告此技能的问题