# Code comments and PR descriptions. Dimmy Help.

> Code comments and PR descriptions. Step-by-step help for Dimmy, the native voice dictation app for macOS, Windows, and Linux.

Source: https://dimmy.app/help/use-code-comments/

[← Back to Help center](https://dimmy.app/help/)

Use Cases

# Code comments and PR descriptions

Talk through what you changed and why. Use a Custom prompt that formats the result as a code comment or a PR body.

## Setup for code comments

Configure a Custom prompt that turns whatever you dictate into a code comment block:

text

`Rewrite the input as a code comment block. Use imperative tone. Wrap at 80 columns. Pick the right comment marker for the surrounding language, default to // if unsure. Output the comment block only.`

## Setup for PR descriptions

Use a separate Custom prompt with this preset:

text

`Rewrite as a GitHub PR description. Sections in order: Summary (2-3 sentences), What changed (bulleted), Why (1-2 sentences), Risks (bulleted, can be empty), Test plan (bulleted checkbox list). Markdown headings with ##. Output the description only.`

## The recipe (code comment)

1. Click on the line above the function you want to document.
2. Press the hotkey. Talk through what the function does, why, edge cases, gotchas.
3. Release. The LLM rewrites it into a tidy comment block at the right indentation.

## The recipe (PR description)

1. Open the GitHub PR description box (or \`gh pr create --body-file -\`).
2. Press the hotkey. Walk through the change.
3. Release. The text lands as a well-structured PR description.

image · placeholder

VS Code with a freshly-dictated comment block above a function

tip

Switch Custom prompts on the fly: Settings → Output → Custom. You can copy/paste between the comment prompt and the PR prompt as you go.

Was this helpful? 

## In this category

[ Use CasesWrite prompts for ChatGPT, Claude, Cursor, Claude CodeSpeak a paragraph of context in 10 seconds, paste into your AI tool. Use the Prompt style to get a clean, ready-to-send prompt.](https://dimmy.app/help/use-ai-prompts/) [ Use CasesRecord a meeting, get an AI recapDimmy Meeting records the call, transcribes it live, and writes a structured recap with action items. All inside Dimmy, on Windows and Mac.](https://dimmy.app/help/use-meeting-recaps/) [ Use CasesDraft emails in Gmail, Outlook, Apple MailPick a tone, dictate the body in 30 seconds, paste, send. The Professional style handles greetings and sign-offs.](https://dimmy.app/help/use-email/) [ Use CasesMultilingual workflowsSwitch languages mid-dictation. Translate as you speak. Use auto-detect when you really alternate, pinned when you mostly stay in one.](https://dimmy.app/help/use-multilingual/) [ Use CasesAccessibility, RSI, hands-busy contextsIf typing hurts or isn't an option, dictation becomes your primary input. Hold-vs-toggle hotkey, hands-free workflow, screen-reader compatible.](https://dimmy.app/help/use-accessibility/)

Last updated: 2026-05-22

On this page

1. [01 Setup for code comments](#setup-for-code-comments)
2. [02 Setup for PR descriptions](#setup-for-pr-descriptions)
3. [03 The recipe (code comment)](#the-recipe-code-comment)
4. [04 The recipe (PR description)](#the-recipe-pr-description)
