GitHub Copilot Prompt for Creating Personas
GitHub Copilot, the AI coding assistant integrated into code editors, proves to be a powerful tool beyond code generation. Used strategically, it can create detailed personas for UX design, marketing, or product management. By leveraging its ability to structure complex data and generate coherent content, Copilot can produce realistic user profiles based on demographic, behavioral, and psychographic criteria. The advantage of using Copilot lies in its ability to generate personas that are directly usable in your code—as JSON files, test fixtures, or seed data—while maintaining narrative consistency across different persona attributes. Whether you are designing a SaaS application, a marketplace, or an e-commerce site, well-constructed personas guide your design and development decisions. This prompt will allow you to generate structured, realistic personas immediately usable in your product development workflow.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Generate 3 detailed user personas for [PRODUCT_SERVICE_TYPE]. For each persona, structure the information as follows:
- Identity: First name, age, location, profession, income level
- Context: Family situation, education level, technology habits
- Goals: 3 main goals related to the product
- Frustrations: 3 current pain points that the product could solve
- Digital behavior: Devices used, preferred social networks, frequency of using similar tools
- Usage scenario: A typical day where the persona interacts with the product
- Representative quote: A sentence this persona might say
- Decision criteria: What motivates their choice (price, simplicity, features, recommendations)
Ensure the personas are sufficiently different from each other to cover distinct user segments. Use realistic and consistent data across the different fields.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why this prompt works
This prompt works because of its ultra-detailed structure that forces the model to produce coherent and interconnected data for each persona. By specifying eight distinct dimensions, it avoids generic responses and forces the generation of realistic profiles. The explicit request for differentiation between personas ensures representative coverage of user segments.
Use Cases
Variants
Expected Output
You will obtain three complete personas with realistic demographic profiles, clear motivations, and concrete usage scenarios. Each persona will be detailed enough to guide UX design decisions, feature prioritization, or marketing targeting. The profiles are directly usable as references in your development sprints.
Frequently Asked Questions
Can GitHub Copilot create personas based on my users' actual data?
GitHub Copilot cannot access your user databases or analytics. It generates fictional but realistic personas based on its general knowledge. For data-driven personas, provide anonymized statistics from your analytics tools in your prompt (age brackets, primary locations, usage behaviors) and ask Copilot to build the personas around this actual data. You'll get profiles grounded in your business reality.
How can I integrate generated personas directly into my code with Copilot?
Ask Copilot to generate the personas in JSON or TypeScript format with typed interfaces. You can then use them as test fixtures, seed data for your database, or as constants in your application. For example, create a personas.ts file with a Persona interface and export the generated profiles. Copilot can also generate factory functions that produce random variants of your personas for automated testing.
How many personas should I create for a project and how can I differentiate them effectively?
The general rule in UX design is to create between 3 and 5 personas to cover your primary segments without diluting your focus. To differentiate them, specify in your prompt the relevant segmentation axes for your product: technical expertise level, expected usage frequency, available budget, or discovery channel. Explicitly ask Copilot to position each persona on the technology adoption curve (innovator to laggard) to ensure representative diversity of your target market.
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Pour des personas plus exploitables, précisez le secteur et la zone géographique, et ajoutez une contrainte de diversité (âge, revenus, aisance tech). Demandez aussi à Copilot de lister 2-3 sources ou hypothèses sous-jacentes par persona : cela facilite la validation et évite les stéréotypes. Variante utile : injectez des extraits d’interviews utilisateurs réels pour ancrer les citations et les frustrations dans du concret.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Customer Referral Program
Referral marketing
Prompt to Create Blog Headlines That Drive Traffic
Generates 15 blog headlines optimized for organic traffic using proven copywriting formulas, power words and varied emotional angles.
Write an SEO audit report
Communicate SEO audit results
Write personalized subject lines
Personalize subject lines at scale