blog-writing

Researches, writes, and publishes SEO-optimized blog posts with generated images for a Next.js portfolio.

Updated Jul 26, 2026
One-click install
npx skills add https://github.com/Dhruv-Ghanchi/Portfolio-Webiste --skill blog-writing-dhruv-ghanchi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blog-writing
Source: https://github.com/Dhruv-Ghanchi/Portfolio-Webiste/tree/main/.agent/skills/blog-writing
Command: npx skills add https://github.com/Dhruv-Ghanchi/Portfolio-Webiste --skill blog-writing-dhruv-ghanchi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Writing consistent, high-quality technical blog posts requires topic research, duplicate checking, structured drafting, image generation, and SEO metadata—this Skill automates that entire editorial workflow for a developer portfolio blog. ## Core Features & Use Cases - Duplicate-Safe Topic Research: Fetches all published articles via the portfolio API to avoid repeating topics, then builds a formal research plan and synthesis document before drafting. - Structured Long-Form Writing: Enforces a proven article template with hooks, runnable code examples, analogies, comparison tables, and a 1,800–2,800 word target. - Automated Image Pipeline: Generates white-background infographic images from detailed prompts via a batch image generation tool and inserts URLs into the markdown. - SEO & Cross-Posting Metadata: Produces admin-panel metadata tables and canonical-URL cross-posting guidance for Dev.to and Hashnode. - Use Case: Ask the assistant to write a new article on a trending developer topic; it checks existing posts, researches deeply, drafts the article, generates cover and inline images, and outputs the content, metadata, and prompt files ready to publish. ## Quick Start Write a new blog post about a trending web development topic for my portfolio, including generated images and publishing metadata.

Frequently Asked Questions about blog-writing

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

FAQPage Schema
How do I write a technical blog post with AI assistance?

Provide a topic or let the assistant pick one after checking your existing articles for duplicates. It creates a research plan, synthesizes findings, drafts a 1,800–2,800 word article with code examples and analogies, then generates images and metadata.

How to avoid publishing duplicate blog topics?

Run the fetch-all-blogs.js script, which calls the portfolio's /api/articles endpoint and returns every published article's title, slug, and tags as JSON. If the API is unavailable, it falls back to scanning local markdown filenames in the blogs directory.

How are blog images generated and inserted?

Image prompts are collected into a JSON file and processed by image-gen-tool.js, which posts each prompt to an image generation API and saves the resulting URLs. Placeholders in the markdown are then replaced with the actual image URLs.

What structure and length should the blog posts follow?

Each post needs a compelling title, an opening hook, problem context, deep content sections with runnable code, a practical mistakes section, and a conclusion. Articles must be 1,800–2,800 words with at least one analogy and one comparison table.

Can the articles be cross-posted to Dev.to or Hashnode?

Yes, the workflow includes a cross-posting playbook that instructs publishing to Dev.to and Hashnode with a canonical URL pointing back to the original post on the portfolio blog, preserving SEO value.