aspire-terminals
БесплатноБез исполняемых скриптовНе проверен**WORKFLOW SKILL** - Author and automate Aspire terminals. USE FOR: WithTerminal, withTerminal, TerminalService, TerminalLaunchOptions, docked terminals…
от microsoft★ 103 звезды на GitHubОб этом скилле
Aspire Terminals
Teach an agent to use the right terminal, not to replace every process with a shell.
Honor a project-local .agents/skills/aspire-terminals/SKILL.md when present;
retain the safety and ownership rules below.
Required reference lookup
Before answering or editing, open the reference for the requested surface, including for read-only questions. This overview is not enough to write correct terminal code or tape syntax.
- Resource PTYs or REPLs: read resource terminals.
- Dock, prompts, cancellation or headless tools: read AppHost terminals.
- Any tape question: read tapes and automation and CLI. Use the actual syntax and output contracts there, not pseudo-VHS or memory of upstream VHS behavior.
- Include the applicable package/build capability boundary in recommendations. Source availability and installed-package availability are different facts.
Choose the model before writing code
| Intent | Pattern | Owner and lifetime |
|---|---|---|
| Make an existing orchestrated executable, project or container interactive | WithTerminal() / withTerminal() |
Resource process and replicas; resource lifecycle owns stop/restart |
| Open an auxiliary shell/tool that remains available after its command returns | TerminalService + TerminalPlacement.Dock |
AppHost-owned; closing its tab or stopping AppHost disposes it |
| Guide a person through a focused setup/authentication operation | TerminalService + Dialog + PromptTerminalAsync |
Caller owns the terminal; prompt borrows it; explicit completion/cancellation |
| Drive a terminal-only tool without a dashboard interaction | TerminalService + None |
Caller owns and disposes the headless process |
| Open an authenticated database/cache client | Integration WithRepl() / withRepl() |
Built-in command opens a dock terminal; prefer over custom container exec |
WithTerminal changes the resource's actual process execution. It is not an
on-demand side shell. TerminalService launches a separate AppHost-owned process;
it does not implicitly enter a container or become a modeled resource.
Lifecycle checklist for recommendations
When comparing terminal models, explicitly state cleanup for each model you recommend, including headless alternatives:
- Dock: survives the opening command; do not scope the handle with
await usingin that command. Closing the tab or AppHost shutdown disposes it. - Dialog and None: the caller disposes both, normally with
await using. Headless placement does not transfer cleanup responsibility to the service. - Prompt completion is not terminal disposal: successful
Workcloses the prompt, but the caller still disposes its terminal. WithoutWork, process exit does not close the prompt; explicit completion/cancellation is required.
Capability check
- Locate the exact AppHost and inspect its SDK, hosting and integration package versions. Do not upgrade the project just to make an example compile.
- Use
aspire docs search terminal --non-interactive, thenaspire docs api search <API> --language csharp|typescript --non-interactive. If docs lag a preview, inspect that exact package's public API/source. A newer CLI alone does not add hosting APIs to an older AppHost. WithTerminal/parameterless TSwithTerminalexist in Aspire 13.5.TerminalService, terminal prompts, headless automation, tape playback and the six integration REPLs below are in the inspected 13.6 development source. Verify the installed build contains them; do not promise all previews do.- Direct C# terminal APIs are experimental (
ASPIRETERMINAL001): narrowly pair#pragma warning disable ASPIRETERMINAL001with#pragma warning restore ASPIRETERMINAL001. The examined integrationWithReplmethods themselves do not require this suppression. - General
TerminalServiceand terminal-prompt APIs are not exported to TypeScript in this baseline. Do not invent TS equivalents or edit generated.aspire/modules/. Supported TS entry points arewithTerminal()and the applicable integration'swithRepl(). - Check
aspire --versionandaspire terminal --helpfor the installed CLI. Aspire 13.5 keeps terminal commands behind a feature flag; enable them only for that CLI line withaspire config set features.terminalCommandsEnabled true --non-interactive. Newer CLIs no longer require or support that flag. If a command remains absent, treat it as unavailable rather than guessing alternative syntax.
The references are qualified against Aspire release/13.6 commit
34db30a7d3733229da64a403dfc4e4e4d7a1a43b (terminal code also present in main
22bee5e1266b7b66ff53008957dde86efb370c79), compared with shipped v13.5.0.
Terminal-command availability guidance also refl
Установить aspire-terminals в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл aspire-terminals?
**WORKFLOW SKILL** - Author and automate Aspire terminals. USE FOR: WithTerminal, withTerminal, TerminalService, TerminalLaunchOptions, docked terminals, terminal prompts, PromptTerminalAsync, TerminalPlacement, AspireTerminalKey, WithRepl, withRepl, aspire terminal ps/attach/tape play, VHS tapes for Aspire, or terminal screen/input automation. DO NOT USE FOR: generic shell commands, ordinary AppHost resource wiring (aspireify), start/stop/wait (aspire-orchestration), logs/traces or browser telemetry (aspire-monitoring), deployment (aspire-deployment), or nonterminal Interaction Service prompts (aspireify). INVOKES: Aspire docs/API lookup, AppHost edits, Aspire terminal CLI; aspire-orchestration for lifecycle validation. FOR SINGLE OPERATIONS: Choose the terminal owner and lifetime first, then read the matching reference.
Как установить скилл aspire-terminals?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aspire-terminals запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic