dotnet-managedcode-mimetypes
Standardizes MIME type mapping in .NET applications.
Install
mkdir -p .claude/skills/dotnet-managedcode-mimetypes && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14793" && unzip -o skill.zip -d .claude/skills/dotnet-managedcode-mimetypes && rm skill.zipInstalls to .claude/skills/dotnet-managedcode-mimetypes
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use ManagedCode.MimeTypes when a .NET application needs consistent MIME type detection, extension mapping, and content-type decisions for uploads, downloads, or HTTP responses.Key capabilities
- →Integrate ManagedCode.MimeTypes into .NET applications
- →Map file extensions to content types in APIs
- →Centralize content-type mapping logic
- →Review content-type handling for files
- →Validate extensions and media types
- →Document product-specific MIME type overrides
How it works
This skill centralizes MIME type decisions by using the ManagedCode.MimeTypes library to map file extensions to content types, ensuring consistency across upload, download, and storage operations.
Inputs & outputs
When to use dotnet-managedcode-mimetypes
- →Validate upload MIME types
- →Map file extensions for HTTP responses
- →Centralize storage metadata logic
- →Resolve content-types for attachments
About this skill
ManagedCode.MimeTypes
Trigger On
- integrating
ManagedCode.MimeTypesinto upload or download flows - mapping file extensions to content types in APIs or background processing
- reviewing content-type handling for files, blobs, or attachments
- documenting a reusable MIME-type decision point in a .NET application
Workflow
- Identify where the application needs stable MIME-type decisions:
- upload validation
- download response headers
- storage metadata
- attachment processing
- Centralize content-type mapping instead of scattering ad-hoc string tables across the codebase.
- Use one library boundary for extension and MIME lookups.
- Validate the extensions and media types that matter to the product.
- 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
- guidance on where MIME lookup belongs in application code
- recommendations for centralized content-type decisions
- validation expectations for real file types used by the product
Validate
- MIME mapping is not duplicated across multiple services or controllers
- important file types are verified explicitly
- response or storage code uses the resolved type consistently
When not to use it
- →The .NET application does not integrate ManagedCode.MimeTypes.
- →The task does not involve MIME type detection, extension mapping, or content-type decisions.
Limitations
- →The skill requires a .NET application that integrates ManagedCode.MimeTypes.
- →The skill does not define new MIME types.
- →The skill does not automatically implement the integration.
How it compares
This workflow provides a consistent, centralized approach to MIME type handling in .NET applications, avoiding scattered, ad-hoc string tables and duplicate logic found in manual implementations.
Compared to similar skills
dotnet-managedcode-mimetypes side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| dotnet-managedcode-mimetypes (this skill) | 0 | 3mo | No flags | Beginner |
| csharp-developer | 43 | 2mo | No flags | Advanced |
| csharp-pro | 9 | 4mo | No flags | Intermediate |
| dotnet-architect | 12 | 4mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by managedcode
View all by managedcode →You might also like
csharp-developer
zenobi-us
Expert C# developer specializing in modern .NET development, ASP.NET Core, and cloud-native applications. Masters C# 12 features, Blazor, and cross-platform development with emphasis on performance and clean architecture.
csharp-pro
sickn33
Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.
dotnet-architect
sickn33
Expert .NET backend architect specializing in C#, ASP.NET Core, Entity Framework, Dapper, and enterprise application patterns. Masters async/await, dependency injection, caching strategies, and performance optimization. Use PROACTIVELY for .NET API development, code review, or architecture decisions.
nuget-manager
github
Manage NuGet packages in .NET projects/solutions. Use this skill when adding, removing, or updating NuGet package versions. It enforces using `dotnet` CLI for package management and provides strict procedures for direct file edits only when updating versions.
dotnet-backend-patterns
wshobson
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
azure-maps-search-dotnet
microsoft
Azure Maps SDK for .NET. Location-based services including geocoding, routing, rendering, geolocation, and weather. Use for address search, directions, map tiles, IP geolocation, and weather data. Triggers: "Azure Maps", "MapsSearchClient", "MapsRoutingClient", "MapsRenderingClient", "geocoding .NET", "route directions", "map tiles", "geolocation".