with one click
update-catalog
// Regenerate catalog.json and llms.txt from the fastq-dl source code using the AST-based catalog generation script.
// Regenerate catalog.json and llms.txt from the fastq-dl source code using the AST-based catalog generation script.
| name | update-catalog |
| description | Regenerate catalog.json and llms.txt from the fastq-dl source code using the AST-based catalog generation script. |
Regenerates catalog.json and llms.txt by running .claude/skills/update-catalog/scripts/update_catalog.py,
which uses AST parsing to extract metadata from the fastq-dl source code.
Check for unsaved changes to catalog.json and llms.txt:
git diff --name-only catalog.json llms.txt
git diff --cached --name-only catalog.json llms.txt
If either file has uncommitted changes, warn the user before proceeding. The script will overwrite both files.
Run the catalog generation script:
python .claude/skills/update-catalog/scripts/update_catalog.py
This parses all Python source files under fastq_dl/, extracts module metadata, function
signatures, CLI options, dependencies, constants, and exception hierarchy, then writes:
catalog.json โ machine-readable project metadatallms.txt โ AI-discovery document (markdown)Validate the output:
python -m json.tool catalog.json > /dev/null
Show a summary of changes:
git diff --stat catalog.json llms.txt
Optionally update CLAUDE.md: If the script output indicates structural changes (new
modules, new functions, changed exception hierarchy), review CLAUDE.md and update the
relevant sections to match.
pyproject.toml