I sat at a table with a group of developers, somewhere in California a decade ago. We were all keenly watching a piece of java code we had just collegially written into a test to describe inputs and outputs to a function we were planning to implement for training purposes. The length of the conversation of the design we could see just from the method signature is something I remember. We could design all this before implementing any of it.
It took a while and a lot of opportunities to reflect for me to eventually get to the idea of unit testing and test-driven development. There is a lot of power in expressing your intent, and reviewing it before taking steps further.
What made intentional programming really click for me was teaching kids in this style. If you could express yourself on what you want (what you really really want - could not resist) in your local language, translate to English and translate to code, it created a flow that made sense. So I spent some time teaching kids and women over forty, back when that felt like a cause I would dedicate time on.
From intentional programming, I combined this with exploratory testing, and taught exploring with intent and shared notes on learning about navigating with intent - location - details hierarchy for ensemble testing. I learned to speak a little better with the intent I had with self-forced repetition of clearly needing some practice.
Ensemble testing made me really great at exploratory testing. I got to learn from hundreds of people on how they actually do things, not just on how they say they would do things. I failed a lot, succeeded a lot, and learned even more.
When I sat at that table in California, I had no idea that expressing intent would soon be called "prompting", and the whole world would be obsessed on finding a ways of clearly expressing intent in average language that, when enriched, would produce increments of code that fits to the expression of intent.
We may call it "zero-shot prompting" when we don't give an example to illustrate our intent, and "one-shot prompting" when we give an example, but we should already remember how we people discuss things: an example would be helpful, right about here.
Express your intent. If that is best done by saying "As an expert exploratory tester...", do so. Paying attention to your use and average use of language feels relevant now. Don't search for prompt engineering techniques, that is what we have been building into AI tools for last years - overriding your attempts of prompt engineering to give you things you did not know to ask for. We may call that context engineering but it still feels like a bigger prompt, just not one you can fully control.
Express what you want with intent, and you may just get something in that neighborhood. And what you get may be good enough, or a good starting point. Sometimes getting recognizably bad things is just the external imagination you need to get your real intent out.