بنقرة واحدة
new-post
Scaffold a new blog post with a draft written in the author's style
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new blog post with a draft written in the author's style
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | new-post |
| description | Scaffold a new blog post with a draft written in the author's style |
| argument-hint | ["slug"] |
| allowed-tools | Read, Glob, Write, AskUserQuestion |
Create a new blog post file in src/content/blog/.
Use the AskUserQuestion tool to ask:
.mdx (use $ARGUMENTS if already provided, skip asking)Read 2-3 existing articles from src/content/blog/ that are most relevant to the topic being written about. This helps you match the depth and structure of similar content.
Create the file at src/content/blog/<slug>.mdx following the writing style guide below.
Frontmatter:
---
title: "<title>"
date: <today's date in YYYY-MM-DD format>
tags: [<tags as quoted strings>]
description: "<description, or omit this field entirely if not provided>"
draft: true
---
Follow these conventions carefully — they are derived from the author's existing articles.
Language & tone:
Structure:
## headings to organize major sectionsFootnotes:
[^name]) liberally for:
Links & references:
Code:
js, ts, ```rust, etc.)Images:
<figure> + <img> + <figcaption> for images (not Markdown image syntax)Components:
import Tweet from "../../components/Tweet.astro"; after frontmatterimport YouTube from "../../components/YouTube.astro"; after frontmatterTell the user the file path and suggest running npm run dev to preview. Remind them the post is set to draft: true.