llms-txt-generator
Installation
SKILL.md
LLMs.txt Generator Upgrader
Goal
Upgrade llmtxt-generator.py using current app structure and existing
apps/web/public/llms.txt, then regenerate outputs. Only add new or missing
sections and links. Do not remove, rename, or rewrite existing sections unless
the user explicitly asks.
Discovery: apps structure
- Scan
apps/to understand doc surfaces and routing structure. - Note any new top-level doc categories or developer resources that are not
represented in the current
llms.txt.
Baseline: current llms.txt
- Read
apps/web/public/llms.txt. - Extract section headings (
##) and link lists. - Treat this as the canonical baseline: preserve all existing sections and links, and avoid duplicates.
Update the generator (llmtxt-generator.py)
Always edit the generator, not the output files.
- Add only missing sections or links to
CURATED_SECTIONSorENGLISH_EXTRASso the generator reproduces the currentllms.txtplus any new additions. - Keep descriptions short, factual, and consistent with the current style.
- Keep URL patterns canonical (no
utm_parameters). - Keep
LOCALESaligned withpackages/i18n/src/config.tsand updateLANGUAGE_NAMESfor any newly added locale. - If new routing patterns appear, update
normalize_llms_urls()accordingly.
Regeneration
From the repo root:
python llmtxt-generator.py
Outputs:
apps/web/public/llms.txtapps/web/public/llms-en.txt
Output constraints
- Only add new or missing sections/links; never delete existing ones.
- Preserve ordering unless a new section clearly belongs next to related ones.
- Do not fabricate
llms-full.txt. Follow repo guidance or user instructions. - For non-English locales, note the generator preserves existing content if the file exists; change this behavior only if explicitly requested.
Verification
apps/web/public/llms.txtcontains all prior sections and any new additions.- Locale files exist for all configured locales.
- Output URLs are canonical and contain no
utm_parameters.
Example requests
- "Upgrade llmtxt-generator.py after a new docs section"
- "Add missing llms.txt sections based on apps structure"
- "Add a new locale and regenerate llms files"
Weekly Installs
2
Repository
solana-foundati…lana-comGitHub Stars
455
First Seen
12 days ago
Security Audits