mcpbeat Sign in

Hosting Integration Authoring Agent Skill

Guides authoring and reviewing Aspire.Hosting integration APIs. Classifies integration archetypes, then applies self-contained best practices for naming, resource shape, run/publish/deploy behavior, eventing, connection properties, security, endpoint semantics, polyglot exports, READMEs, and tests.

46k tokens
context cost
the whole folder, loaded on every use
32
files
instructions only
0
copies elsewhere
how many repositories repackaged it
6205
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/aspire --skill hosting-integration-authoring

What comes with it

179 424 bytes besides the instruction
resources/api-naming-and-shape.md
resources/app-model-fundamentals.md
resources/archetype-admin-and-tool-container.md
resources/archetype-azure-provisioning.md
resources/archetype-container-backed-service.md
resources/archetype-controller-reconciler.md
resources/archetype-deployment-target-publisher.md
resources/archetype-external-cloud-reference.md
resources/archetype-language-executable-app.md
resources/archetype-overlay-configuration.md
resources/archetype-secret-provider.md
resources/archetype-setup-and-migration-helper.md
resources/archetype-sidecar-and-middleware.md
resources/archetype-tunnel-and-webhook-bridge.md
resources/compatibility-and-deprecation.md
resources/connection-properties.md
resources/cross-platform-tooling.md
resources/custom-lifecycle-and-facade-resources.md
resources/dashboard-ux.md
resources/deployment-production-readiness.md
resources/endpoints-and-service-discovery.md
resources/eventing-and-initialization.md
resources/generated-files-and-container-files.md
resources/package-and-discoverability.md
resources/polyglot-exports.md
resources/relationships-and-companions.md
resources/resource-model-invariants.md
resources/run-publish-deploy-modes.md
resources/security-secrets-and-identity.md
resources/selector-matrix.md
resources/testing-and-readmes.md

The instruction itself

5 sections, as written by the author

Aspire hosting integration authoring

Use this skill when creating, modifying, or reviewing Aspire.Hosting.* integration APIs.

This skill is self-contained. The resource files in this skill are the authoritative guidance, and repository paths are examples of existing patterns only.

First step: classify the integration

Read resources/selector-matrix.md first. Then read resources/app-model-fundamentals.md for the app model rules that apply to every hosting integration. Classify the work across all four axes:

  • Resource shape.
  • Lifecycle mode.
  • Integration role.
  • Structure.

Do not force the integration into a single bucket. Most integrations compose several patterns. For example, PostgreSQL is a container-backed service, has parent-child database resources, exposes connection properties, creates databases during resource readiness, and has admin UI companion helpers.

Then read the matching resources

Always read the relevant archetype resource and the cross-cutting resources that apply to the change.

| If the integration involves | Read |

| --- | --- |

| Any resource, annotation, lifecycle event, structured value, endpoint, manifest, or app-model behavior | resources/app-model-fundamentals.md |

| Local container service, database, broker, cache, vector DB | resources/archetype-container-backed-service.md |

| Admin UI, inspector, dashboard, load/test tool, or standalone utility container | resources/archetype-admin-and-tool-container.md |

| Migration, package/tool install, model pull, schema deployment, DACPAC, or one-shot setup helper | resources/archetype-setup-and-migration-helper.md |

| Serialized controller, reconciler, command-driven resource operations, drift detection, or state-machine orchestration | resources/archetype-controller-reconciler.md |

| Sidecar, component registry, telemetry collector, service mesh, middleware, or app-wide annotation-driven infrastructure | resources/archetype-sidecar-and-middleware.md |

| Local tunnel, webhook forwarder, callback bridge, or CLI that exposes/forwards local endpoints | resources/archetype-tunnel-and-webhook-bridge.md |

| Secret manager, credential broker, external secret provider, or provider-backed managed secret child resources | resources/archetype-secret-provider.md |

| External/SaaS service reference with API key/endpoint, no local container/provisioning | resources/archetype-external-cloud-reference.md |

| Azure resource provisioning, Bicep, role assignments, existing Azure resources, emulators, local containers for Azure resources | resources/archetype-azure-provisioning.md |

| Docker Compose, Kubernetes, Azure Container Apps, or another deployment target/publisher | resources/archetype-deployment-target-publisher.md and resources/deployment-production-readiness.md |

