Skip to main content
skill CX Codex

building-blog — Claude Code skill: Next.js + Sanity blog setup

building-blog walks a project through adding a blog to a Next.js site with Sanity CMS: scans the repo, runs the questionnaire, drafts a plan, then implements it against a spec.

no license 61 installs updated 2026-10-24

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill web-development/building-blog
Open on GitHub

What building-blog does

The skill takes on the setup work of putting a blog on a Next.js site that runs on Sanity. It starts by reading the host repo: package.json, next.config, locale folders, tailwind.config, CLAUDE.md, and any existing Sanity studio directory. Whatever it can detect gets filled in, so fewer questions land on you.

Next comes a questionnaire in blog-technical-requirements.md with 30+ questions about scope, SEO, locales, and page speed. In Claude Code it runs through AskUserQuestion, four at a time. Answers go into §1 Project Profile in a project-local copy under docs/blog/. Non-interactive runs fall back to shared defaults and list every assumption. Then you get a one-page plan with phases and open decisions, and nothing gets coded until you approve it.

Implementation follows the spec sections §2–§20, and the §19 checklist decides when the work is done. AI-generated hero images are steered by blog-image-style-guide.md, which describes generation with Gemini 3 Pro Image. MDX-only blogs without a CMS and documentation sites sit outside this skill: the patterns there are different.

What it helps with

  • Add a blog to an existing Next.js + Sanity site
  • Design the blog surface from scratch
  • Collect technical and editorial requirements before a line of code
  • Get a phased plan signed off first
  • Pick a visual direction for AI-generated hero images

Example prompts for the agent

  • Add a blog to this Next.js + Sanity project
  • Build the blog section from scratch, locales are already wired with next-intl
  • Set up the blog with Sanity and suggest a hero image style

How to install building-blog

1claude-code-templates

npx claude-code-templates@latest --skill web-development/building-blog

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill building-blog -a claude-code

3Manually: put the files in place

~/.claude/skills/building-blog/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/building-blog/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about building-blog

How do I install building-blog in Claude Code?

Run npx claude-code-templates@latest --skill web-development/building-blog. The skill is placed at ~/.claude/skills/building-blog/SKILL.md.

What does building-blog do?

It adds a blog to a Next.js site backed by Sanity: scans the repo, runs the requirements questionnaire, returns a one-page plan, then builds to the spec with a checklist that marks done.

Will it work for an MDX blog with no CMS?

No. It targets Next.js sites with Sanity. MDX-only blogs and documentation sites follow different patterns.

Similar skills

All skills for Frontend and UI →

From the same set745

The whole set →
mlops-weights-and-biases mlops-weights-and-biases is a Claude Code skill for tracking ML training runs in Weights & Biases, reviewing metrics, comparing experiments, and searching hyperparameters. CX Codex +1 63installs clerk-auth Provides patterns to set up Clerk authentication, configure route protection middleware, and handle server components in Next.js App Router. CX Codex +1 62installs rag-faiss The rag-faiss skill covers FAISS indexing and nearest-vector search. Use it for RAG workflows that rely on similarity rather than metadata filters. CX Codex +1 62installs fine-tuning-llama-factory fine-tuning-llama-factory guides fine-tuning workflows with LLaMA-Factory, covering no-code WebUI setups and QLoRA quantization. Useful when training open-source models like Llama, Qwen, or Gemma. CX Codex +1 62installs cocoindex Helps build Python ETL pipelines with CocoIndex, manage incremental data syncs, and export embeddings into vector databases. CX Codex +1 61installs interview-prep-generator interview-prep-generator is a Claude Code skill that turns a resume into STAR stories, role-specific questions, and talking points. It activates for upcoming interviews or behavioral-question practice. CX Codex +1 61installs gws-modelarmor-create-template gws-modelarmor-create-template — a slash command that has Claude create a Google Model Armor template in GCP, either from the jailbreak preset or from your own JSON filter config. CX Codex +1 61installs clinical-decision-support clinical-decision-support creates clinical decision documents with cohort analysis, biomarker links, evidence grading, and treatment algorithms. Built for research and drug development work. CX Codex +1 60installs

Project sponsors

Companies that keep this analytics open