Initial upload: Local LLM Prompt Manager CLI tool
This commit is contained in:
25
prompts/explain-code.yaml
Normal file
25
prompts/explain-code.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: explain-code
|
||||||
|
description: Explain code in simple terms
|
||||||
|
tags: [documentation, beginner, code-review]
|
||||||
|
variables:
|
||||||
|
- name: code
|
||||||
|
description: The code snippet to explain
|
||||||
|
required: true
|
||||||
|
- name: level
|
||||||
|
description: Explanation level (beginner, intermediate, advanced)
|
||||||
|
required: false
|
||||||
|
default: beginner
|
||||||
|
template: |
|
||||||
|
Please explain the following code in {{ level }} terms:
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ code }}
|
||||||
|
```
|
||||||
|
|
||||||
|
Focus on:
|
||||||
|
1. What the code does
|
||||||
|
2. How it works
|
||||||
|
3. Any potential issues
|
||||||
|
|
||||||
|
provider: ollama
|
||||||
|
model: llama3.2
|
||||||
Reference in New Issue
Block a user