aspire-typescript-apphost

Convert C# AppHost examples to TypeScript and generate integration tests.

619|188|Updated Jul 4, 2024
One-click install
npx skills add https://github.com/CommunityToolkit/Aspire --skill aspire-typescript-apphost
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspire-typescript-apphost
Source: https://github.com/CommunityToolkit/Aspire/tree/main/.agents/skills/aspire-typescript-apphost
Command: npx skills add https://github.com/CommunityToolkit/Aspire --skill aspire-typescript-apphost

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of generating a TypeScript AppHost from an existing C# example AppHost and adds the corresponding integration test, streamlining the development workflow.

Core Features & Use Cases

  • TypeScript AppHost Generation: Converts C# AppHost examples to TypeScript, ensuring cross-platform compatibility.
  • Integration Test Addition: Automatically adds an integration test for the TypeScript AppHost.
  • Use Case: Ideal for developers who want to extend their Aspire application with TypeScript capabilities while maintaining a seamless development process.

Quick Start

Generate a TypeScript AppHost from the 'example-csharp-apphost' and add an integration test using the 'aspire-typescript-apphost' skill.

Frequently Asked Questions about aspire-typescript-apphost

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a C# AppHost to TypeScript in Aspire?

To convert a C# AppHost to TypeScript in Aspire, use this Skill to automate the generation of the TypeScript AppHost structure from your existing C# example while aligning with Aspire's TypeScript development standards.

Can I automatically generate integration tests for a TypeScript AppHost?

Yes, you can automatically generate integration tests for a TypeScript AppHost. The Skill adds the corresponding integration tests directly during the TypeScript AppHost generation workflow to streamline development.

What do I need to extend my Aspire application with TypeScript support?

To extend your Aspire application with TypeScript support, you need an existing C# AppHost example. The Skill uses this C# example as the baseline input to generate the TypeScript equivalent and its integration tests.

Does this Skill work with my existing C# AppHost examples?

Yes, this Skill works with your existing C# AppHost examples by taking them as the input base, converting the logic to TypeScript, and outputting a cross-platform compatible TypeScript AppHost.

Why generate a TypeScript AppHost from C# instead of writing it manually?

Generating a TypeScript AppHost from C# automates the conversion process and instantly adds integration tests, ensuring cross-platform compatibility and alignment with Aspire standards without manual boilerplate effort.