Expecho/Agent42 / .claude/skills/aspire
aspire
VerifiedUse this skill when the user is working with an Aspire distributed application and needs to operate the AppHost or its resources through the Aspire CLI: start, restart, stop, or wait on the app; inspect resources, logs, traces, docs, or health; add integrations; manage secrets or config; publish, deploy, or rerun a named pipeline step; initialize Aspire in an existing app; recover missing `.modules` files in a TypeScript AppHost; discover the right frontend URL for Playwright from Aspire state; expose custom dashboard/resource commands; or understand unfamiliar Aspire AppHost APIs in C# or TypeScript. Use it even if they describe the task in terms of an AppHost, resources, dashboard, existing app bootstrap, missing generated modules, Playwright URL discovery, C# API understanding, or local distributed app workflow without explicitly naming Aspire. Do not use it for non-Aspire .NET apps, container-only repos with no AppHost, or ordinary build and test tasks.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.9 KB |
| references/agent-workflows.md | markdown | 3.5 KB |
| references/app-commands.md | markdown | 2.5 KB |
| references/csharp-apphosts.md | markdown | 1.4 KB |
| references/deployment.md | markdown | 1.4 KB |
| references/monitoring.md | markdown | 3.3 KB |
| references/playwright-handoff.md | markdown | 963 B |
| references/resource-management.md | markdown | 1.5 KB |
| references/tools-and-configuration.md | markdown | 2.6 KB |
| references/typescript-apphosts.md | markdown | 1.4 KB |
references/resource-management.md
View on GitHub# Resource Management
Use this when the task is scoped to one resource or depends on a specific resource becoming healthy.
## Scenario: Wait For One Resource Before Touching It
Use these commands when the next step depends on one resource being ready, such as before calling an API, opening a frontend, or querying a database.
```bash
aspire wait <resource>
aspire wait <resource> --status up --timeout 60
```
Keep these points in mind:
- Use `aspire wait` before a dependent action when readiness is the real blocker.
- Add `--status` and `--timeout` when the ask calls for an explicit readiness condition rather than a generic wait.
- Treat readiness as a resource-scoped concern; a missing ready signal is not automatically a reason to restart the whole AppHost.
## Scenario: Fix Or Operate On One Resource Without Bouncing The Whole App
Use these commands when the user calls out one resource by name, such as Redis, Postgres, cache, or a single custom resource command.
```bash
aspire resource <resource> start
aspire resource <resource> stop
aspire resource <resource> restart
aspire resource <resource> <command>
```
Keep these points in mind:
- Prefer resource-scoped commands when the task does not require an AppHost-wide restart.
- If the user says one resource is wedged, use `aspire resource <resource> restart` before escalating to `aspire start`.
- Use `aspire resource <resource> <command>` when the AppHost exposes a resource-specific dashboard or operational command.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |