Token导航 LogoToken导航

Agent Skill · 研究检索

astro-dev(天文开发者)

astro-dev 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

astro-dev 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 63,891。

总安装 309周安装 13GitHub Stars 3下载 108核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:astro-dev(天文开发者)
来源仓库:https://github.com/augurproject/augur-reboot-website
仓库路径:skills/astro-dev
安装命令:
npx skills add https://github.com/augurproject/augur-reboot-website --skill astro-dev
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/augurproject/augur-reboot-website --skill astro-dev

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于 Astro + React + Tailwind CSS + Cloudflare Workers 全栈开发指导与自动化支持。适用于项目初始化、内容集合配置、View Transitions 集成与 Workers 部署流水线搭建。

使用时结合具体任务加载对应文档,如添加特性查 architecture.md,修复 bug 看 debugging.md。安装方式为 GitHub,支持 Codex、Claude、Cursor 和 Gemini CLI,需遵循 monorepo 结构与约束规范。

astro-dev 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/astro-dev

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/augurproject/augur-reboot-website --skill astr…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

astro-dev 怎么安装?

在终端执行 npx skills add https://github.com/augurproject/augur-reboot-website --skill astro-dev。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

astro-dev 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

astro-dev 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

astro-dev 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

astro-dev 用的人多吗?

公开数据是累计安装 309 次,近一周安装 13 次,下载 108 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

astro-dev 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
astro-dev

天文开发者 · 本页

3093接触敏感数据MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Astro Development Skill

Overview

Comprehensive guide for building modern web applications with Astro, React, Tailwind CSS v4, and Cloudflare Workers deployment.

What This Skill Provides

Automation Scripts

  • Project initialization - Bootstrap new Astro projects with best practices
  • Content collections setup - Generate type-safe content schemas
  • View Transitions integration - Add smooth page transitions automatically

Reference Documentation

  • Cloudflare Workers - Workers-first deployment (NOT Pages)
  • Cloudflare D1 - Serverless SQLite database integration
  • React integration - Interactive islands and hydration strategies
  • Tailwind CSS v4 - CSS-first configuration without config files
  • Content Collections - Type-safe content management
  • View Transitions - Smooth page animations
  • GitHub Actions - CI/CD automation

Component Templates

  • BaseLayout - Full page layout with header, footer, and View Transitions
  • Card - Reusable card component with Tailwind styling
  • Button - React button with variants and sizes

Quick Start

Initialize New Project

For Cloudflare Workers deployment (recommended):

./scripts/init_astro_cloudflare.sh my-app

Creates:

  • Astro project with SSR
  • React integration
  • Tailwind CSS v4
  • Cloudflare adapter configured
  • wrangler.jsonc for Workers deployment

For standard static site:

./scripts/init_astro_standard.sh my-site

Add Content Collections

python scripts/setup_content_collection.py blog

Creates:

  • src/content/blog/ directory
  • Type-safe Zod schema in src/content/config.ts
  • Example blog post

Collection types:

  • blog - Blog posts with frontmatter
  • docs - Documentation pages
  • products - Product data (JSON)

Add View Transitions

python scripts/add_view_transitions.py

Automatically adds View Transitions API to all layouts in src/layouts/.

Common Workflows

1. Create Astro + Cloudflare Workers Site

# Initialize project
./scripts/init_astro_cloudflare.sh my-blog

cd my-blog

# Set up content collections
python ../scripts/setup_content_collection.py blog

# Add View Transitions
python ../scripts/add_view_transitions.py

# Start development
npm run dev

# Deploy to Cloudflare Workers
npx wrangler deploy

2. Add D1 Database

See references/cloudflare-d1.md for:

  • Database creation
  • Schema definition
  • Query patterns
  • Drizzle ORM integration

3. Build Interactive Components

See references/react-integration.md for:

  • Client directives (load, idle, visible)
  • Hooks and state management
  • Form handling
  • Context API

4. Style with Tailwind v4

See references/tailwind-setup.md for:

  • CSS-first configuration
  • Custom themes
  • Dark mode
  • OKLCH colors
  • Container queries

Deployment

Cloudflare Workers (Recommended)

# One-time setup
npm install -g wrangler
wrangler login

# Deploy
npm run build
npx wrangler deploy

Key points:

  • Uses wrangler.jsonc configuration
  • Deploys to Cloudflare Workers (NOT Pages)
  • Main entry: ./dist/_worker.js
  • Static assets served from ./dist

See references/cloudflare-workers.md for:

  • Bindings (KV, D1, R2)
  • Environment variables
  • TypeScript types
  • SSR configuration

GitHub Actions

See references/github-actions.md for:

  • Automated deployments
  • Preview deployments for PRs
  • Security scanning
  • Performance budgets

Key Concepts

Rendering Modes

// astro.config.mjs

// Server-Side Rendering (all pages on-demand)
export default defineConfig({
  output: 'server',
});

