The reason this works is that nothing you can learn in a conversation predicts what somebody is like to work with. Responsiveness, whether the work matches what was described, how disagreements are handled, and whether the reasoning holds up under pressure are all visible within a small project and invisible before one.
Choose something with a clear boundary and an obvious outcome, since ambiguity defeats the purpose. A specific page, a tracking setup, a technical fix, or a review of what you already have. Those complete, they are checkable, and either party can conclude the fit is wrong without anybody having lost much.
Avoid choosing something so small that it tells you nothing, which is the other failure. A task requiring no judgement and no interaction reveals only that somebody can complete a task. What you want is enough scope that decisions arise, because how those are handled is the actual information.
Be clear that it is a trial rather than pretending otherwise, since both parties benefit from the framing. It sets expectations about what happens next, it removes the awkwardness of not continuing, and it produces a more honest engagement than an open ended arrangement that both parties suspect is being evaluated.
Watch for the things that predict the larger engagement. Whether questions were asked before recommendations. Whether the work arrived when promised or the delay was communicated early. Whether you were told something you did not want to hear. Whether the reasoning was explained or only the conclusion. Those generalise considerably better than the quality of the deliverable itself.
Expect a small project to cost proportionally more, which is worth understanding rather than resenting. The overhead of scoping, agreeing, and handing over is roughly the same regardless of size, so a small piece of work carries a larger share of it. That is the price of the information rather than a markup.
Do the same evaluation in reverse, since the provider is also assessing whether the arrangement works. A client who responds promptly, makes decisions, and provides what was requested is straightforward to work with, and one who does not will find that larger engagements are quoted accordingly or declined.
Then decide deliberately rather than continuing by default. A trial that produced good work and a comfortable working relationship should lead to a conversation about what comes next, and one that did not should end clearly. The value of starting small is entirely in being willing to act on what it showed.
Agree what happens to the work if you do not continue, which is straightforward and worth stating. Anything delivered and paid for is yours, accounts are in your name, and nothing depends on continuing. That removes the concern that a trial creates a dependency rather than testing one.
Set a date to review it rather than letting it end ambiguously, since a trial with no conclusion tends to drift into an assumed arrangement neither party examined.
Pick something you actually need rather than a test for its own sake, since a piece of work that produces value regardless of what you conclude means the exercise costs nothing even if the fit is wrong.
Ask what the larger engagement would look like before starting the small one, since knowing where it leads helps you evaluate whether the trial is representative. A first project unlike anything that would follow tells you about somebody's ability to do that specific task and little else.