pwsh-blog-content

just a humble content farmer

Content for powers-hell.com. Each post lives inposts/<YYYY-MM-DD-slug>/index.md with its images beside it. Pushing to main dispatches a content update to the site repo.

Authoring skills

Two agent skills live in .github/skills/ and drive post authoring:

  • powers-hell-post - house style, post structure, front matter contract, and a scaffolding script that picks the next post id.
  • powers-hell-media - screenshot and gif capture, optimisation, and the markdown embed markup.

Link them into Copilot CLI once:

ln -sfn "$PWD/.github/skills/powers-hell-post" ~/.copilot/skills/powers-hell-post
ln -sfn "$PWD/.github/skills/powers-hell-media" ~/.copilot/skills/powers-hell-media
ln -sfn "$PWD/.github/skills/powers-hell-promote" ~/.copilot/skills/powers-hell-promote

Start a new post:

pwsh -NoProfile -Command "& '.github/skills/powers-hell-post/scripts/New-Post.ps1' -Title 'Your title' -Categories PowerShell,Azure -Color orange"

Media capture needs brew install ffmpeg gifski webp.

  • powers-hell-promote - drafts social copy, builds a 1200x630 card, posts to Bluesky and saves X and LinkedIn as Buffer drafts for review.