Home What I do Work Playground Toolbox About Contact Shop ↗ DEEN

← Toolbox

Free cheat sheet

Cheat sheet: copy-paste templates for working with AI

All the templates from my posts in one place, sorted by topic. Copy, fill in the square brackets, go. The cheat sheet grows with every new post.

Rico Herrmann · Last added: 26 November 2026

Download PDF

Online with copy buttons: https://www.mindriclab.de/en/guide/cheat-sheet/

The templates come from my own work with Claude Code and other AI tools. Many work in any AI chat, some are specific to Claude Code. Whatever is in square brackets, you replace with your part.

New templates are added with every post. The date at the top shows when something was last added. So it's worth dropping by now and then.

1Working with Claude Code

Template 1Plan first, then GO

Claude shows what it intends to do first. Nothing gets built until you write GO.

First read [file].
Don't change anything yet.
Show me a plan in steps:
which files, what exactly, why.
I'll say GO.

Template 2Handover at the end of a chat

So the next chat picks up exactly where this one stops.

Write a HANDOVER.md:
- What's done?
- What's the next step?
- What's still open?
- What's uncertain or untested?
Short and factual.

Template 3One topic, one chat

The first line for a new chat. Long chats get less precise.

New chat. This is only about [topic]. Status: [2 sentences]. Goal: [result].

Template 4Compress a long chat with /compact

When the chat gets full: keep what matters, drop the clutter.

/compact Keep: goal, decisions made, changed files, open points, last error. Drop: failed attempts, long outputs, finished side topics. Next step: [what comes next]

Template 5Briefing for a project

The frame for any bigger task: goal, scope, limits, way of working.

Briefing: [project name]

Goal: [one sentence on what should work at the end]
Scope: [what gets built or changed]
Don't: [what must not happen, e.g. no new features]
Tech: [if decided, otherwise: suggest one and explain why]

Way of working:
- First read and understand, then show a plan and wait for my "GO". Change nothing before GO.
- One solution instead of a list of options. If something is unclear, ask.
- No keys, passwords or private data in code or commits.
- At the end a short report: what was done, what was tested, what's open.

Template 6Turn an idea into a mini spec

Before any code: what should version 1 do, and when is it done?

My idea for a small tool:
[idea in two or three sentences]

Turn it into a mini spec:
1. What for: the problem in one sentence
2. Who uses it, where? (PC, phone, offline)
3. Version 1: at most 5 features
4. Later: what can wait
5. Not included: what it should not do
6. Done when: three testable sentences
7. Open questions for me

Keep version 1 small enough that I can test it myself quickly. Don't write any code yet.

Template 7Ask for two approaches first

Instead of the first solution, two to choose from, with effort and catches.

Task: [what should be built]

Before you build anything: show me [2] ways to solve it. For each one:
- How it works, in two sentences
- Effort: small, medium or large
- What gets difficult later
- What I need to install or learn for it

Then: which one would you pick, and why? What would change your mind?

Don't build anything yet. Wait for my choice.

Template 8Sketch the interface first

See what it looks like first, then have the tech built.

First build me only the interface as an HTML sketch, without any function. I'll tell you what fits. Only then comes the tech.

Template 9An app in one HTML file

For small tools: nothing to install, runs offline in the browser.

Build me [tool] as one single HTML file. Everything in one file, no installation, runs offline in the browser.

Template 10Change only this

For small changes without the AI rebuilding everything.

Change only this: [what exactly, e.g. "The save button becomes blue and a bit bigger"].
Everything else stays as it is: no rebuild, no new files, no different layout.
Tell me beforehand which file and which spot you'll change.

Template 11Screenshot instead of description

A picture explains the problem faster than three paragraphs.

