Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计通过

validate-aspire-runtime验证 aspire 运行时

Agent Skill

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

总安装

559

周安装

24

GitHub Stars

86

下载量

196
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:validate-aspire-runtime(验证 aspire 运行时)
来源仓库:https://github.com/marcelmichau/fake-survey-generator
仓库路径:skills/validate-aspire-runtime
安装命令:
npx skills add https://github.com/marcelmichau/fake-survey-generator --skill validate-aspire-runtime
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/marcelmichau/fake-survey-generator --skill validate-aspire-runtime

简介

validate-aspire-runtime 检查 Aspire 运行时环境配置是否符合预期要求。

  • 适用于 .NET Aspire 应用部署前的依赖和环境变量验证。
  • 可识别缺失服务、端口占用或版本不匹配等问题。
  • 需在目标运行环境执行,无法在纯模拟环境中获得准确结果。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Validate Aspire Runtime Skill

Use this skill to start the complete Aspire-orchestrated application and verify all services are running and healthy.

What This Skill Does

  1. Starts the Aspire runtime using aspire run command
  2. Uses Aspire MCP list_resources tool to poll resource health
  3. Waits for all critical resources to reach healthy status:

- sql-server (database) - must be started - cache (Redis) - must be started - api (main API service) - must be healthy - worker (background worker) - must be started - ui (frontend app) - must be started

  1. Extracts the UI endpoint URL from resources (typically https://localhost:3000)
  2. Communicates the UI endpoint URL back to the agent for use in E2E validation
  3. Exits with failure if startup fails or health checks don't pass

When to Use

  • After backend and frontend builds succeed
  • After all tests pass
  • To prepare the application for interactive E2E validation
  • To verify the complete system works together before E2E testing

How the Agent Should Use This Skill

  1. Prepare: Ensure all previous validation steps (builds, tests) have succeeded
  2. Start Aspire: Run Aspire in a terminal/background process: aspire run This will start the Aspire dashboard and orchestrate all resources.
  3. Check Resources: Use the Aspire MCP list_resources tool to monitor resource status:

- Call list_resources repeatedly until all resources reach healthy state - Monitor for errors or failed startup - Expected resource states: Running or Healthy

  1. Extract Endpoint: Once ui resource is healthy, extract its HTTP endpoint (typically https://localhost:3000)
  2. Communicate Endpoint: Report the discovered UI endpoint URL to use in the next E2E validation step
  3. Monitor Startup: Typical startup sequence:

- SQL Server starts (takes 5-10 seconds) - Redis starts (takes 2-3 seconds) - API service starts and runs health checks (takes 5-15 seconds) - Worker service starts (takes 3-5 seconds) - UI starts and connects to API (takes 5-10 seconds)

  1. Handle Failures: If any resource fails to start or becomes unhealthy:

- Check Aspire dashboard logs for error messages - Report the specific resource and error to user - Halt further validation

Success Criteria

  • Aspire process is running and accepting connections
  • list_resources returns all resources with healthy status
  • ui resource shows HTTP endpoint URL (typically https://localhost:3000)
  • No error logs from resources

Failure Indicators

  • Aspire startup fails or crashes
  • Resources remain in Failed or Unhealthy state after timeout
  • Health check endpoints return non-2xx status
  • Logs show connection/initialization errors

Resource Details Reference

Resource Startup Order (from AppHost.cs)

  1. sql-server - Base resource, must start first
  2. cache - Base resource, starts independently
  3. api - Depends on sql-server + cache, includes Dapr sidecar
  4. worker - Depends on sql-server + cache
  5. ui - Depends on api, Vite app

Health Check Endpoints (on API)

  • GET /health/live - Liveness probe (is service running)
  • GET /health/ready - Readiness probe (can service handle requests)

Endpoint Mappings

  • SQL Server: localhost:1433
  • Redis: localhost:6379
  • RedisInsight: http://localhost:8001
  • API (internal): http://localhost:17623
  • UI: https://localhost:3000
  • Aspire Dashboard: http://localhost:19888

Important Notes

  • First run: First time running Aspire may take longer due to container pulls/initialization
  • Dapr: API service includes Dapr sidecar; Dapr runtime is auto-managed by Aspire
  • Database: Uses persistent data volume; survives restarts during development
  • Certificates: UI uses developer certificates for HTTPS (auto-trusted on first run)
  • Logs: Full resource logs available through Aspire dashboard or list_structured_logs tool

Cleaning Up After Validation

After E2E validation completes (success or failure):

  1. Stop Aspire by pressing Ctrl+C in the terminal running aspire run
  2. Aspire will gracefully shut down all resources
  3. For next validation run, start aspire run again

Next Steps After Success

Once all resources are healthy and UI endpoint is confirmed:

  • Validate E2E Skill - to run interactive UI navigation and feature validation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

32.46%
按下载量换算64

Gemini CLI

21.42%
按下载量换算42

Antigravity

18.09%
按下载量换算35

windsurf

11.97%
按下载量换算23

github-copilot

7.37%
按下载量换算14

trae

3.66%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/marcelmichau/fake-survey-generator --skill validate-aspire-runtime;npx skills add marcelmichau/fake-survey-generator --skill "validate-aspire-runtime" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills