Repository: microsoft/PowerToys
File: src/modules/AdvancedPaste/AdvancedPaste/Models/PasteFormats.cs (C#)

Code before:
        IconGlyph = "\ue8a5",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Text,
        KernelFunctionDescription = "Takes clipboard text and formats it as markdown text.")]
    Markdown,

    [PasteFormatMetadata(
        IsCoreAction = true,
        ResourceId = "PasteAsJson",
        IconGlyph = "\uE943",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Text,
        KernelFunctionDescription = "Takes clipboard text and formats it as JSON text.")]
    Json,

    [PasteFormatMetadata(
        IsCoreAction = false,
        ResourceId = "ImageToText",
        IconGlyph = "\uE91B",
        RequiresAIService = false,
        CanPreview = true,
        SupportedClipboardFormats = ClipboardFormat.Image,
        IPCKey = AdvancedPasteAdditionalActions.PropertyNames.ImageToText,
        KernelFunctionDescription = "Takes an image in the clipboard and extracts all text from it using OCR. Use this ONLY when the user explicitly asks to extract text or OCR.")]
    ImageToText,

    [PasteFormatMetadata(
        IsCoreAction = false,
        ResourceId = "PasteAsTxtFile",
        IconGlyph = "\uE8D2",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Text | ClipboardFormat.Html,
        IPCKey = AdvancedPastePasteAsFileAction.PropertyNames.PasteAsTxtFile,
        KernelFunctionDescription = "Takes text or HTML data in the clipboard and transforms it to a TXT file.")]
    PasteAsTxtFile,

    [PasteFormatMetadata(
        IsCoreAction = false,
        ResourceId = "PasteAsPngFile",
        IconGlyph = "\uE8B9",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Image,
        IPCKey = AdvancedPastePasteAsFileAction.PropertyNames.PasteAsPngFile,
        KernelFunctionDescription = "Takes an image in the clipboard and transforms it to a PNG file.")]
    PasteAsPngFile,

    [PasteFormatMetadata(

Review comment (refactor):
We should try to describe what the function does, rather than phrasing it as an instruction or command.

"Takes an image from the clipboard and extracts text using OCR. 
This function is intended only for explicit text extraction or OCR requests."

Code after:
        IconGlyph = "\ue8a5",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Text,
        KernelFunctionDescription = "Takes clipboard text and formats it as markdown text.")]
    Markdown,

    [PasteFormatMetadata(
        IsCoreAction = true,
        ResourceId = "PasteAsJson",
        IconGlyph = "\uE943",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Text,
        KernelFunctionDescription = "Takes clipboard text and formats it as JSON text.")]
    Json,

    [PasteFormatMetadata(
        IsCoreAction = false,
        ResourceId = "ImageToText",
        IconGlyph = "\uE91B",
        RequiresAIService = false,
        CanPreview = true,
        SupportedClipboardFormats = ClipboardFormat.Image,
        IPCKey = AdvancedPasteAdditionalActions.PropertyNames.ImageToText,
        KernelFunctionDescription = "Takes an image from the clipboard and extracts text using OCR. This function is intended only for explicit text extraction or OCR requests.")]
    ImageToText,

    [PasteFormatMetadata(
        IsCoreAction = false,
        ResourceId = "PasteAsTxtFile",
        IconGlyph = "\uE8D2",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Text | ClipboardFormat.Html,
        IPCKey = AdvancedPastePasteAsFileAction.PropertyNames.PasteAsTxtFile,
        KernelFunctionDescription = "Takes text or HTML data in the clipboard and transforms it to a TXT file.")]
    PasteAsTxtFile,

    [PasteFormatMetadata(
        IsCoreAction = false,
        ResourceId = "PasteAsPngFile",
        IconGlyph = "\uE8B9",
        RequiresAIService = false,
        CanPreview = false,
        SupportedClipboardFormats = ClipboardFormat.Image,
        IPCKey = AdvancedPastePasteAsFileAction.PropertyNames.PasteAsPngFile,
        KernelFunctionDescription = "Takes an image in the clipboard and transforms it to a PNG file.")]
    PasteAsPngFile,

    [PasteFormatMetadata(