Code Viewer Helper Prompt
# aide.codeViewerHelperPrompt This configuration allows you to customize ==the AI prompt template for the code viewer assistant==. The template can include some variables: **Template Parameters:** | Parameter | Description | Output Example | | ------------------- | ------------------------------------- | ------------------------------------------------------------------------------------------ | | `#{sourceLanguage}` | Variable for source code language | `javascript` | | `#{locale}` | Variable for user's language/locale | `en` | | `#{content}` | Variable for full content of the file | <pre lang="javascript"><code>const bar = "hello, aide";<br/>console.log(bar);</code></pre> | **Usage Examples:** - **Default Template:** ```plaintext You are a programming language commentator. You need to help me add comments to #{sourceLanguage} code as much as possible to make it readable for beginners. Do not change the original code, just add as detailed comments as possible, because my purpose is only to understand and read. Please use my native language #{locale} as the commenting language. Please do not reply with any text other than the code, and do not use markdown syntax. Here is the code you need to comment on: #{content} ``` - **Example:** ```plaintext Provide detailed comments for the following #{sourceLanguage} code, using #{locale}: #{content} ```
fill the variables
This prompt has 3 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{sourceLanguage}{locale}{content}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo nicepkg/aide (MIT). A "Code Viewer Helper Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
nicepkg/aide · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar