Skills for Real Engineers. Straight from my .agents directory.
blog-publish
Agent skill fromhuytieu/COG-second-brain
Write and publish a post to your own static blog end to end: content checklist (embedded links, optional TL;DR), per-post ASCII art, an agent-readable markdown twin, deploy, and social distribution. Use when you say "write a blog post", "publish this to my blog", or "push this post to socials".
How to install blog-publish
npx skills add huytieu/COG-second-brain# or add only this skill to Claude Code: copy the folder
skills/blog-publish/
# into
~/.claude/skills/blog-publish/ (all projects)
.claude/skills/blog-publish/ (one project)
1# blog-publish: static blog post pipeline23## Configuration45Set these once (`kit.toml`, `.env` or arguments).67| Setting | Meaning | Example |8|---|---|---|9| `BLOG_DIR` | Repo folder of your static blog | `./my-blog/` |10| `POSTS_DIR` | Markdown posts, relative to `BLOG_DIR` | `content/posts/` |11| `BUILD_CMD` | Command that builds the site | `python3 build.py` |12| `SITE_DIR` | Build output folder | `site/` |13| `BLOG_URL` | Public base URL | `https://blog.example.com` |14| `POST_PATH` | URL pattern for a post | `/blog/<slug>/` |15| `DEPLOY_CMD` | Your deploy command | see Deploy |16| `SOCIAL_HANDLES` | Accounts used for distribution | per platform |1718The steps below assume a build script that renders `POSTS_DIR/<slug>.md` into `SITE_DIR`. Adjust names to your generator (Hugo, Eleventy, Astro, a custom script).1920## Content checklist (every post)21221. **Front matter** with `title, subtitle, slug, date, description, tags, author, published`. Match existing posts. If the subtitle renders under the H1, keep it to one sentence stating what the post is about.232. **TL;DR is optional.** Narrative, build and essay posts open problem-first with no summary box (see Narrative arc). Reserve a TL;DR for reference-style or scannable how-to posts, and then use a one or two sentence hook plus bullets, never one long paragraph.24…
Excerpt shown under the repository's MIT license.
More skills in COG-second-brain
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
