Add robots.txt and llms.txt to counterfact.dev#2113
Merged
Conversation
Agent-Logs-Url: https://github.com/counterfact/api-simulator/sessions/85df2f94-12ec-4015-aca7-cc2f0b75f732 Co-authored-by: pmcelhaney <51504+pmcelhaney@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add LLMs.txt and robots.txt to website
Add robots.txt and llms.txt to counterfact.dev
May 23, 2026
pmcelhaney
approved these changes
May 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two discovery files to
site/public/so they are served at the root ofhttps://counterfact.dev. The goal is to increase findability for both search crawlers and LLMs surfacing relevant tools to developers.robots.txt— open to all crawlers, noDisallowrulesllms.txt— follows llmstxt.org spec: title, blockquote description, extended prose for target audience, and curated link sections for Documentation, Patterns, and Source CodeOriginal Prompt
Create these two files and add them to the web site. The goal to increase the chances that people interested in the kinds of problems Counterfact solves will find the web site.
Manual acceptance tests
https://counterfact.dev/robots.txtis reachable and containsUser-agent: */Allow: /with noDisallowdirectiveshttps://counterfact.dev/llms.txtis reachable and begins with# Counterfactllms.txtresolve (docs and patterns pages return 200)cd site && npm run buildcompletes without errors anddist/robots.txt+dist/llms.txtappear in the outputTasks
site/public/robots.txt(allow all bots)site/public/llms.txtwith project description, Documentation section (5 links), Patterns section (11 links), and Source Code section