Skip to content
cccskills
FreePublished on GitHub

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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md1.7 KB
  • manifest.json96 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

dotnet

Free

Primary router skill for broad .NET work. Classify the repo by app model and cross-cutting concern first, then switch to the narrowest matching .NET skill instead of staying at a generic layer.

The English summary is being prepared. Showing the original description.

managedcode/PrompterOne45Updated May 9, 2026

Use a repo-root `.editorconfig` to configure free .NET analyzer and style rules. Use when a .NET repo needs rule severity, code-style options, section layout, or analyzer ownership made explicit. Nested `.editorconfig` files are allowed when they serve a clear subtree-specific purpose.

The English summary is being prepared. Showing the original description.

managedcode/PrompterOne45Updated May 9, 2026

Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.

The English summary is being prepared. Showing the original description.

managedcode/PrompterOne45Updated May 9, 2026

Use Biome in .NET repositories that ship Node-based frontend assets and want a fast combined formatter-linter-import organizer for JavaScript, TypeScript, CSS, JSON, GraphQL, or HTML. Use when a repo prefers a modern all-in-one CLI over a larger ESLint plus Prettier style stack.

The English summary is being prepared. Showing the original description.

managedcode/PrompterOne45Updated May 9, 2026

Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design, state flow, rendering, and hosting choices.

The English summary is being prepared. Showing the original description.

managedcode/PrompterOne45Updated May 9, 2026

Use the free built-in .NET SDK analyzers and analysis levels with gradual Roslyn warning promotion. Use when a .NET repo needs first-party code analysis, `EnableNETAnalyzers`, `AnalysisLevel`, or warning-as-error policy wired into build and CI.

The English summary is being prepared. Showing the original description.

managedcode/PrompterOne45Updated May 9, 2026

See all skills by managedcode

Report a problem with this skill