infra-conventions

Defines Docker and Aspire deployment conventions for .NET applications.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill infra-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-conventions
Source: https://github.com/Emmanuelkwaa/NetRockTemplate/tree/main/.claude/skills/infra-conventions
Command: npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill infra-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a standardized set of conventions and a checklist for infrastructure setup and deployment, ensuring consistency and reducing errors across projects.

Core Features & Use Cases

  • Deployment Checklist: A comprehensive list covering Dockerfile integrity, environment variables, Aspire configuration, health checks, reproducibility, and security.
  • Infrastructure Overview: Details local development setup (Aspire) and production deployment options.
  • Use Case: A new developer joining a project can use this Skill's checklist to ensure their local development environment is set up correctly and that their deployment adheres to established best practices.

Quick Start

Review the deployment checklist to ensure all infrastructure conventions are met.

Frequently Asked Questions about infra-conventions

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

FAQPage Schema
What are the best practices for Docker deployment in .NET Aspire applications?

Docker deployment conventions for .NET Aspire applications include following Dockerfile best practices, managing environment variables, configuring the Aspire AppHost, implementing health checks, and applying security hardening to ensure reproducible builds across development and production environments.

How do I standardize infrastructure setup for .NET projects using Docker and Aspire?

To standardize infrastructure setup, use a deployment checklist covering Dockerfile integrity, environment variable management, Aspire AppHost configuration, health checks, reproducibility, and security hardening. This ensures consistent local development and production deployment across all projects.

How does Aspire AppHost configuration work for local development and production deployment?

Aspire AppHost configuration defines local development setup and production deployment options by standardizing environment variable management, health check implementation, and security hardening. This ensures reproducible builds and consistent deployments across different environments.

Can I use these infrastructure conventions without prior Docker or Aspire experience?

These infrastructure conventions assume basic familiarity with .NET, Docker, and Aspire. New developers can use the deployment checklist to ensure correct local environment setup and adherence to established best practices without deep prior infrastructure knowledge.

What security hardening measures should I apply when deploying .NET applications with Docker?

Security hardening for .NET Docker deployments involves following the infrastructure conventions checklist, which covers Dockerfile integrity, environment variable management, health check implementation, and reproducibility to ensure consistent and secure production environments.

Why do my Docker builds differ between development and production environments?

Docker builds differ between environments when infrastructure conventions are not standardized. Applying a checklist covering Dockerfile best practices, environment variable management, Aspire configuration, and health checks ensures reproducible builds and consistent deployments.