一键导入
update-catalog
Regenerate catalog.json and llms.txt from the fastq-dl source code using the AST-based catalog generation script.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Regenerate catalog.json and llms.txt from the fastq-dl source code using the AST-based catalog generation script.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| 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