Création de blog Hugo avec SEO

VérifiéSûr

Aide à la création de nouveaux articles de blog pour un site Hugo avec titres et descriptions optimisés pour le SEO.

Spar Skills Guide Bot
ContenuDébutant
5002/06/2026
Claude Code
#blog#hugo#seo#content-creation#writing

Recommandé pour

Notre avis

Cette compétence aide à créer un nouvel article de blog pour un site Hugo en générant un titre et une description optimisés pour le référencement.

Points forts

  • Automatise la création des fichiers de blog avec Hugo
  • Génère des titres et descriptions SEO pertinents
  • Valide les choix de l'utilisateur avant de créer le fichier
  • Utilise la date courante pour organiser les articles par année

Limites

  • Nécessite que Hugo soit installé et configuré
  • Ne crée que le fichier de base, le contenu rédactionnel reste à faire
  • Suppose une structure de blog spécifique (content/blog/YYYY/)
Quand l'utiliser

Quand vous voulez rapidement amorcer la rédaction d'un nouvel article de blog Hugo avec des métadonnées SEO de base.

Quand l'éviter

Si vous utilisez un autre générateur de site statique ou si vous avez besoin d'intégrer des fonctionnalités avancées (images, catégories, tags) dès la création.

Analyse de sécurité

Sûr
Score qualité85/100

The skill only runs benign shell commands like 'date +%Y' and 'hugo new' to create a new blog post file. No destructive, exfiltrating, or obfuscated actions are present.

Aucun point d'attention détecté

Exemples

New blog post about AI
Create a new blog post about the latest advances in artificial intelligence for my blog.
New blog post with custom title
I want to write a blog post titled '10 Tips for Better Productivity' – can you set it up?

name: blog description: Create a new blog post for dabase.com using Hugo with SEO-friendly title and description

Blog Post Creation Skill

You are helping the user create a new blog post for their Hugo-based blog at dabase.com.

Your Task

  1. Determine the current year:

    • Run: date +%Y to get the current year dynamically
  2. Ask the user for:

    • What is the blog post about? (Get a detailed description of the topic/content)
    • What title do they want? (Or offer to generate one based on the topic)
  3. Generate an SEO-friendly title and description:

    • Create a concise, compelling title if they don't provide one
    • Write a brief, SEO-optimized description (1-2 sentences) based on what the blog is about
    • Confirm both with the user before proceeding
  4. Generate the filename from the title:

    • Convert to lowercase
    • Replace spaces with hyphens
    • Remove special characters (keep only alphanumeric and hyphens)
    • Example: "My Great Post!" → "my-great-post.md"
  5. Create the blog post using Hugo:

    • Run: hugo new content/blog/YEAR/[filename].md (where YEAR is from step 1)
    • Hugo will automatically create the file with the correct frontmatter
  6. Update the frontmatter:

    • Read the newly created file
    • Update the title field with the confirmed title
    • Update the description field with the SEO-friendly description
    • Keep the auto-generated date field
  7. Confirm completion:

    • Show the file path: content/blog/YEAR/filename.md
    • Let them know they can start writing content
    • Suggest running hugo server to preview if needed

Important Notes

  • Use date +%Y to dynamically determine the current year
  • Use Hugo's hugo new command to bootstrap the post
  • Generate SEO-friendly titles and descriptions
  • Confirm the title and description with the user before creating the file
Skills similaires