Files
2026-11-09 13:35:30 -07:00
..
2026-10-14 10:45:26 -06:00
2026-11-08 14:24:05 -07:00
2026-10-14 10:45:26 -06:00
2026-10-14 10:45:26 -06:00
2026-10-14 10:45:26 -06:00
2026-11-09 13:35:30 -07:00
2026-10-14 10:45:26 -06:00
2026-11-09 13:35:30 -07:00

Scripts and validation

Python 3.10+ is required. Core scripts use the standard library. Optional full JSON Schema checks require jsonschema; absence is reported as a validation limitation. No credential or paid API setup is needed for these scripts.

Script Function Writes
build_content_index.py Catalog declared authoritative files and dated reports with stable IDs content-index.json only
rollup.py Preserve report bodies in a cumulative rollup, then refresh catalog reports/seo-geo-research-rollup.md and content-index.json
validate_discovery.py Metadata alignment, local links, index freshness, schemas when available None
audit_repository.py Template skill-workflow structural audit None
validate_pack.py Skill contract/JSON checks None
test_rollup.py Rollup preservation and idempotence regressions Temporary fixtures inside script directory

Run commands from the repository root:

python -B scripts/build_content_index.py
python -B scripts/rollup.py
python -B scripts/audit_repository.py . --profile skill-workflow --json
python -B scripts/validate_discovery.py
python -B scripts/validate_pack.py
python -B scripts/test_rollup.py
python -B -m unittest discover -s tests -p "test_*.py"

build_content_index.py, rollup.py and validate_discovery.py accept --root PATH. Index generation validates paths, uniqueness and relationships before atomic replacement; a failure preserves the previous index. Rebuilds preserve existing publication lifecycle status and timestamps; new dated reports start as drafts. Historical archive is one file, and rollup is derived. Original template audit/schema attribution: AI-Ready Repository Template, Eddie Soehnel, MIT, local version 0.3.0.