Catalog
fauziyasin-s2m4qw/llms-txt-generator

fauziyasin-s2m4qw

llms-txt-generator

Upgrade llmtxt-generator.py by scanning apps/ for doc structure changes, then regenerate llms.txt and llms-en.txt while only adding missing sections. Use when updating the generator, adding new doc sections, or refreshing LLM text files.

v1.0LATEST
NewUpdated Nov 18, 2026

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

  1. Scan apps/ to understand doc surfaces and routing structure.
  2. Note any new top-level doc categories or developer resources that are not represented in the current llms.txt.

Baseline: current llms.txt

  1. Read apps/web/public/llms.txt.
  2. Extract section headings (##) and link lists.
  3. 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_SECTIONS or ENGLISH_EXTRAS so the generator reproduces the current llms.txt plus any new additions.
  • Keep descriptions short, factual, and consistent with the current style.
  • Keep URL patterns canonical (no utm_ parameters).
  • Keep LOCALES aligned with packages/i18n/src/config.ts and update LANGUAGE_NAMES for 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.txt
  • apps/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.txt contains 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"

Overall Score

82/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

85

Quality

80

Clarity

82

Completeness

76

Summary

This skill guides an AI agent to upgrade a Python-based llms.txt generator by scanning app structure and regenerating documentation text files. The agent reads the existing generator code and output files, extracts sections and links, then updates the generator to merge new content while preserving existing sections. The skill is scoped to a specific repository codebase and designed to maintain documentation consistency across locales.

Detected Capabilities

file readfile writepython script executioncode analysis

Trigger Keywords

Phrases that agents use to match this skill to user intent.

upgrade llmtxt generatorregenerate llms.txtadd documentation sectionssync documentation localesupdate app docs index

Use Cases

  • Upgrade llmtxt-generator.py after adding new documentation sections to the app
  • Regenerate llms.txt and llms-en.txt files while preserving existing content
  • Add missing documentation links or categories discovered during app structure changes
  • Add support for a new locale by updating generator configuration
  • Synchronize llms.txt output with current app routing and documentation structure

Quality Notes

  • Strong explicit boundary: skill only edits the generator, never output files directly
  • Clear preservation constraint prevents destructive changes to existing content
  • Well-scoped to specific files and directories within a single repository
  • Practical verification steps help agent confirm correct behavior
  • Generator-centric approach promotes maintainability and prevents duplicate content
  • Could benefit from guidance on handling edge cases (empty sections, broken URLs, locale-specific formatting)
Model: claude-haiku-4-5-20251001Analyzed: Nov 18, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use fauziyasin-s2m4qw/llms-txt-generator in your dev environment

Command Palette

Search for a command to run...