P
📢MarketingIntermediateAll AIs

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:

  1. Identity: First name, age, location, profession, income level
  2. Context: Family situation, education level, technology habits
  3. Goals: 3 main goals related to the product
  4. Frustrations: 3 current pain points that the product could solve
  5. Digital behavior: Devices used, preferred social networks, frequency of using similar tools
  6. Usage scenario: A typical day where the persona interacts with the product
  7. Representative quote: A sentence this persona might say
  8. 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

Answer 3 questions and Léa tailors the prompt to your situation.

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

Create Personas

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.

Learn more

Check the full skill on Prompt Guide to master this technique from A to Z.

View on Prompt Guide

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Similar Prompts

📢MarketingIntermediateAll AIs

Write a Compelling B2B Client Case Study

This prompt generates a structured B2B case study designed to maximize commercial impact, highlighting quantified results and the client voice.

0229
📢MarketingIntermediateAll AIs

Optimize a Landing Page to Boost Conversions

A comprehensive prompt to analyze and optimize every element of a landing page: headline, copywriting, CTA, social proof and A/B testing plan.

0155
📢MarketingIntermediateAll AIs

Write Irresistible Facebook Ad Headlines

This prompt generates 10 optimized Facebook ad headlines designed to capture attention and maximize clicks, with psychological mechanism analysis and A/B test variants.

0221
📢MarketingIntermediateGemini

Gemini Prompt to Create a Social Media Strategy

Social media has become an essential lever for any business looking to increase visibility, engage its community, and generate qualified leads. Yet developing a coherent and high-performing social media strategy remains a challenge: you need to define clear goals, identify the right platforms, create a tailored editorial calendar, and measure results. This is precisely where Gemini becomes a strategic ally. With its analysis and content generation capabilities, Gemini can help you build a custom social media strategy in minutes, where a consultant would take several days. By providing a well-structured prompt including your industry, business objectives, target audience, and available resources, you get a complete action plan with platform recommendations, content pillars, a publishing calendar, and KPIs to track. Whether you are a startup launching, a SME looking to professionalize its online presence, or a marketing manager wanting to optimize your existing strategy, the following prompts will allow you to fully leverage Gemini's potential to transform your approach to social media.

00