GitHub Copilot Prompt for Optimizing SEO
The prompt
Generate a complete SEO module for this web application. Include: 1) A reusable meta tag component (title, description, canonical, Open Graph, Twitter Cards) with typed props. 2) An automatic JSON-LD structured data generator for Article, Product, FAQ, BreadcrumbList, and Organization types. 3) A dynamic sitemap.xml that crawls all routes and includes lastmod, changefreq, and priority. 4) An intelligent robots.txt file with appropriate directives per environment (dev/staging/prod). 5) An SEO audit function that programmatically checks: presence of mandatory tags, title length (50-60 chars) and description length (150-160 chars), H1-H6 heading hierarchy, alt attributes on images, and broken internal links. Each component must follow performance best practices (no render-blocking, lazy loading for below-the-fold images) and be compatible with server-side rendering.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why it works
This prompt is effective because it structures the request into five distinct and measurable modules, allowing Copilot to generate coherent and complete code rather than isolated fragments. By specifying precise technical constraints (character lengths, schema types, environments), ambiguity is eliminated and directly usable code is obtained. The modular approach also facilitates gradual integration into an existing project.
Expected result
Variants by level
FAQ
Can GitHub Copilot really improve my site's SEO?
How can I verify that the SEO code generated by Copilot is correct?
Which frameworks are best supported by Copilot for SEO?
Related prompts
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT, Claude or your favorite AI assistant.
- Replace the bracketed variables with your details, then refine the result.
About Prompt Guide
Prompt Guide is a free library of 4800+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.
More prompts to explore
GitHub Copilot Prompt for Organizing a Project
GitHub Copilot goes beyond code completion: it's a true project assistant that can help you structure, plan, and organize your entire development. Whether you're starting a new project from scratch or taking over an existing codebase, Copilot can generate consistent folder structures, suggest naming conventions, create essential configuration files, and even draft a technical roadmap. By crafting the right prompt, you turn Copilot into a software architect that analyzes your needs, anticipates dependencies, and produces a ready-to-use project skeleton. This approach saves hours of manual setup and ensures your project follows best practices from the first commit. On this page, you'll find a main optimized prompt, variants suited to your experience level, and answers to the most common questions about project organization with GitHub Copilot.
GitHub Copilot Prompt for Planning a Meeting
GitHub Copilot, the AI development assistant integrated into code editors, can also serve as a productivity tool for organizational tasks s
GitHub Copilot Prompt for Planning a Product Launch
GitHub Copilot, primarily known as a development assistant, proves to be a remarkably effective tool for structuring product launch plans. By leveraging its contextual generation capabilities, you can transform a simple idea into a detailed action plan covering all critical phases: pre-launch, launch day, and post-launch. Whether you are a product manager, project manager, or startup founder, GitHub Copilot helps you cover all bases by leveraging market best practices.
GitHub Copilot Prompt for Skill Assessment
GitHub Copilot, the AI coding assistant integrated into IDEs, can be repurposed from its usual code completion role into a powerful tool for technical skill assessment. By leveraging its ability to analyze code, generate exercises, and produce evaluation grids, technical managers, trainers, and recruiters can structure rigorous and reproducible assessment processes.
GitHub Copilot Prompt for Summarizing a Meeting
GitHub Copilot, initially designed for code assistance, proves to be a formidable ally for business productivity tasks, particularly meeting summarization. This page provides an optimized prompt to turn any transcript or notes into a structured report with decisions, actions, and owners.
GitHub Copilot Prompt for Survey Analysis
Survey analysis is a crucial step to extract actionable insights from raw data. GitHub Copilot, through its code generation and contextual understanding capabilities, becomes a powerful ally to automate response processing, identify statistical trends, and produce relevant visualizations.
Go further
Get new prompts every week
Join our newsletter.