validate-site.mjs
When to use: before tagging a release or merging routing/layout changes.
Download: /downloads/validate-site.mjs
The Automation Toolkit is intentionally designed as an internal engineering API for the JustineLonglaT-Lane ecosystem — a stable interface that standardizes how work is requested, validated, executed, and released across repositories, sites, and environments. The diagram below models the Toolkit as a single orchestrator that coordinates eight complementary layers of automation:
Thinking in terms of an Automation API allows the Toolkit to scale, remain consistent, and integrate naturally with CI/CD, cloud infrastructure, and platform engineering practices across the JustineLonglaT-Lane ecosystem.
The Automation Toolkit API Model defines a shared interface for how engineers interact with automation. Instead of ad-hoc scripts and manual steps, every action becomes a well-defined “API call” with clear intent, inputs, and outcomes.
The Automation Toolkit is designed as a single, repeatable Automation API for shipping safely. Instead of scattered scripts, everything flows through one mental model: This section describes the API surface of the Automation Toolkit — the standardized tools, templates, and primitives you can call from any repository.
Think of this page as both documentation and a control plane for the Automation Toolkit API.
Mental model: Create → Validate → Preview → Release → Deploy → Recover.
In the Toolkit API Model, every change flows through a predictable request pipeline — from local development to CI validation, to guarded release.
Future improvement: publish SHA256 checksums for artifact integrity.
Each tool below represents a function in your Toolkit API — you call it at a specific moment in the lifecycle.
When to use: before tagging a release or merging routing/layout changes.
Download: /downloads/validate-site.mjs
When to use: after refactors when CSS/formatting gets noisy.
Download: /downloads/bust-styles.ps1
When to use: when you want a clean freeze point / release tag.
Download: /downloads/Tag-Release.ps1
When to use: restore known-good layout blocks (hero/header/index variations).
Path: /templates/
Tip: publish new helpers under /public/downloads, then add them here so links stay stable.
Quick reference to every toolkit tool — what it does, when to use it, and how to run it.
Source-of-truth lives in the repo; downloads are stable copies in /public/downloads.
| Tool | Purpose | When to use | Command |
|---|---|---|---|
| inject-partials.mjs | Rebuilds header/footer across all pages. | After editing partials or page layout. | node ./scripts/inject-partials.mjs |
| check-partials.mjs | Validates partial markers exist and match. | Before merge or release tag. | node ./scripts/check-partials.mjs |
| check-heroes.mjs | Ensures hero blocks are consistent. | When editing home/landing layouts. | node ./scripts/check-heroes.mjs |
| partials-guardrails.yml | CI guardrails for partial safety. | Used in GitHub Actions. | runs automatically in CI |
| hero-guardrails.yml | CI guardrails for hero consistency. | Used in GitHub Actions. | runs automatically in CI |
| validate-site.mjs | Checks internal links and anchor drift. | Before tagging a release. | node ./downloads/validate-site.mjs |
| Tag-Release.ps1 | Canonical release tagging helper. | When freezing a milestone. | ./downloads/Tag-Release.ps1 |
| bust-styles.ps1 | Cleans noisy CSS diffs. | After big refactors. | ./downloads/bust-styles.ps1 |
Tip: when you add a new tool, add it to /public/downloads, then register it here so links stay stable.
Think of the Automation Toolkit as a lightweight “API” for your repository: predictable inputs, safe operations, and reliable outputs.
Each tool below behaves like a small, focused endpoint in your Toolkit API.