Claude Skill

dotnet-managedcode-mimetypes

Use ManagedCode.MimeTypes when a .NET application needs consistent MIME type detection, extension mapping, and content-type decisions for uploads, downloads, or HTTP responses.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download postpartum-genushyacinthus29-dotnet-skills-skills_dotnet-managedcode-mimetypes-bfa4ebd.zip · 0 KB
Part of postpartum-genushyacinthus29/dotnet-skills — 80 skills

Install

skills CLI npx skills add https://github.com/Postpartum-genushyacinthus29/dotnet-skills/tree/main/skills/dotnet-managedcode-mimetypes
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install postpartum-genushyacinthus29-dotnet-skills@llmmart
Git git clone https://github.com/Postpartum-genushyacinthus29/dotnet-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole postpartum-genushyacinthus29/dotnet-skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

ManagedCode.MimeTypes

Trigger On

  • integrating ManagedCode.MimeTypes into 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

  1. Identify where the application needs stable MIME-type decisions:
    • upload validation
    • download response headers
    • storage metadata
    • attachment processing
  2. Centralize content-type mapping instead of scattering ad-hoc string tables across the codebase.
  3. Use one library boundary for extension and MIME lookups.
  4. Validate the extensions and media types that matter to the product.
  5. 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
Files (dotnet-skills)
  • SKILL.md 1.8 KB
    ---
    name: dotnet-managedcode-mimetypes
    version: "1.0.0"
    category: "Core"
    description: "Use ManagedCode.MimeTypes when a .NET application needs consistent MIME type detection, extension mapping, and content-type decisions for uploads, downloads, or HTTP responses."
    compatibility: "Requires a .NET application that integrates ManagedCode.MimeTypes or evaluates MIME type mapping behavior."
    ---
    
    # ManagedCode.MimeTypes
    
    ## Trigger On
    
    - integrating `ManagedCode.MimeTypes` into 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
    
    1. Identify where the application needs stable MIME-type decisions:
       - upload validation
       - download response headers
       - storage metadata
       - attachment processing
    2. Centralize content-type mapping instead of scattering ad-hoc string tables across the codebase.
    3. Use one library boundary for extension and MIME lookups.
    4. Validate the extensions and media types that matter to the product.
    5. Document any product-specific overrides separately from the library defaults.
    
    ```mermaid
    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
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related