DEV Community

Craig White
Craig White

Posted on

I Built a Persona Library to Assign Expert Roles to Your Prompts

I’ve noticed a trend in prompt engineering where people give models a type of expertise or role. Usually, very strong prompts begin with: “You are an expert in ___” This persona that you provide in the beginning can easily make or break a response.

I kept wasting my time searching for a well-written “expert” for my use case, so I decided to make a catalog of various personas all in one place. The best part is, with models having the ability to search the web now, you don’t even have to copy and paste anything.

The application that I made is very lightweight, completely free, and has no sign up. It can be found here: https://persona-grid.vercel.app/

Once you find the persona you want to use, simply reference it in your prompt. For example, “Go to https://persona-grid.vercel.app/ and adopt its math tutor persona. Now explain Bayes Theorem to me.”

Other use cases include referencing the persona directly in the URL (instructions for this on the site), or adding the link to your personalization settings under a name you can reference.

Personally, I find this to be a lot cleaner and faster than writing some big role down myself, but definitely please take a look and let me know what you think!

If you’re willing, I’d love:

  • Feedback on clarity / usability
  • Which personas you actually find useful
  • What personas you would want added

Top comments (0)