See screenshot: [what's wrong]. This is how it should be: [one sentence]. Change only that.

Template 12Someone else's project: a tour first

Before you change someone else's code: a map of what's where.

Read this project. Change nothing, start nothing, install nothing.

Then give me a short map:
1. What is it for? Two sentences.
2. How do I start it? Exact command.
3. Important folders and files, one line each on what's in them.
4. Where does data come from, where does it go? (files, internet, API)
5. Where is it risky to touch anything?

Mark anything you're only guessing as a guess.

After that I want to: [e.g. add a field]

2Checking and finding bugs

Template 13"Done" doesn't mean tested

One sentence that makes the AI say what it actually checked.

Before you say "done": show me how you checked it. What haven't you tested? What do I have to try myself?

Template 14Test list before you believe "done"

A list to click through yourself, including what the AI only assumes.

Before I accept your result: write me a test list I can go through myself.

1. The normal path, step by step
2. Error cases: empty input, wrong format, lots of data, [your own case]
3. What you tested yourself and what you only assume
4. What you couldn't test

For each point: what I do · what I should see

Only say "done" once I've gone through the list and everything works.

Template 15Change check: only what you asked for?

Before you accept anything: what else did the AI touch along the way?

Before I take this over: show me what you changed. Look at git diff for that, not at the chat.

1. Every changed file, one sentence: what and why.
2. What did you change that I didn't ask for? Including renaming, formatting, comments.
3. Was anything deleted? What exactly?
4. What should I quickly test myself?

Don't change anything else now. Just report.

Template 16Bug report when there's no error message

When something goes wrong but nothing turns red: causes first, then the fix.

Something behaves wrong, and there's no error message.

How to get there: [steps 1, 2, 3]
Expected: [what should happen]
Happens: [what happens instead]
Since when: [e.g. since change X]
Always or only sometimes: [ … ]

Don't change anything yet. First:
1. Your two most likely causes, with reasons.
2. How we check each one, e.g. with an output at the right place.
Then wait for my result.

Template 17Understand an error message, not just fix it

So you recognise the error yourself next time.

I want to understand this error, not just get rid of it.

What I did: [step or command]
What I expected: [result]
Error message: [paste in full]

1. What does the message mean? Two or three sentences, without jargon.
2. Which line in it is the important one?
3. Name the most likely cause and a second possible one.
4. How do I check myself which one it is? One step I can do.
5. Only then: the smallest change that fixes it.
6. How do I recognise this error myself next time?

Change nothing until I say GO.

Template 18Turn a bug into a rule

So the same mistake doesn't happen again in the next chat.

The bug is fixed. Before we continue:

1. What was the actual cause? One sentence, not a symptom.
2. Turn it into a rule for CLAUDE.md that prevents exactly this. At most two sentences, written as an instruction to you.
3. Say which heading it belongs under.

Don't add it yet. Show it to me, I decide.

The rule must be checkable, not "be more careful".

Template 19Get code explained before you run it

Before you run new or unknown code: what does it do, what does it touch?

Explain the code to me before I run it. I'm not a developer.

1. What does it do? Briefly, without jargon.
2. Which files, folders or addresses does it touch? Does it read, write or delete anything?
3. What does it need to run? (programs, packages, keys)
4. What can go wrong, and how would I notice?
5. What do I need to change for [my goal]?

If you find a bug or a risk while doing this, say so first.

Template 20Clean up without losing anything

Before the AI deletes or moves files.

Before you delete or move anything:
1. Show me the list of files and why they should go.
2. Delete nothing without my OK.
3. Make a commit first so I can get everything back (if you use Git).

Template 21Stuck? Just the next step

When a project stalls: no big plan, just one doable step.

I'm stuck on a project.
First ask me three short questions, one at a time:
1. What's the goal, in one sentence?
2. What's already done?
3. What am I stuck on right now, even if it sounds trivial?

Then give me exactly one next step:
- doable in at most 20 minutes
- so concrete I can start right away
- without having to learn or buy anything first

No plan, no list. One step.
When I say "next", the next one comes.

3Safety and Git

Template 22Git as an undo button

Set it up once in your project folder, then you can undo any AI rebuild.

In the terminal, once per project:

cd [your project folder]
git init
git add -A
git commit -m "State before AI"

Into CLAUDE.md:

## Git
- Check git status before every change. If anything is open: commit first.
- After every finished step a commit with a short message on what changes.
- Never git push and never git reset --hard without my OK.

Template 23Commit before a rebuild

If something goes wrong, there's a state to go back to.

Make a commit with a short description before every bigger change. If something goes wrong, we go back there.

Template 24Check before the first push

Before anything lands on GitHub: no keys, no private data.

Before we push: check the whole project for keys, passwords, private data and personal paths. Show me where you find them, don't change anything yet.

Template 25.gitignore to start with

What never belongs in a repo: keys, dependencies, your own data.

# Keys and credentials
.env
.env.*
!.env.example
*.key

# Dependencies and builds
node_modules/
.venv/
__pycache__/
dist/
build/

# Your own data
*.db
*.sqlite
exports/

Template 26The AI makes up a package

AIs sometimes invent package names. Check before every install.

Before you install a package: name the exact name, the official page and how widely it's used. If you're not sure the package really exists, say so. Install nothing without my OK.

Template 27Spending limit for the AI

So a script with an API key can't burn money unchecked.

Build a limit into my script: at most [50] API calls per run, then stop and report.

Template 28Permission list for Claude Code

In .claude/settings.json: harmless commands without asking, secrets blocked.

{
  "permissions": {
    "allow": [
      "Bash(git status)",
      "Bash(git diff:*)",
      "Bash(npm run test:*)"
    ],
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(./secrets/**)"
    ]
  }
}

4Asking better: everyday prompts

Template 29Make the AI push back

Against the endless "Great idea!": objections first, then the answer.

Before you answer, check my proposal critically:
1. Name the two strongest objections to it, even if they're uncomfortable.
2. Which assumption in it is the shakiest, and how can I check it quickly?
3. If you'd do it differently: how, in one sentence.
Don't start with praise. If the proposal is good, say so in one sentence and explain why.

Template 30Ask first, then write

The AI asks its questions first instead of guessing.

Before you start: ask me the questions you need to do [task] properly.

- One question at a time, at most [5].
- With each question a suggestion I can accept with "yes".
- Only ask what you can't sensibly decide yourself.

When you know enough: briefly sum up what you understood and wait for my OK. Only then the answer.

Template 31Pre-mortem: let the plan fail

Before you start, think about how it could fail, and prevent it today.

Imagine it's three months later and [my plan] has failed.

1. Write down the five most likely reasons.
2. Rate each one: how likely, how bad.
3. For the three most important ones:
   - a warning sign that lets me notice early
   - a step that prevents it today

Be specific. No risks that apply to every project.

Template 32Example instead of description

Instead of explaining the style, just show an example.

Write it in the style of this example: [paste example]. Same length, same tone.

Template 33Set the format

Short answers without a preamble.

Answer as a list with at most 5 points. One sentence per point. No intro.

Template 34No made-up sources

So the AI doesn't invent books and studies that don't exist.

Only name sources you know for sure, with title, author and year.
If you're not sure a source exists, write "not sure" instead of making something up.
Separate clearly: what do you know, what do you assume?

Template 35Shorten a text without losing what matters

Shorter, but with every key point and your tone.

Shorten this text to [about half].

First:
1. List the key points that must stay.
2. Mark what's repeated, filler or a detour.

Then shorten. Rules:
- No new statement, no new example.
- Numbers, names and deadlines stay exactly as they are.
- My tone stays: [e.g. casual].
- Rather cut sentences than rephrase everything.

Afterwards: what got cut? A short list so I can check nothing is missing.

Text: [paste text]

Template 36Turn messy text into a table

Emails, notes, lists: neatly in columns, without the AI guessing.

Turn the text below into a table.

Columns: [e.g. Name | Date | Amount]
One row per [entry/person/appointment].

Rules:
- Only what's in the text. If something is missing, leave the cell empty. Don't guess.
- Mark anything uncertain with (?).
- Dates as DD.MM.YYYY, amounts without currency symbol.
- Don't summarise, don't leave anything out.

Afterwards: what didn't fit into any column?

Text: [paste text]

Template 37Have the AI quiz you

Learn instead of just reading: an explanation, then questions from easy to hard.

I want to really understand [topic].
What I know so far: [what I already know]

1. Explain the core in at most five sentences, with an everyday comparison.
2. Then quiz me: one question at a time, from easy to hard, [5] in total.
3. Wait for my answer. Don't give away the solution beforehand.
4. Then tell me what's right and what's missing. No praise if it's wrong.
5. If I was off: explain it differently, ask a new question on it.
6. At the end: what sits, what doesn't, and a small task for me.

5Your business folder

Template 38Chat start: where are we?

The first line in every new chat when you work with house rules and a handover.

Read CLAUDE.md and HANDOVER.md.
Tell me in five lines at most where we are and what's next.
Today I want to: [topic]

Template 39Turn a long chat into a decision log entry

What was really decided goes into the decision log, with the reason.

Sum up this chat as an entry for my decision log.

Only include what has really been decided. Ideas we only discussed don't belong in it.

Per decision:
[date] · [decision in one sentence]
Why: [the reason I gave]
Replaces: [earlier decision, if any]

Unsure: what isn't clearly decided
Open: what hasn't been settled yet

Rules:
- Don't invent a reason. If it's missing, write [reason missing].
- Short: rather a few clear entries.

6Images, video and music

Template 40Turn an image into a prompt

An image you like, as a prompt for your image generator.

Describe this image as a prompt for an image generator. In English, in full sentences, the most important thing first:

1. Subject: who or what, what it looks like
2. Surroundings and background
3. Light and time of day
4. Colours and mood
5. Style: photo, illustration, 3D, painting
6. Camera: distance, angle, lens

Rules:
- Only what's visible, nothing added.
- No real names or brands.
- At most 80 words.
- Then a second version as comma-separated keywords.

Template 41Seven building blocks for video prompts

So AI videos look calm: one subject, one action, one camera move.

1. Subject: who or what, with one visible detail
2. Action: what happens in those few seconds, only one main movement
3. Camera: exactly one movement (static, slow push-in, orbit, tracking shot)
4. Light: time of day and light source
5. Look: colours, film grain, grading
6. Sound: noises and ambience, music yes or no, speech in quotation marks
7. Negative: what shouldn't happen (in the negative field if the tool has one, otherwise briefly in the prompt)

Example:
An old fisherman in a yellow raincoat pulls a net onto a small wooden boat. Waves rock the boat gently. Slow push-in from the side. Overcast morning light, soft and grey. Muted colours, film grain, documentary look. Sound: lapping waves, creaking hull, distant gulls, no music.
Negative: text, watermark, extra fingers, sudden cuts

Template 42One camera move per clip

The short form for video prompts. Several moves make clips restless.

[subject], [one action], one camera move: [slow push-in | pan | orbit], [light], [look]

Template 43Start image first, then image-to-video

So several clips match: all from the same start image.

1. Create a start image: [scene], [light], [look], 16:9
2. Image-to-video with this start image: [action], [one camera move]
3. Use the same start image for every further clip.

Template 44Style prompt for Suno

For instrumental music with a clear structure, without vocals.

[genre], [structure: intro, breakdown, build-up], [2–3 instruments], [mood], instrumental, [tempo] bpm, -vocals, -choir

7Local AI with Ollama

Template 45Ollama forgets the beginning: num_ctx

When a local model forgets the start of long texts.

Check what the model can do:
ollama show [model name]
→ "context length" is the maximum

In the chat, just for now:
/set parameter num_ctx 8192

Permanently in the Modelfile:
PARAMETER num_ctx 8192

For all models (Windows environment variable, then restart Ollama):
OLLAMA_CONTEXT_LENGTH = 8192

Check:
ollama ps → if it says 100% GPU, it still fits on the graphics card

Template 46Does the model fit on your graphics card?

Rule of thumb before you download a big model.

Billions of parameters × factor + 1–2 GB for the context
Factor: Q4_K_M ≈ 0.6 · Q8 ≈ 1.1 · FP16 = 2

Example 14B in Q4_K_M: 14 × 0.6 ≈ 8.5 GB, with context about 10 GB.

8All templates at a glance

No.TemplateChapter
1Plan first, then GO1
2Handover at the end of a chat1
3One topic, one chat1
4Compress a long chat with /compact1
5Briefing for a project1
6Turn an idea into a mini spec1
7Ask for two approaches first1
8Sketch the interface first1
9An app in one HTML file1
10Change only this1
11Screenshot instead of description1
12Someone else's project: a tour first1
13"Done" doesn't mean tested2
14Test list before you believe "done"2
15Change check: only what you asked for?2
16Bug report when there's no error message2
17Understand an error message, not just fix it2
18Turn a bug into a rule2
19Get code explained before you run it2
20Clean up without losing anything2
21Stuck? Just the next step2
22Git as an undo button3
23Commit before a rebuild3
24Check before the first push3
25.gitignore to start with3
26The AI makes up a package3
27Spending limit for the AI3
28Permission list for Claude Code3
29Make the AI push back4
30Ask first, then write4
31Pre-mortem: let the plan fail4
32Example instead of description4
33Set the format4
34No made-up sources4
35Shorten a text without losing what matters4
36Turn messy text into a table4
37Have the AI quiz you4
38Chat start: where are we?5
39Turn a long chat into a decision log entry5
40Turn an image into a prompt6
41Seven building blocks for video prompts6
42One camera move per clip6
43Start image first, then image-to-video6
44Style prompt for Suno6
45Ollama forgets the beginning: num_ctx7
46Does the model fit on your graphics card?7

How to set up your working folder for Claude Code is in the guide How to set up your business in Claude Code.

A template doesn't work as described, or you have a better one? Write to me: contact@mindriclab.de. More on building things yourself with AI at mindriclab.de.

↑ Back to top · ← Back to the toolbox