// Hybrid (static by default, opt-in to SSR)
export default defineConfig({
  output: 'hybrid',
});

// Static (pre-rendered at build time)
export default defineConfig({
  output: 'static',
});

File Structure

my-astro-app/
├── src/
│   ├── pages/              # File-based routing
│   │   ├── index.astro
│   │   ├── blog/
│   │   │   └── [...slug].astro
│   │   └── api/           # API endpoints
│   │       └── data.ts
│   ├── layouts/           # Page layouts
│   │   └── BaseLayout.astro
│   ├── components/        # Astro components
│   │   └── Card.astro
│   ├── components/        # React components
│   │   └── Button.tsx
│   ├── content/           # Content collections
│   │   ├── config.ts
│   │   └── blog/
│   ├── styles/            # Global CSS
│   │   └── global.css
│   └── env.d.ts           # TypeScript types
├── public/                # Static assets
│   └── .assetsignore      # Workers asset config
├── astro.config.mjs       # Astro configuration
├── wrangler.jsonc         # Cloudflare Workers config
├── package.json
└── tsconfig.json

Client Directives

Control when React components hydrate:

<!-- Hydrate immediately -->
<Counter client:load />

<!-- Hydrate when idle -->
<SocialShare client:idle />

<!-- Hydrate when visible -->
<Comments client:visible />

<!-- Hydrate on specific media query -->
<MobileMenu client:media="(max-width: 768px)" />

<!-- Client-only (no SSR) -->
<BrowserWidget client:only="react" />

Cloudflare Runtime

Access Workers APIs in pages and API routes:

---
// In .astro files
const { env, cf, ctx } = Astro.locals.runtime;

// Use KV
const data = await env.MY_KV.get('key');

// Use D1
const { results } = await env.DB.prepare('SELECT * FROM users').all();

// Request properties
const country = cf.country;
---

Best Practices

Performance

  1. Use SSG when possible - Pre-render static content
  2. Optimize images - Use Astro's <Image /> component
  3. Minimize client JS - Use React only where needed
  4. Leverage edge caching - Set cache headers on API routes
  5. Use KV for caching - Cache expensive operations

Development

  1. Type everything - Use TypeScript for better DX
  2. Validate content - Use Zod schemas for content collections
  3. Test locally - Use platformProxy for bindings in dev
  4. Generate types - Run wrangler types after binding changes
  5. Follow conventions - Use file-based routing

Deployment

  1. Deploy to Workers - Use Workers, not Pages (Cloudflare recommendation)
  2. Use environments - staging/production in wrangler.jsonc
  3. Automate with CI/CD - GitHub Actions for deployments
  4. Monitor performance - Use Cloudflare Analytics
  5. Review logs - Use wrangler tail for debugging

Troubleshooting

Common Issues

Build Errors:

  • Run npx astro check for TypeScript errors
  • Check Node.js version (18+)
  • Clear .astro cache and rebuild

Hydration Issues:

  • Ensure React components have client:* directive
  • Check for SSR-incompatible code (browser APIs)
  • Use client:only if component can't be server-rendered

Deployment Issues:

  • Verify wrangler.jsonc configuration
  • Check CLOUDFLARE_API_TOKEN permissions
  • Ensure bindings are configured correctly
  • Review wrangler tail logs

Tailwind Not Working:

  • Import global.css in layout
  • Verify Vite plugin in astro.config.mjs
  • Check @import "tailwindcss" at top of CSS

Resources

Documentation

Tools

Reference Files

  • cloudflare-workers.md - Workers deployment guide
  • cloudflare-d1.md - D1 database setup
  • react-integration.md - React patterns
  • tailwind-setup.md - Tailwind v4 config
  • content-collections.md - Content management
  • view-transitions.md - Page animations
  • github-actions.md - CI/CD workflows

Updating This Skill

Astro and its ecosystem evolve rapidly. To update:

  1. Search for latest Astro documentation
  2. Update reference files with new patterns
  3. Add new scripts for common workflows
  4. Test changes with real projects
  5. Repackage the skill

Version Information

This skill is current as of:

  • Astro 5.x
  • React 19.x
  • Tailwind CSS 4.x
  • Cloudflare Workers (latest)
  • @astrojs/cloudflare 11.x+

Last updated: October 2024

Notes

  • Cloudflare Workers, NOT Pages - This skill focuses exclusively on Workers deployment
  • Tailwind v4 - Uses CSS-first configuration (no tailwind.config.js)
  • Type-safe - Leverages TypeScript throughout
  • Modern stack - Latest versions and best practices

平台分布

OpenCode

32.79%
按下载量换算35

Claude Code

23.66%
按下载量换算26

Antigravity

16.48%
按下载量换算18

github-copilot

13.42%
按下载量换算14

Codex

8.35%
按下载量换算9

Cursor

3.44%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills