Automated summary
Creates Astro/Starlight MDX content pages following a structured process including clarification, categorization, and anti-AI writing guidelines.
Strengths
- Multi-step process that clarifies the core message before writing.
- Includes a 'wall-hitting' phase to avoid generic content.
- Detailed guidance on file structure, frontmatter, and sidebar updates.
- Specific instructions to avoid AI-like writing patterns.
Limitations
- Specific to Astro/Starlight and a particular directory structure.
- Requires the user to provide detailed information (category, slug, etc.).
- Does not handle publishing or deployment.
Use this skill when you need to add a structured article or MDX page to an existing Astro/Starlight project.
Avoid this skill if the site is not Astro/Starlight, or if you want quick unstructured content generation without user interaction.
Security analysis
SafeThe skill provides guidance for creating Astro/Starlight MDX content pages and updating a sidebar configuration file. It does not involve execution of any commands that could be destructive or exfiltrate data; the suggested npm commands are standard development tasks and are only recommended, not automatically executed.
No concerns found
How this analysis is madeExamples
Write a new article about my experience learning Rust, put it in the Tech category.Add an MDX page about my hiking trip in the Life category.Create a blog post on the benefits of static site generators, title it 'Why I Love Astro'.name: astro-content description: Create Astro/Starlight MDX content pages. Use when the user says "write a new article", "add a blog post", "create content in Tech/Life category", or "add an MDX page".
astro-content
Create Astro/Starlight MDX content pages.
Trigger Examples
- "Write a new article"
- "Add an article to Tech category"
- "Create a blog post"
- "Add an MDX page"
Directory Structure
app/src/content/docs/
├── about-me/ # About Me section
│ └── overview.mdx
├── tech/ # Tech articles
│ └── *.mdx
└── life/ # Life articles
└── *.mdx
Execution Flow
0. Wall-Hitting Phase (Before Writing)
Before creating files, have a conversation with the user to clarify the article's direction:
-
Clarify the core message
- Ask: "What do you want readers to take away?"
- Identify the single most important point
-
Dig into experiences and episodes
- Ask for concrete stories, failures, and learnings
- Extract raw, unpolished details (these become authentic content)
-
Decide writing style early
- Japanese: Confirm「だ・である調」vs「ですます調」before writing
- English: Confirm formal vs conversational tone
-
Verify title-content alignment
- Ensure the title matches the core message
- If the content evolves, revisit the title
1. Confirm Category
Ask user for category:
| Category | Purpose | |----------|---------| | tech | Technical articles (Cloud, AI, DevOps, Architecture, etc.) | | life | Lifestyle, hobbies, journals, etc. |
2. Gather Article Information
Confirm the following:
- Title: Article title
- Description: One-sentence summary
- Slug: URL path (e.g.,
tech/genkit-intro→/tech/genkit-intro/) - Draft: Whether it's a draft (default: false)
3. Create MDX File
File path: app/src/content/docs/{category}/{slug}.mdx
Frontmatter template:
---
title: <title>
description: <description>
draft: true # Only if draft
---
With hero image:
---
title: <title>
description: <description>
hero:
tagline: <subtitle>
image:
alt: <image description>
file: ../../../assets/<image-file>
---
4. Update sidebar.ts
Add new article to app/src/sidebar.ts:
{
label: "Tech",
items: [
{ label: "<Article Title>", slug: "tech/<slug>" },
],
},
5. Assets (Optional)
If using images:
- Place image in
app/src/assets/ - Import and use in MDX:
import myImage from '../../../assets/my-image.png';
<img src={myImage.src} alt="Description" style="..." />
Content Guidelines
- Language: English or Japanese (follow user preference)
- Markdown: Use GitHub Flavored Markdown
- Headings: Start with
##(#is auto-generated from title by Starlight) - Lists: Use bullet points for readability
- Code blocks: Always specify language (
typescript,bash, etc.) - Emoji: Use sparingly (only when user explicitly requests)
Avoiding AI-like Writing
Common patterns that make articles feel "AI-generated" — avoid these:
Headings
- Avoid: 「転機:〜」「結論:〜」「まとめ」 (feels formulaic)
- Better: Simple, direct headings that flow naturally from content
Structure
- Avoid: Overly organized tables summarizing points (feels forced)
- Better: Let the narrative carry the message; tables only when genuinely helpful
Introductions
- Avoid: Starting with a dialogue or rhetorical question that feels staged
- Better: Jump into the topic directly or share a brief personal context
Conclusions
- Avoid: Abrupt transition to "## 結論" with bullet-point summaries
- Better: Use a horizontal rule (
---) and let the closing flow naturally from the content
Tone
- Avoid: Overly balanced statements ("〜かもしれない" everywhere)
- Better: Take a stance when you have conviction; acknowledge uncertainty honestly when you don't
Key principle
If a section feels "too neat" or "too organized," it probably needs more raw, human detail. Ask the user for specific episodes, failures, or emotions to make it authentic.
Post-Creation Verification
After creation, suggest:
cd app && npm run build && npm run lint && npm run typecheck
Verify build succeeds.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/create-astro-starlight-mdx-content-mm5t89l4/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-astro-starlight-mdx-content-mm5t89l4/download' --output '.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4/SKILL.md.part' && mv '.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4/SKILL.md.part' '.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4/SKILL.md' && test -s '.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/astro-content' && cp -R '.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4' '.claude/skills/astro-content'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/create-astro-starlight-mdx-content-mm5t89l4'openskills read 'create-astro-starlight-mdx-content-mm5t89l4'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/create-astro-starlight-mdx-content-mm5t89l4/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Writing Fragments
Content
Mine raw writing fragments through a relentless interview, without imposing structure. Capture ideas, quotes, and leading words for later use.
UI Copywriting & Auditing
Content
Write or audit user-facing UI copy including buttons, errors, empty states, and tooltips across the monorepo, following the design system source of truth.
Music MIDI Extraction
Content
Extracts the MIDI or score from an existing music production via the CogMusic MCP tool and confirms availability.