💡 How to use these prompts:
Replace everything in [BRACKETS] with your specific details before sending.
Click Copy to copy any prompt to your clipboard instantly.
Task: [DESCRIBE]
Constraints for this session:
- No single commit may touch more than 5 files
- If the change needs more than that, stop and propose a split instead
- Do not refactor anything outside the scope of the task
- Do not reformat files you are not otherwise changing
If you find something broken that is out of scope, note it at the end rather than fixing it.
Work on [TASK] and stop at the first point where I need to make a judgement call.
At that checkpoint, give me:
- What you have done so far, in one paragraph
- The decision you need from me, stated as options rather than an open question
- What you will do next under each option
Do not proceed past the checkpoint without an answer.
Bug report: [PASTE]
Before proposing a fix:
1. Write a failing test that reproduces it
2. Show me the test failing
3. Explain what the code is actually doing versus what it should do
Only then propose the fix, and show the same test passing.
If you cannot reproduce it, say so and tell me what information you would need.
Write a commit message for the change you just made.
Structure:
- One line summary under 60 characters
- Blank line
- What changed and why, not how
- Anything a reviewer should look at closely
- Anything you were unsure about
Do not describe the diff. I can read the diff. Tell me what I would not know from reading it.
Review the CI workflow file below for these specific issues:
1. Untrusted input expanded directly into a run block. Issue titles, PR titles, branch names, comment bodies
2. Sanitisation applied after template expansion rather than before
3. Conditionals referencing one event context on a workflow triggered by another
4. Tokens with broader scope than the workflow needs
For each finding, show the safe rewrite.
File:
[PASTE]
Before this session ends, write a handoff note covering:
- What the task was and where it stands
- Decisions made and why, especially ones a reasonable person would question
- What is deliberately unfinished
- Anything you learned about this codebase that is not obvious from reading it
- The first thing the next session should do
Write it for someone with no memory of this conversation.