Dotnet managedcode mimetypes

From managedcode/PrompterOne · View interactive version

Dotnet managedcode mimetypes is an AI agent skill from the GitHub repository managedcode/PrompterOne. Use ManagedCode.MimeTypes when a .NET application needs consistent MIME type detection, extension mapping, and content-type decisions for uploads, downloads, or HTTP responses.

How to use this skill

Skill file

ManagedCode.MimeTypes

Trigger On

Workflow

  1. Identify where the application needs stable MIME-type decisions:
  1. Centralize content-type mapping instead of scattering ad-hoc string tables across the codebase.
  2. Use one library boundary for extension and MIME lookups.
  3. Validate the extensions and media types that matter to the product.
  4. Document any product-specific overrides separately from the library defaults.
flowchart LR
  A["File name or extension"] --> B["ManagedCode.MimeTypes lookup"]
  B --> C["Resolved MIME type"]
  C --> D["Upload validation, storage metadata, or HTTP response"]

Deliver

Validate

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.