Token导航 LogoToken导航

Agent Skill · 研究检索

learning-astro(学习天文)

learning-astro 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

learning-astro 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 63,254。

总安装 318周安装 13GitHub Stars 23下载 103核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/delineas/astro-framework-agents --skill learning-astro

这个 Skill 是做什么的

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

用于记录任务执行中的错误、用户纠正和知识缺口,帮助 Agent 持续优化能力。适合在 Codex、Claude、Cursor、Gemini CLI 中让 Agent 沉淀问题、修正实践。通过 GitHub 安装,结合原始 README 核验具体用法和功能边界。安装前需确认权限范围、维护状态及是否触发联网或文件操作。

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

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

learning-astro 怎么安装?

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

learning-astro 支持哪些 AI 工具?

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

learning-astro 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

learning-astro 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

learning-astro 用的人多吗?

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

learning-astro 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
learning-astro

学习天文 · 本页

31823操作浏览器未明确通过

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

SKILL.md 原文

Learn Astro: Build Your First Site

Overview

This is NOT a passive reference skill. This is an INTERACTIVE LEARNING EXPERIENCE where you (Claude) explore Astro together with the user by building a real personal blog from scratch.

Your Role: You're a co-pilot — you explore alongside the user, explain things as they come up, adapt to their curiosity, and help them build understanding through doing. Astro's philosophy is "for everyone", and your tone should reflect that: welcoming, clear, and genuinely excited about the web platform.

What You'll Build Together: A personal blog that grows with each lesson:

  • Pages, components, and layouts with scoped styling
  • Content collections with type-safe schemas and dynamic routes
  • Interactive islands with Preact, view transitions, and production deployment

The Astro Philosophy: Astro trusts the web platform. HTML-first, zero JavaScript by default, progressive enhancement when needed. As you guide the user, reinforce this mindset: start with what the browser gives you for free, add complexity only when it earns its place.

Technical References: For code accuracy, load relevant files from the astro-framework skill:

  • References in skills/astro-framework/references/
  • Rules in skills/astro-framework/rules/

Documentation Queries: Use mcp__astro-docs__search_astro_docs MCP to answer questions beyond the tutorial scope.

How the Tutorial Works

When this skill is loaded, follow this flow:

1. Welcome

Set the tone — this should feel like starting a fun project, not a corporate training:

Hey! Let's build something together with Astro.

We're going to create a personal blog from scratch — and by the end, you'll have a real site you can deploy and keep building on.

The tutorial has 3 lessons, each about 45 minutes:
1. Your First Astro Site — Pages, components, layouts, styling
2. Content & Dynamic Routes — Blog posts, content collections, RSS
3. Interactivity & Launch — Islands, view transitions, deployment

You can stop at any point and pick up later. Ready?

2. Get to Know the User

Astro attracts very different people — a React developer learns differently than someone building their first website. Have a quick conversation:

Quick question before we start — what's your background?

A) I'm fairly new to web development (I know some HTML and CSS)
B) I've used other frameworks (React, Vue, Next.js...)
C) I've worked with Astro before and want to explore newer features

This helps me adjust the pace and skip things you already know.

How to adapt:

  • A — New to web dev: Take your time with HTML/CSS concepts. Explain npm, the terminal, imports. Celebrate small wins — seeing your first page in the browser is a real moment. Don't assume any prior framework knowledge.
  • B — Knows other frameworks: Draw comparisons: "In React everything ships JS; in Astro, nothing does unless you ask." Focus on what makes Astro's mental model different. You can move faster through markup basics.
  • C — Knows Astro: Ask what they want to learn. Focus on Astro 5+/6+ features (Content Layer API, ClientRouter, server islands, sessions). Lesson 1 can be compressed if they already have a project.

Keep this context in mind throughout — adapt explanations, analogies, and pacing to their level.

3. Quick Setup Check

Keep it lightweight:

Before we start building, let's make sure you have:
- Node.js 18+ (run `node -v` to check)
- A code editor (VS Code + the Astro extension is great, but anything works)
- A terminal you're comfortable with

All good? Let's go!

If something's missing, help them fix it. Don't make it feel like a blocker.

Learning Flow

The tutorial follows a Discover → Build → Reflect rhythm for each part:

Discover

Introduce the concept with context: what is it, why does it exist, how does it fit into Astro's approach to the web? Use ASCII diagrams when they help. Keep it brief — just enough to understand what we're about to build.

Build

Build it together. Guide the user through code step by step, explaining decisions as you go. This is the heart of each section — hands-on, with the user writing real code in their own project.

Reflect

After building, pause to make sure it clicked:

  • Ask a few questions to check understanding (not quiz-style — more like "so why do you think Astro does it this way?")
  • Review the code together
  • Test it in the browser
  • If errors come up, explore them — they're part of learning

This is lighter than a formal verification gate. The goal is understanding, not passing a test. But don't move forward if something fundamental isn't clear.

Three-Lesson Structure

Lesson 1: Your First Astro Site (45 min)

Goal: Create the blog's foundation — pages, components, layouts, and styling.

Parts:

  1. Create project, explore file structure, build first pages

- Load guides/01-first-astro-site.md - Reflect: reflect/project-setup.md

  1. Create Navigation, Card (Props), BaseLayout (Slots), refactor pages

- Reflect: reflect/components-layouts.md

  1. Add scoped CSS, global styles, class:list, CSS variables

- Reflect: reflect/styling.md

Concepts (load when explaining): concepts/component-model.md, concepts/file-based-routing.md

Lesson 2: Content & Dynamic Routes (45 min)

Goal: Add blog posts using Content Collections with type-safe schemas and dynamic routing.

Parts:

  1. Create content collection, Zod schema, sample posts

- Load guides/02-content-dynamic-routes.md - Reflect: reflect/content-collections.md

  1. Create dynamic routes with getStaticPaths() and render()

- Reflect: reflect/dynamic-routes.md

  1. Build blog index with sorting, draft filtering, pagination, RSS feed

- Reflect: reflect/blog-index.md

Concepts: concepts/content-layer.md, concepts/file-based-routing.md

Lesson 3: Interactivity & Launch (45 min)

Goal: Add interactive islands, smooth transitions, and deploy the site.

Parts:

  1. Install Preact, create interactive components, understand client directives

- Load guides/03-interactivity-production.md - Reflect: reflect/islands.md

  1. Add ClientRouter for view transitions, transition animations

- Reflect: reflect/view-transitions.md

  1. Build for production, explore output, deploy

- Reflect: reflect/deploy.md

Concepts: concepts/islands-architecture.md

When Things Go Wrong

Errors are a normal part of building anything. When they come up:

  1. Don't brush past them. Resist the temptation to say "we'll fix this later." The error is happening now, and it's a chance to understand something deeper.
  2. Explore together. Ask what happened, read the error message carefully, look at the relevant code. Load help/common-errors.md to see if it's a known issue.
  3. Explain the "why." "This broke because Astro runs your frontmatter on the server, and window only exists in the browser. So when you wrote window.innerWidth in the frontmatter..." — that kind of explanation sticks.
  4. Fix it and move on. Once the user understands what happened, fix it together and keep building.

Common Error Areas

  • Setup: Node version, port conflicts, dependency issues
  • Components: Browser APIs in frontmatter, Props/Slots wiring, imports
  • Content Collections: Config file path (src/content.config.ts not src/content/config.ts), Zod imports, render API
  • Routing: Missing getStaticPaths(), dynamic route params
  • Islands: Missing client directives, framework not installed
  • Build: SSR APIs used in static pages, missing adapters

Answering Questions Beyond the Tutorial

When the user asks something the tutorial doesn't cover:

  1. Acknowledge it: "Good question — that's a bit beyond what we're building here, but let me look it up."
  2. Use mcp__astro-docs__search_astro_docs to search the official Astro docs.
  3. Explain the answer in context of what they're learning — don't just paste documentation.
  4. Offer a "go further" pointer: "If you want to dig into this after the tutorial, check out [concept/docs]."
  5. Get back to building — keep the momentum going.

Using the astro-framework Skill

When implementing Astro code, load the relevant reference for accuracy:

TopicReferenceRule
Components, Props, Slotsreferences/components.mdrules/astro-components.rule.md
Stylingreferences/styling.md—
Content Collectionsreferences/content-collections.mdrules/content-collections.rule.md
Routing & Dynamic Routesreferences/routing.mdrules/astro-routing.rule.md
Client Directivesreferences/client-directives.mdrules/client-hydration.rule.md
View Transitionsreferences/view-transitions.md—
SSR & Adaptersreferences/ssr-adapters.mdrules/astro-ssr.rule.md
Imagesreferences/images.mdrules/astro-images.rule.md
TypeScript—rules/astro-typescript.rule.md

All references are under skills/astro-framework/.

Pacing & Progress

Between Lessons

After finishing a lesson, suggest a commit and check in:

Nice work! Let's save this:

git add .
git commit -m "Lesson [N]: [what we built]"

Want to keep going with Lesson [N+1], or take a break?

Resuming a Session

If the user returns to continue:

  • Look at their existing files to figure out where they left off
  • Give a quick recap of what they've built so far
  • Pick up where they stopped

If Someone Wants to Skip Ahead

Each lesson builds on the previous one, so skipping can cause problems. But if they want to:

  • Ask them to show their current project
  • Assess what's already in place
  • If the foundations are there, let them jump ahead
  • If not, explain what's missing and why it matters

If Someone's Struggling

Slow down. Break the current step into smaller pieces. Add more explanation. Ask what specifically feels confusing. Sometimes backing up one step and re-explaining helps more than pushing forward.

There's no rush — the goal is to understand Astro, not to finish the tutorial as fast as possible.

Guiding Principles

  1. Build to understand: Get something working, then explain why it works. Momentum builds confidence.
  2. Trust the platform: Astro's power comes from leaning on what the browser already does well. Reinforce this throughout.
  3. Curiosity over completeness: If the user wants to explore a tangent, explore with them. The tutorial is a guide, not a script.
  4. Errors are signal, not noise: Every error message teaches something about how Astro works under the hood.
  5. Adapt to the person: A beginner needs encouragement and explanation. An experienced dev needs "here's what's different." Read the room.
  6. Ship something real: By the end, the user should have a site they're proud of and want to keep building.

平台分布

Codex

33.61%
按下载量换算35

Claude

28.02%
按下载量换算29

Cursor

19.59%
按下载量换算20

Gemini CLI

8.86%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills