Agent skill
new-post
Creates a new blog post in src/content/blog/ with valid frontmatter, slug, and author. Use when the user wants to write a new blog post, create an article, or add content to the blog.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/new-post
SKILL.md
Create a new blog post in the src/content/blog/ directory.
Steps
- Take the title from the user's argument. If no title is provided, ask for one.
- Generate a kebab-case filename from the title (e.g., "My First Post" →
my-first-post.md). - Get the author name by running
git config user.name. Fall back to "Author" if not set. - Create
src/content/blog/<slug>.mdwith this frontmatter:
---
title: "<title>"
description: "<ask user or generate a one-sentence summary>"
author: "<git user.name>"
publishedAt: <today's date YYYY-MM-DD>
tags: []
draft: true
---
Write your post content here.
- Tell the user:
- The file was created at
src/content/blog/<slug>.md - The post is in draft mode — set
draft: falsewhen ready to publish - They can add an optional
imagefield to the frontmatter for a hero image - Tags can be added as an array of strings:
tags: ["astro", "tutorial"]
- The file was created at
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?