Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #ai #testing

astro-developer

Comprehensive guide for developing in the Astro monorepo. Covers architecture, debugging, testing, and critical constraints. Use when working on features, fixes, tests, or understanding the codebase structure.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=withastro-astro-agents-skills-astro-developer-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name astro-developer description Comprehensive guide for developing in the Astro monorepo. Covers architecture, debugging, testing, and critical constraints. Use when working on features, fixes, tests, or understanding the codebase structure. Astro Developer Skill Context-loading skill for AI agents and developers working in the Astro monorepo. Loads relevant documentation based on your task. Quick Decision Matrix What are you doing? → Read these files: Task Primary Docs Supporting Docs Adding a core feature architecture.md , constraints.md testing.md Fixing a bug debugging.md architecture.md Writing/fixing tests testing.md constraints.md Creating an integration Explore packages/integrations/ for examples testing.md Understanding architecture architecture.md - Dealing with errors debugging.md , constraints.md testing.md Understanding constraints constraints.md architecture.md Critical Warnings Before you start, be aware of these common pitfalls: Prefer Unit Tests : Write unit-testable code by default. Use integration tests only when necessary → testing.md Node.js API Restrictions : Cannot use Node.js APIs in runtime/ code → constraints.md Test Isolation : Must set unique outDir for each integration test → testing.md Runtime Boundaries : Core vs Vite vs Browser execution contexts → architecture.md Prerelease Mode : Changesets target origin/next branch (check .changeset/config.json ) Quick Command Reference # Development pnpm install # Install (root only) pnpm run build # Build all packages pnpm run dev # Watch mode pnpm run lint # Lint codebase # Testing pnpm -C packages/astro exec astro-scripts test "test/**/*.test.js" # All tests pnpm -C packages/astro exec astro-scripts test -m "pattern" # Filter tests pnpm run test :e2e # E2E tests node -- test test /file.test.js # Single test # Examples pnpm --filter @example/minimal run dev # Run example # Changesets pnpm exec changeset --empty # Create changeset, no interactive mode Key File Paths packages/astro/src/ ├── core/ # Node.js execution context (build/dev commands) ├── runtime/ │ ├── server/ # Vite SSR execution context │ └── client/ # Browser execution context ├── virtual-modules/ # Virtual module entry points ├── content/ # Content layer system ├── vite-plugin-*/ # Vite plugins └── types/ # Centralized TypeScript types packages/integrations/ # Official integrations examples/ # Test your changes here test/fixtures/ # Test fixtures Note : Error stack traces in node_modules/ map to source in packages/ . See architecture.md for details. Usage This skill loads relevant context—it doesn't orchestrate workflows. After loading appropriate docs: Read the recommended files for your task Apply the patterns and constraints described Use the commands and file paths provided Search docs for error messages if you encounter issues Architecture Quick Summary Three Execution Contexts: core/ → Node.js, build/dev commands, avoid Node APIs except in Vite plugins runtime/server/ → Vite SSR, CANNOT use Node APIs runtime/client/ → Browser, CANNOT use Node APIs at all Five Pipeline Types: RunnablePipeline → astro dev with Vite loader system NonRunnablePipeline → astro dev without runtime module loading (Cloudflare adapter) BuildPipeline → astro build + prerendering AppPipeline → Production serverless/SSR ContainerPipeline → Container API See architecture.md for complete details. Testing Quick Summary Philosophy : Prefer unit tests over integration tests. Write unit-testable code by default. Unit tests (fast, preferred): Test pure functions and business logic Extract business logic from infrastructure Use dependency injection Integration tests (slow, use sparingly): Only for features that cannot be unit tested (virtual modules, full build pipeline) Always set unique outDir to avoid cache pollution See testing.md for complete patterns and examples. When NOT to Use This Skill Bug triage : Use the triage skill instead GitHub Actions analysis : Use the analyze-github-action-logs skill Simple questions : Just ask directly, don't load this skill Related Documentation Root: /AGENTS.md Root: /CONTRIBUTING.md Astro docs: https://docs.astro.build/ Package: packages/astro/src/core/README.md Build plugins: packages/astro/src/core/build/plugins/README.md
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。