코드 우선(code-first) 툴체인을 사용하여 컨테이너 및 클라우드 리소스를 관리하고 다중 언어 분산 애플리케이션을 오케스트레이션합니다.
- GitHub 스타
- 41,038
- 파일
- 10
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- MIT
- 허용된 도구
- —
aspire skill은 무엇을 하나요?
aspire은(는) agent skill입니다. 코드 우선(code-first) 툴체인을 사용하여 컨테이너 및 클라우드 리소스를 관리하고 다중 언어 분산 애플리케이션을 오케스트레이션합니다.
skill의 SKILL.md에서 생성된 요약입니다.
aspire skill 정보
개발자는 Aspire를 통해 코드 우선 툴체인을 사용하여 다중 언어 분산 애플리케이션을 오케스트레이션할 수 있습니다. 이 SKILL은 에이전트가 단일 AppHost 프로젝트를 통해 컨테이너, 실행 파일 및 클라우드 리소스를 관리할 수 있도록 합니다. C#, Python, JavaScript, Go, Java, Rust 등 다양한 언어를 지원하므로 서비스 디스커버리 및 통합 텔레메트리가 필요한 복잡하고 관찰 가능한 시스템을 구축하는 팀에 이상적입니다.
사용자가 분산 워크로드를 생성, 실행, 디버그, 구성, 배포 또는 문제 해결해야 하는 경우 에이전트는 이 SKILL을 로드해야 합니다. 이 SKILL은 애플리케이션 수명 주기를 관리하기 위한 Aspire CLI에 대한 액세스를 제공하며, MCP server와 인터페이스하여 문서를 검색하거나 통합 정보를 찾을 수 있습니다. Kubernetes 또는 Azure Container Apps와 같은 대상에 대한 배포 매니페스트를 생성하며, 로그, 트레이스 및 메트릭을 특징으로 하는 대시보드를 통해 실시간 관찰 가능성을 제공합니다. 사용자는 CLI 13.2+ 버전을 사용할 때 list_docs, search_docs, get_doc와 같은 특정 도구를 사용하여 기술 참조를 탐색할 수 있습니다.
agent가 수행할 수 있는 작업
- 1새 분산 프로젝트 초기화FastAPI 또는 React와 같은 특정 언어 템플릿을 사용하여 새로운 스타터 애플리케이션을 생성합니다.
- 2기술 문서 검색인덱싱된 문서 전체에서 어휘 검색을 수행하여 특정 구현 세부 정보를 찾습니다.
- 3클라우드 환경에 배포배포 매니페스트를 생성하고 애플리케이션을 Kubernetes 또는 Azure 서비스로 푸시합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
aspire skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 aspire skill 설치
~/.claude/skills/aspire/SKILL.md
$ npx degit github/awesome-copilot/skills/aspire ~/.claude/skills/aspireClaude Code (project)에 aspire skill 설치
.claude/skills/aspire/SKILL.md
$ npx degit github/awesome-copilot/skills/aspire .claude/skills/aspireCodex에 aspire skill 설치
~/.agents/skills/aspire/SKILL.md
$ npx degit github/awesome-copilot/skills/aspire ~/.agents/skills/aspireGemini CLI에 aspire skill 설치
~/.gemini/skills/aspire/SKILL.md
$ npx degit github/awesome-copilot/skills/aspire ~/.gemini/skills/aspireClaude.ai에 aspire skill 설치
npx degit github/awesome-copilot/skills/aspire aspire && zip -r aspire.zip aspire # claude.ai → Customize → Skills → + → Create skill → Upload a skill → aspire.zip
자동 검사
2026년 11월 13일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 보안 감사는 아닙니다. 에이전트가 실행하기 전에 스크립트를 읽어 보세요. 검사 방식
- 소스 저장소 연결 및 접근 가능github/awesome-copilot/skills/aspire is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/aspire ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-11-11github.com/github/awesome-copilot/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/aspire/SK ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/aspire/SK ↗통과
SKILL.md
GitHub에서 보기Aspire — Polyglot Distributed-App Orchestration
Aspire is a code-first, polyglot toolchain for building observable, production-ready distributed applications. It orchestrates containers, executables, and cloud resources from a single AppHost project — regardless of whether the workloads are C#, Python, JavaScript/TypeScript, Go, Java, Rust, Bun, Deno, or PowerShell.
Mental model: The AppHost is a conductor — it doesn't play the instruments, it tells every service when to start, how to find each other, and watches for problems.
Detailed reference material lives in the references/ folder — load on demand.
References
| Reference | When to load |
|---|---|
| CLI Reference | Command flags, options, or detailed usage |
| MCP Server | Setting up MCP for AI assistants, available tools |
| Integrations Catalog | Discovering integrations via MCP tools, wiring patterns |
| Polyglot APIs | Method signatures, chaining options, language-specific patterns |
| Architecture | DCP internals, resource model, service discovery, networking, telemetry |
| Dashboard | Dashboard features, standalone mode, GenAI Visualizer |
| Deployment | Docker, Kubernetes, Azure Container Apps, App Service |
| Testing | Integration tests against the AppHost |
| Troubleshooting | Diagnostic codes, common errors, and fixes |
1. Researching Aspire Documentation
The Aspire team ships an MCP server that provides documentation tools directly inside your AI assistant. See MCP Server for setup details.
Aspire CLI 13.2+ (recommended — has built-in docs search)
If running Aspire CLI 13.2 or later (aspire --version), the MCP server includes docs search tools:
| Tool | Description |
|---|---|
list_docs |
Lists all available documentation from aspire.dev |
search_docs |
Performs weighted lexical search across indexed documentation |
get_doc |
Retrieves a specific document by its slug |
These tools were added in PR #14028. To update: aspire update --self --channel daily.
For more on this approach, see David Pine's post: https://davidpine.dev/posts/aspire-docs-mcp-tools/
Aspire CLI 13.1 (integration tools only)
On 13.1, the MCP server provides integration lookup but not docs search:
| Tool | Description |
|---|---|
list_integrations |
Lists available Aspire hosting integrations |
get_integration_docs |
Gets documentation for a specific integration package |
For general docs queries on 13.1, use Context7 as your primary source (see below).
Fallback: Context7
Use Context7 (mcp_context7) when the Aspire MCP docs tools are unavailable (13.1) or the MCP server isn't running:
Step 1 — Resolve the library ID (one-time per session):
Call mcp_context7_resolve-library-id with libraryName: ".NET Aspire".
| Rank | Library ID | Use when |
|---|---|---|
| 1 | /microsoft/aspire.dev |
Primary source. Guides, integrations, CLI reference, deployment. |
| 2 | /dotnet/aspire |
API internals, source-level implementation details. |
| 3 | /communitytoolkit/aspire |
Non-Microsoft polyglot integrations (Go, Java, Node.js, Ollama). |
Step 2 — Query docs:
libraryId: "/microsoft/aspire.dev", query: "Python integration AddPythonApp service discovery"
libraryId: "/communitytoolkit/aspire", query: "Golang Java Node.js community integrations"
Fallback: GitHub search (when Context7 is also unavailable)
Search the official docs repo on GitHub:
- Docs repo:
microsoft/aspire.dev— path:src/frontend/src/content/docs/ - Source repo:
dotnet/aspire - Samples repo:
dotnet/aspire-samples - Community integrations:
CommunityToolkit/Aspire
2. Prerequisites & Install
| Requirement | Details |
|---|---|
| .NET SDK | 10.0+ (required even for non-.NET workloads — the AppHost is .NET) |
| Container runtime | Docker Desktop, Podman, or Rancher Desktop |
| IDE (optional) | VS Code + C# Dev Kit, Visual Studio 2022, JetBrains Rider |
# Linux / macOS
curl -sSL https://aspire.dev/install.sh | bash
# Windows PowerShell
irm https://aspire.dev/install.ps1 | iex
# Verify
aspire --version
# Install templates
dotnet new install Aspire.ProjectTemplates
3. Project Templates
| Template | Command | Description |
|---|---|---|
| aspire-starter | aspire new aspire-starter |
ASP.NET Core/Blazor starter + AppHost + tests |
| aspire-ts-cs-starter | aspire new aspire-ts-cs-starter |
ASP.NET Core/React starter + AppHost |
| aspire-py-starter | aspire new aspire-py-starter |
FastAPI/React starter + AppHost |
| aspire-apphost-singlefile | aspire new aspire-apphost-singlefile |
Empty single-file AppHost |
4. AppHost Quick Start (Polyglot)
The AppHost orchestrates all services. Non-.NET workloads run as containers or executables.
var builder = DistributedApplication.CreateBuilder(args);
// Infrastructure
var redis = builder.AddRedis("cache");
var postgres = builder.AddPostgres("pg").AddDatabase("catalog");
// .NET API
var api = builder.AddProject<Projects.CatalogApi>("api")
.WithReference(postgres).WithReference(redis);
// Python ML service
var ml = builder.AddPythonApp("ml-service", "../ml-service", "main.py")
.WithHttpEndpoint(targetPort: 8000).WithReference(redis);
// React frontend (Vite)
var web = builder.AddViteApp("web", "../frontend")
.WithHttpEndpoint(targetPort: 5173).WithReference(api);
// Go worker
var worker = builder.AddGolangApp("worker", "../go-worker")
.WithReference(redis);
builder.Build().Run();
For complete API signatures, see Polyglot APIs.
5. Core Concepts (Summary)
| Concept | Key point |
|---|---|
| Run vs Publish | aspire run = local dev (DCP engine). aspire publish = generate deployment manifests. |
| Service discovery | Automatic via env vars: ConnectionStrings__<name>, services__<name>__http__0 |
| Resource lifecycle | DAG ordering — dependencies start first. .WaitFor() gates on health checks. |
| Resource types | ProjectResource, ContainerResource, ExecutableResource, ParameterResource |
| Integrations | 144+ across 13 categories. Hosting package (AppHost) + Client package (service). |
| Dashboard | Real-time logs, traces, metrics, GenAI visualizer. Runs automatically with aspire run. |
| MCP Server | AI assistants can query running apps and search docs via CLI (STDIO). |
| Testing | Aspire.Hosting.Testing — spin up full AppHost in xUnit/MSTest/NUnit. |
| Deployment | Docker, Kubernetes, Azure Container Apps, Azure App Service. |
6. CLI Quick Reference
Valid commands in Aspire CLI 13.1:
| Command | Description | Status |
|---|---|---|
aspire new <template> |
Create from template | Stable |
aspire init |
Initialize in existing project | Stable |
aspire run |
Start all resources locally | Stable |
aspire add <integration> |
Add an integration | Stable |
aspire publish |
Generate deployment manifests | Preview |
aspire config |
Manage configuration settings | Stable |
aspire cache |
Manage disk cache | Stable |
aspire deploy |
Deploy to defined targets | Preview |
aspire do <step> |
Execute a pipeline step | Preview |
aspire update |
Update integrations (or --self for CLI) |
Preview |
aspire mcp init |
Configure MCP for AI assistants | Stable |
aspire mcp start |
Start the MCP server | Stable |
Full command reference with flags: CLI Reference.
7. Common Patterns
Adding a new service
- Create your service directory (any language)
- Add to AppHost:
Add*App()orAddProject<T>() - Wire dependencies:
.WithReference() - Gate on health:
.WaitFor()if needed - Run:
aspire run
Migrating from Docker Compose
aspire new aspire-apphost-singlefile(empty AppHost)- Replace each
docker-composeservice with an Aspire resource depends_on→.WithReference()+.WaitFor()ports→.WithHttpEndpoint()environment→.WithEnvironment()or.WithReference()
8. Key URLs
| Resource | URL |
|---|---|
| Documentation | https://aspire.dev |
| Runtime repo | https://github.com/dotnet/aspire |
| Docs repo | https://github.com/microsoft/aspire.dev |
| Samples | https://github.com/dotnet/aspire-samples |
| Community Toolkit | https://github.com/CommunityToolkit/Aspire |
| Dashboard image | mcr.microsoft.com/dotnet/aspire-dashboard |
| Discord | https://aka.ms/aspire/discord |
| https://www.reddit.com/r/aspiredotdev/ |
이 스킬의 파일
10aspire skill 질문
Claude Code에 aspire skill을 어떻게 설치하나요?
npx degit github/awesome-copilot/skills/aspire ~/.claude/skills/aspire를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
aspire skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
Aspire는 어떤 언어를 지원하나요?
Aspire는 다중 언어를 지원하며 C#, Python, JavaScript/TypeScript, Go, Java, Rust, Bun, Deno, PowerShell을 지원합니다.
AI 어시스턴트와 함께 Aspire를 어떻게 사용할 수 있나요?
Aspire MCP server를 사용하면 AI 어시스턴트 내부에서 직접 문서 도구와 통합 조회 기능을 사용할 수 있습니다.
Aspire 설치를 위한 사전 요구 사항은 무엇인가요?
.NET SDK 10.0 이상과 Docker Desktop, Podman 또는 Rancher Desktop과 같은 컨테이너 런타임이 필요합니다.
Aspire 애플리케이션을 로컬에서 실행하려면 어떻게 해야 하나요?
'aspire run' 명령어를 사용하여 DCP 엔진을 통해 모든 리소스를 로컬에서 시작할 수 있습니다.