| Python, Go, JavaScript, Node, Vite, Next.js, or another language runtime/workload | resources/archetype-language-executable-app.md |

| Non-resource model/configuration overlay, e.g. Orleans-style APIs | resources/archetype-overlay-configuration.md |

| Public API names, overloads, return types, polyglot AppHost compatibility, annotations, experimental state | resources/api-naming-and-shape.md |

| Any run/publish/deploy branching | resources/run-publish-deploy-modes.md |

| Event subscriptions, initialization, generated files, health checks, pipeline steps | resources/eventing-and-initialization.md |

| Custom resource lifetime, synthetic/facade resources, manually allocated endpoints, or resource notification state machines | resources/custom-lifecycle-and-facade-resources.md |

| IResourceWithConnectionString, WithReference, environment variables, URI/JDBC properties | resources/connection-properties.md |

| Parent-child resources, companions, setup siblings, WithReference, waits, relationships | resources/relationships-and-companions.md |

| [AspireExport], TypeScript/polyglot AppHosts, ATS metadata, analyzer diagnostics, DTOs, union parameters, value catalogs, callback contexts | resources/polyglot-exports.md |

| Endpoint names, service discovery, external URLs, reference endpoints, endpoint environment variables | resources/endpoints-and-service-discovery.md |

| Secrets, parameters, credentials, managed identity, RBAC, private networking, generated artifacts containing sensitive data | resources/security-secrets-and-identity.md |

| Resource names, physical names, annotations, constructors, mutability, model invariants | resources/resource-model-invariants.md |

| Package metadata, preview/stable posture, aspire add discovery, icons, gallery/README visibility | resources/package-and-discoverability.md |

| Dashboard icons, URLs, commands, notifications, resource logs, admin companion UX | resources/dashboard-ux.md |

| Generated config files, WithContainerFiles, file permissions, temp/store usage, build dependencies | resources/generated-files-and-container-files.md |

| Toolchain detection, path handling, Windows/macOS/Linux behavior, shell quoting, executable permissions | resources/cross-platform-tooling.md |

| Experimental/obsolete/deprecation lifecycle, compatibility shims, migration guidance | resources/compatibility-and-deprecation.md |

| README or tests | resources/testing-and-readmes.md |

Authoring workflow

  • State the classification briefly before changing or reviewing code.
  • Apply the archetype-specific DO/DON'T list.
  • Apply every relevant cross-cutting checklist.
  • Validate both run-mode and publish/deploy behavior when the integration changes those surfaces.
  • Keep generated API baseline files under */api/*.cs untouched unless the task explicitly asks for API baseline regeneration.

Review workflow

When reviewing an integration PR, look for concrete violations that can cause wrong runtime behavior, wrong generated manifests, broken deployment output, bad public API, missing connection properties, or bad polyglot projection. Do not spend review budget on style-only comments.

Other skills for the same job

different authors, same section of the catalogue
Lamindb
by christophacham
×3

This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.

22k tokens
Latchbio Integration
by christophacham
×3

Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.

12k tokens
Modal
by christophacham
×3

Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.

17k tokens
Pyhealth
by christophacham
×3

Comprehensive healthcare AI toolkit for developing, testing, and deploying machine learning models with clinical data. This skill should be used when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC), physiological signals (EEG, ECG), healthcare datasets (MIMIC-III/IV, eICU, OMOP), or implementing deep learning models for healthcare applications (RETAIN, SafeDrug, Transformer, GNN).

22k tokens
Github Workflow Automation
by ComeOnOliver
×3

Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management

9k tokens
Lamindb
by ComeOnOliver
×3

This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.

41k tokens
Ml Pipeline Workflow
by ComeOnOliver
×3

Build end-to-end MLOps pipelines from data preparation through model training, validation, and production deployment. Use when creating ML pipelines, implementing MLOps practices, or automating model training and deployment workflows.

5k tokens
Pyhealth
by ComeOnOliver
×3

Comprehensive healthcare AI toolkit for developing, testing, and deploying machine learning models with clinical data. This skill should be used when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC), physiological signals (EEG, ECG), healthcare datasets (MIMIC-III/IV, eICU, OMOP), or implementing deep learning models for healthcare applications (RETAIN, SafeDrug, Transformer, GNN).

39k tokens

How to use it

Copy the folder

Take microsoft/hosting-integration-authoring from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.