Blogs • Automation • PowerShell • HTML

Blogs Automation Toolkit for JLT. blogs.

A living collection of DevSecOps automation scripts used by Justine Longla T. — keeping blogs, docs, and project sites fast, safe, reproducible, and effortless to maintain.

Built with PowerShell & static HTML Designed for repeatable content workflows Safe to rerun, friendly for future contributors
Add new posts with one command Validate metadata & tags before release Ship safely with guardrails like Safe-Rebase & git-suture

This page is a narrative walkthrough of the Publication Automation Toolkit. For full documentation, runbooks, and architecture notes, see the toolkit in the Docs site.

Open Automation Toolkit Documentation →

Core tools

Day-to-day commands for posts, projects, and validation.
Content

tools\Add-Post.ps1

Adds a new post skeleton in posts\YEAR\MM\slug\index.html, wired to the unified layout and card grid. Prompts for title, date, tags, and a short summary.

pwsh .\tools\Add-Post.ps1
PowerShellFront matterCard layout aware
Content

tools\Find-Post.ps1

Quick search by slug; opens the exact post folder so you never edit the wrong copy. Great for jumping straight into Visual Studio Code for a given post.

pwsh .\tools\Find-Post.ps1 new-devops-insights
PowerShellSearch & navigate
Quality

tools\check-slugs.ps1

Scans all posts and projects to make sure slugs are unique and match the [a-z0-9-] pattern used by the site router.

pwsh .\tools\check-slugs.ps1
Slug hygieneStatic site safety
Quality

tools\check-missing-tags.ps1

Finds posts missing tags: and suggests labels based on the content path and existing taxonomy. Keeps your tag pages and filters honest.

pwsh .\tools\check-missing-tags.ps1
MetadataTagsConsistency
Release & Deploy

scripts\Cut-Release.ps1

Creates a tagged release for the blog/docs repo, updates the changelog, and prepares the branch for deployment. Ideal when you’re ready to promote a batch of articles.

pwsh .\scripts\Cut-Release.ps1 -Version v1.2.0
VersioningChangelog
Safety

tools\Safe-Rebase.ps1

Guard-rail rebase: checks for a clean working tree, creates a backup branch, and only proceeds if everything is safe. Designed for human-friendly, low-stress history rewrites.

pwsh .\tools\Safe-Rebase.ps1 main
Git safetyBackups
Safety

tools\git-suture.ps1

Stitches together mismatched changes after a risky operation (rebase, force push, manual surgery). Helps you recover a known-good “reference state” without panic.

pwsh .\tools\git-suture.ps1
RecoveryPoint-in-time restore

Learn more

Where these patterns show up in real projects.