create-post

Creates validated blog post entries in a JSON data file with slug and date formatting.

1|Updated Feb 1, 2025
One-click install
npx skills add https://github.com/TiagoDanin/TiagoDanin.github.io --skill create-post-tiagodanin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-post
Source: https://github.com/TiagoDanin/TiagoDanin.github.io/tree/main/.claude/skills/create-post
Command: npx skills add https://github.com/TiagoDanin/TiagoDanin.github.io --skill create-post-tiagodanin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually adding blog post entries to a JSON data file is error-prone: slugs must be unique and accent-free, dates must follow a strict format, and entries must stay in chronological order. This Skill automates that entire workflow with built-in validation. ## Core Features & Use Cases - Slug Generation: Converts titles into URL-safe slugs, removing accents and special characters (e.g., "Criando um Agente" becomes "criando-um-agente"). - Date Normalization: Formats any provided date into the "MMM DD, YYYY" convention, defaulting to today when omitted. - Chronological Insertion with Validation: Reads the existing posts.json, checks for duplicate slugs, verifies description length for SEO, and inserts the new entry in newest-first order. - Use Case: You published an article on LinkedIn and want it listed on your personal website. Provide the title and URL, and the Skill adds a properly formatted, validated entry to src/data/posts.json. ## Quick Start Ask the assistant to create a new blog post entry with your post title and original URL, optionally including the publication date.

Frequently Asked Questions about create-post

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new blog post entry to posts.json?

Provide the post title, original URL, and optionally the publication date. The Skill generates a URL-safe slug, formats the date as "MMM DD, YYYY", and inserts the entry in chronological order at the correct position in src/data/posts.json.

How are slugs generated from post titles?

Titles are lowercased, spaces become hyphens, special characters are removed, and accented characters are transliterated (á→a, ç→c, ã→a). For example, "Criando um Agente no ChatGPT" becomes "criando-um-agente-no-chatgpt".

Can I add posts from LinkedIn, Medium, or YouTube?

Yes, any original URL is accepted, including LinkedIn pulse articles, Medium, Dev.to, and YouTube videos. If you provide a URL, the Skill can attempt to extract the title and description from the page automatically.

What happens if a post slug already exists?

The validation step checks for duplicate slugs before insertion and rejects duplicates. It also verifies required fields, date format correctness, and description length (recommended 100-300 characters for SEO).

What date format does the blog post entry require?

Dates must use the "MMM DD, YYYY" format with three-letter month abbreviations, such as "Jan 26, 2026". Full month names like "June 14, 2025" are automatically converted to "Jun 14, 2025", and the date defaults to today if omitted.