Date: 2026-03-27
Use this page when you want the shortest path from a repo change to the right validation commands.
Run:
python scripts/render_readme_snapshot.py --check
python scripts/render_tags_doc.py --check
python scripts/check_placeholders.py <changed files>
python scripts/check_markdown.py
python -m pre_commit run --files <changed files>
Use this for ordinary note edits under TryHackMe/ or notes/.
Refresh the derived repository snapshot first:
python scripts/render_readme_snapshot.py
python scripts/render_readme_snapshot.py --check
Then run the ordinary changed-files validation:
python scripts/render_tags_doc.py --check
python scripts/check_placeholders.py <changed files>
python scripts/check_markdown.py
python -m pre_commit run --files <changed files>
Regenerate the derived taxonomy doc first:
python scripts/render_tags_doc.py
python scripts/render_tags_doc.py --check
Then validate any affected notes:
python scripts/check_markdown.py
python -m pre_commit run --files <changed files>
Run:
python scripts/generate_markdownlint_debt.py
Default local output:
reports/markdownlint-debt-current-local.txt
Tracked-report refresh:
python scripts/generate_markdownlint_debt.py --output reports/markdownlint-debt.txt
Run:
python scripts/check_placeholders.py --report reports/placeholder-audit.txt
These files are maintained from other repo state and should not be hand-kept by memory:
| Derived doc | Refresh | Check |
|---|---|---|
README.md snapshot sections |
python scripts/render_readme_snapshot.py |
python scripts/render_readme_snapshot.py --check |
TryHackMe/_meta/TAGS.md |
python scripts/render_tags_doc.py |
python scripts/render_tags_doc.py --check |
If you changed note inventory, taxonomy, or tracked reports, refresh the derived file first and then run the normal validation chain.