Skip to content

Add hosting integration authoring skill - #1433

Merged
aaronpowell merged 3 commits into
mainfrom
davidfowl-add-hosting-integration-skill
Jun 29, 2026
Merged

Add hosting integration authoring skill#1433
aaronpowell merged 3 commits into
mainfrom
davidfowl-add-hosting-integration-skill

Conversation

@davidfowl

Copy link
Copy Markdown
Contributor

Closes # N/A - skill-only content copy; no linked issue was provided.

Adds a hosting-integration-authoring Copilot skill under .agents/skills/hosting-integration-authoring/, copied from microsoft/aspire commit 4c49bc764 with small CommunityToolkit-specific package and example-path adaptations.

PR Checklist

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • PR doesn't include merge commits (always rebase on top of our main, if needed)
  • Contains NO breaking changes
  • Code follows all style conventions

Other information

This is skill-only documentation content. It includes SKILL.md and all requested resources/ files, including deployment-production-readiness.md.

No Aspire.Hosting.GoogleCloud prototype code is included. Lightweight validation covered git diff --check, referenced resource-file existence, and a scan for GoogleCloud references.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 26, 2026 19:36
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1433

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1433"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Copilot skill (hosting-integration-authoring) to guide authoring and reviewing CommunityToolkit Aspire.Hosting integrations, with a self-contained set of reference resources covering common integration archetypes and cross-cutting design concerns (API shape, run/publish/deploy behavior, secrets, endpoints, polyglot exports, testing, etc.).

Changes:

  • Introduces the .agents/skills/hosting-integration-authoring/SKILL.md entrypoint that defines when to use the skill and how to select the right guidance.
  • Adds a comprehensive resources/ library of archetype and checklist documents for hosting integration authoring/review in this repo.
Show a summary per file
File Description
.agents/skills/hosting-integration-authoring/SKILL.md Skill entrypoint + “which resource to read” selector table and workflow.
.agents/skills/hosting-integration-authoring/resources/app-model-fundamentals.md Core Aspire app-model rules and invariants to apply to all integrations.
.agents/skills/hosting-integration-authoring/resources/selector-matrix.md Classification matrix for choosing applicable archetypes/checklists.
.agents/skills/hosting-integration-authoring/resources/archetype-container-backed-service.md Guidance for container-backed dependency resources (DB/broker/cache/etc.).
.agents/skills/hosting-integration-authoring/resources/archetype-admin-and-tool-container.md Guidance for run-only admin/tool containers and companions.
.agents/skills/hosting-integration-authoring/resources/archetype-setup-and-migration-helper.md Guidance for setup/migration helpers and one-shot resources.
.agents/skills/hosting-integration-authoring/resources/archetype-controller-reconciler.md Guidance for controller/reconciler orchestration patterns.
.agents/skills/hosting-integration-authoring/resources/archetype-sidecar-and-middleware.md Guidance for annotation-driven sidecars/middleware/collectors.
.agents/skills/hosting-integration-authoring/resources/archetype-tunnel-and-webhook-bridge.md Guidance for run-only tunnels/webhook bridges and facade endpoints.
.agents/skills/hosting-integration-authoring/resources/archetype-secret-provider.md Guidance for secret/credential provider resources and late binding.
.agents/skills/hosting-integration-authoring/resources/archetype-external-cloud-reference.md Guidance for external/SaaS reference resources (no local runtime).
.agents/skills/hosting-integration-authoring/resources/archetype-azure-provisioning.md Guidance for Azure provisioning + dual-mode emulator/container patterns.
.agents/skills/hosting-integration-authoring/resources/archetype-deployment-target-publisher.md Guidance for deployment target/publisher integrations and artifacts.
.agents/skills/hosting-integration-authoring/resources/deployment-production-readiness.md Production readiness checklist for deployers that mutate real infra.
.agents/skills/hosting-integration-authoring/resources/archetype-language-executable-app.md Guidance for polyglot/workload executable integrations (Python/Go/Node/etc.).
.agents/skills/hosting-integration-authoring/resources/archetype-overlay-configuration.md Guidance for rare non-resource overlay/configuration-object APIs.
.agents/skills/hosting-integration-authoring/resources/api-naming-and-shape.md Naming/shape rules for consistent C# + polyglot AppHost APIs.
.agents/skills/hosting-integration-authoring/resources/run-publish-deploy-modes.md Rules/patterns for mode-gating behavior and callbacks.
.agents/skills/hosting-integration-authoring/resources/eventing-and-initialization.md Lifecycle hook selection and safe initialization patterns.
.agents/skills/hosting-integration-authoring/resources/custom-lifecycle-and-facade-resources.md Guidance for manual lifecycle/facade resources and endpoint allocation.
.agents/skills/hosting-integration-authoring/resources/connection-properties.md Standard connection property conventions and expression guidance.
.agents/skills/hosting-integration-authoring/resources/relationships-and-companions.md Guidance for parent/child, companions, references, and setup siblings.
.agents/skills/hosting-integration-authoring/resources/polyglot-exports.md Detailed ATS export/analyzer/DTO/callback guidance for generated SDKs.
.agents/skills/hosting-integration-authoring/resources/endpoints-and-service-discovery.md Endpoint naming/ports/reference endpoint/service discovery rules.
.agents/skills/hosting-integration-authoring/resources/security-secrets-and-identity.md Secret handling, artifact hygiene, and identity/RBAC guidance.
.agents/skills/hosting-integration-authoring/resources/resource-model-invariants.md Determinism and invariants around naming, annotations, mutability, transforms.
.agents/skills/hosting-integration-authoring/resources/package-and-discoverability.md Package naming/posture/discoverability + README expectations.
.agents/skills/hosting-integration-authoring/resources/dashboard-ux.md Dashboard UX guidance (icons, URLs, commands, notifications/logs).
.agents/skills/hosting-integration-authoring/resources/generated-files-and-container-files.md Guidance for generated files, embedded resources, init files, container files.
.agents/skills/hosting-integration-authoring/resources/cross-platform-tooling.md Cross-platform requirements for paths, tooling checks, and process args.
.agents/skills/hosting-integration-authoring/resources/compatibility-and-deprecation.md Guidance for experimental/obsolete lifecycle and API baseline handling.
.agents/skills/hosting-integration-authoring/resources/testing-and-readmes.md Testing expectations and README structure guidance for integrations.

Review details

  • Files reviewed: 32/32 changed files
  • Comments generated: 0
  • Review effort level: Low

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sliekens

Copy link
Copy Markdown
Contributor

I believe the existing hosting-integration-creator.agent.md could use a trim after this, maybe some instructions can be replaced with a skills reference like:

## Relevant skills

- aspire
- hosting-integration-authoring

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@davidfowl

Copy link
Copy Markdown
Contributor Author

Done in 7dcfc07. I trimmed hosting-integration-creator.agent.md to delegate the detailed guidance to aspire and hosting-integration-authoring, and moved a few reusable CT-specific bits from the old prompt into the skill itself.

@aaronpowell
aaronpowell merged commit 2f025d8 into main Jun 29, 2026
5 checks passed
@aaronpowell
aaronpowell deleted the davidfowl-add-hosting-integration-skill branch June 29, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants