Aller au contenu
Skillpedia
Sites et interfaces (frontend)33k · #9103

building-blog

Ce qu’il fait

Cette skill accompagne l'agent IA dans la planification et la construction d'une section blog pour un site web Next.js relié à Sanity CMS. Elle s'adresse aux équipes web qui lancent un blog d'entreprise ou éditorial.

Quand l’utiliser

  • ✓Quand vous voulez ajouter un blog à un site Next.js existant qui utilise Sanity.
  • ✓Quand vous planifiez une nouvelle section blog et avez besoin d'une architecture pour les articles et le référencement.
  • ✓Quand vous voulez que le blog prenne en charge plusieurs langues et respecte les normes d'accessibilité.

Lien du skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-development/building-blog/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-development/building-blog/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu m'aider à ajouter un blog à mon site Next.js avec Sanity, en commençant par une analyse du projet ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent analyse d'abord votre projet pour repérer la configuration existante, pose les questions restantes, puis suit une spécification détaillée pour le blog.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Building a Blog (Next.js + Sanity)

Overview

Universal workflow for adding a blog to a Next.js site backed by Sanity CMS. Targets a corporate blog: SEO-first, i18n-ready, performance-budgeted, accessibility-compliant.

SKILL.md is the orchestrator. The spec lives in the two reference files.

Files

  • blog-technical-requirements.md — §0 intake questionnaire (30+ questions) → §1 Project Profile → §2–§20 universal spec → checklist. Edit only §0 answers and §1 per project.
  • blog-image-style-guide.md — universal template for AI-generated hero imagery via Gemini 3 Pro Image (Nano Banana Pro). Intake questions on top, aesthetic skeleton in the middle, three example slots at the bottom.

Workflow

Step 1 — Scan the host project (before asking anything)

Read what's already there. Pre-filling answers from detected values is much better than asking the user. Look for:

  • package.json — Next.js version, next-intl, Sanity packages, Tailwind, framer-motion
  • next.config.{ts,js,mjs} — existing images.formats, i18n config
  • src/messages/**, src/i18n/**, messages/** — current locale set
  • src/app/[locale]/** or app/[locale]/** — routing pattern
  • tailwind.config.*, globals.css, design-system files — tokens, fonts
  • CLAUDE.md, AGENTS.md, GEMINI.md — project conventions and approved overrides
  • Existing sanity-studio/ or studio/ folder
  • app/layout.{tsx,jsx} — fonts, analytics, motion config
  • public/brand/**, public/logo* — publisher logo
  • sitemap.ts, robots.ts — existing routes
  • .env* files — names of already-set env vars (do not log secret values)

Record findings as a brief "Detected" list before the questionnaire.

Step 2 — Run the intake questionnaire

Open blog-technical-requirements.md and walk through §0.

  • Claude Code: use AskUserQuestion. Group related questions into single calls (max 4 per call). Pre-fill recommended answers from the scan.
  • Codex / CLIs without an interactive picker: list questions numerically in plain text, ask the user to answer in batches of 5–10. Show recommended answers from the scan.
  • Headless / non-interactive: apply universal defaults to whatever the prompt did not explicitly cover; list every assumption.

Write the answers into §1 "Project Profile" (in a project-local copy under docs/blog/, not in the universal source).

Step 3 — Produce the high-level plan

Use the plan template at the end of §0. One page. Phases, locked-in scope, out-of-scope items, open decisions. Wait for explicit user approval. Do not start coding.

Step 4 — Implement against the spec

Follow §2–§20 in order. §19 (Pass/Fail Checklist) is the definition of done. The image style guide drives §20 if AI-generated hero images are in scope.

When NOT to use this skill

  • Static / MDX-only blogs (no CMS) — different stack, different patterns
  • High-velocity news publishers — sitemap chunking and editor tooling become primary concerns
  • Documentation sites — use a docs framework instead
  • Marketing landing pages that aren't really a blog

Source

Maintained at BuildShipGrowRepeat/nextjs-sanity-blog-skill. MIT licensed.

Questions fréquentes

Lit-elle mon projet en premier ?

Oui. La skill analyse votre fichier de paquets, le routage et les fichiers de design avant de poser des questions.

Inclut-elle la génération d'images ?

Oui. La skill comprend un guide de style pour les images d'en-tête générées par IA.

À qui s'adresse-t-elle ?

Elle vise les blogs d'entreprise qui ont besoin de référencement, d'internationalisation et de performance.

Détails

Description originale de l’auteur

Use when adding a blog to a Next.js + Sanity site, building a blog section from scratch, integrating Sanity CMS for editorial content, or setting up an SEO-optimized article surface. Triggers on phrases like 'add a blog', 'build the blog', 'create blog section', 'set up blog with Sanity', 'integrate Sanity CMS', 'blog architecture', or any new-blog scoping conversation on a Next.js project.

repo: davila7/claude-code-templates

Popularité

Étoiles GitHub
33k
Position au classement
#9103
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires