Prompt
How do I improve chances of being referenced in Copilot answers?
Latest observation
To improve the chances that GitHub Copilot or similar AI tools reference your content, focus on making it easy to discover, easy to trust, and easy to extract.
1) Publish high-quality, canonical content
AI tools tend to favor sources that are:
- Clear and accurate
- Up to date
- Widely linked
- Topically focused
- Considered authoritative
If you want your docs, blog posts, or repo to be surfaced:
- Cover one topic deeply
- Keep titles specific and descriptive
- Avoid duplicate or thin pages
- Update stale content regularly
2) Make content easy for models to parse
Structured, well-organized content is more likely to be used correctly.
- Use semantic headings (
h1,h2,h3) - Put the answer near the top
- Use bullet lists, tables, and code blocks
- Include explicit examples and usage patterns
- Avoid burying key info in images or scripts
For code repos:
- Add clear README files
- Include short code examples
- Document setup, usage, and edge cases
- Keep folder names and filenames descriptive
3) Improve discoverability
AI systems often rely on search indexes, public web content, and repository metadata.
- Use relevant keywords naturally in headings and body text
- Add good metadata: titles, descriptions, tags, Open Graph, schema where relevant
- Link related pages together internally
- Earn reputable backlinks and citations from other sites
- Make the repo public if you want it indexed
4) Build trust signals
Reference-worthy content usually has:
- Clear authorship
- Versioning and changelogs
- Accurate code and working examples
- Evidence of maintenance and community adoption
- Citations to primary sources where appropriate
For software projects:
- Add LICENSE, CONTRIBUTING, and SECURITY docs
- Keep issues/PRs active and maintain releases
- Provide tests so examples are reliable
5) Optimize for “answerability”
AI answers are often pulled from content that directly addresses user intent. Write content that answers likely questions explicitly:
- “How do I…”
- “What is the difference between…”
- “When should I use…”
- “Example: …”
A good pattern:
- State the takeaway first
- Then explain nuances
- Then give a concrete example
6) Avoid practices that reduce trust
Things that can hurt your chances:
- SEO spam or keyword stuffing
- Copying content from elsewhere
- Hidden text or misleading markup
- Outdated instructions
- Broken examples or broken links
7) If you mean GitHub Copilot specifically
Copilot’s suggestions come primarily from:
- The code context in the editor
- Patterns in public code
- Repository content and surrounding files
So for repos:
- Keep the codebase well-structured
- Add docstrings and comments for public APIs
- Use consistent naming
- Include tests and examples
- Ensure README and docs reflect actual usage
8) Practical checklist
- Publish clear, original, up-to-date content
- Use headings and concise examples
- Add metadata and internal links
- Maintain public repos and docs
- Earn citations/backlinks from trusted sources
- Keep the content technically accurate and easy to quote
If you want, I can also give you:
- a Copilot-specific checklist for GitHub repos, or
- a content/SEO checklist for being referenced in AI answers generally.
Brands