Logotipo de Seo Best Practices

Seo Best Practices

Comunidad
AsyrafHussin
seo-best-practices

SEO patterns, conventions, and audit for web applications. Use when implementing meta tags, structured data, Core Web Vitals, sitemaps, Open Graph, auditing SEO, or optimizing pages for search engines. Triggers on "audit SEO", "check SEO", "review SEO", or tasks involving search optimization, schema markup, or social sharing meta tags.

Descripción general

EditorAsyrafHussin
Repositorioagent-skills
Nombre de la habilidadseo-best-practices
Estrellas
78
Forks
10
Archivos incluidos
35
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 35

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por AsyrafHussin en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Seo Best Practices en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/AsyrafHussin/agent-skills/tree/main/skills/seo-best-practices
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AsyrafHussin/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/seo-best-practices .claude/skills/seo-best-practices
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Seo Best Practices en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Seo Best Practices automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Seo Best Practices no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

SEO Best Practices

Comprehensive SEO patterns for web applications built with React and Laravel. Contains 31 rules across 8 categories covering Core Web Vitals, technical SEO, structured data, performance, social sharing, and mobile-first indexing. Supports both coding reference and audit mode.

Metadata

  • Version: 1.2.0
  • Scope: Laravel Blade and Laravel + Inertia.js + React
  • Rule Count: 31 rules across 8 categories
  • License: MIT

How to Audit

When the user asks to "audit SEO", "check SEO", or "review SEO" — run the checklist below against their codebase.

Audit Step 1: Determine Scope

  • If arguments provided ($ARGUMENTS): audit only those pages or files
  • If no arguments: audit all pages and layouts in the codebase

Audit Step 2: Detect Project Type

Use the detection logic in "Step 1: Detect Project Type" below to determine Laravel Blade vs Laravel + Inertia + React.

Audit Step 3: Run SEO Checklist

Work through every item below. For each, output:

  • PASS — brief confirmation of what was verified
  • FAIL — exact file:line, description of the issue, and fix recommendation
  • N/A — if the check does not apply to this project
Core Web Vitals
  • Hero/above-the-fold images use fetchpriority="high" and are preloaded (LCP < 2.5s)
  • No long-running JavaScript tasks blocking interaction (INP < 200ms)
  • All images and embeds have explicit width/height attributes (CLS < 0.1)
  • No dynamically injected content that shifts layout without reserved space
Technical SEO
  • Every page has a unique <title> tag (50-60 characters)
  • Every page has a <meta name="description"> (150-160 characters)
  • Every page has a <link rel="canonical"> pointing to the correct URL
  • robots.txt exists and does not block important pages
  • XML sitemap exists and includes all indexable pages
  • URLs are clean, lowercase, hyphenated — no query params for indexable pages
On-Page SEO
  • One <h1> per page containing the primary keyword
  • Heading hierarchy is sequential (h1 → h2 → h3) — no skipped levels
  • Images have descriptive alt text (not empty, not "image", not filename)
  • Internal links use descriptive anchor text (not "click here")
  • Semantic HTML used (<article>, <section>, <nav>, <main>)
Structured Data
  • JSON-LD structured data present on key pages (Article, Product, FAQ, BreadcrumbList)
  • JSON-LD uses @graph when combining multiple schema types
  • Structured data validates with Google Rich Results Test (no errors)
  • Organization/WebSite schema present on homepage
Performance SEO
  • Images use modern formats (WebP/AVIF) with fallbacks
  • Below-the-fold images use loading="lazy"
  • Fonts use font-display: swap or optional
  • Critical resources use <link rel="preconnect"> or <link rel="preload">
Social Sharing
  • Open Graph tags present (og:title, og:description, og:image, og:url, og:type)
  • og:image is at least 1200x630px
  • Twitter Card tags present (twitter:card, at minimum summary_large_image)
React/SPA SEO (if applicable)
  • SSR or SSG configured for indexable pages — not client-side only
  • Meta tags update on route change (via <Head> component or equivalent)
  • head-key attribute used to prevent duplicate meta tags (Inertia.js)
Mobile-First
  • <meta name="viewport" content="width=device-width, initial-scale=1"> present
  • Content parity between mobile and desktop (no hidden content)
  • Touch targets are at least 48x48px with adequate spacing

Audit Step 4: Summary

End the audit with:

## SEO Audit Summary
- **PASS**: X checks
- **FAIL**: X checks
- **N/A**: X checks
- **Top Priority Fixes**: (list the 3 most impactful FAIL items)

When to Apply

Reference these guidelines when:

  • Running an SEO audit on a codebase
  • Adding meta tags (<title>, description, canonical, robots)
  • Implementing structured data (JSON-LD / Schema.org)
  • Optimizing Core Web Vitals (LCP, INP, CLS)
  • Setting up Open Graph and Twitter Card meta tags
  • Creating sitemaps and robots.txt
  • Building SEO-friendly React SPAs
  • Configuring Laravel SEO middleware and packages
  • Optimizing images, fonts, and loading performance for search

Step 1: Detect Project Type

Always check the project stack before giving advice. Different stacks need different SEO approaches.

Check package.json and project structure:

SignalProject Type
@inertiajs/react in dependenciesLaravel + Inertia + React
resources/views/**/*.blade.php only (no React)Laravel Blade (server-rendered)

If Laravel Blade: Apply tech-, onpage-, schema-, perf-, social-, mobile- rules. Meta tags go in Blade layouts. Sitemaps via spatie/laravel-sitemap. Skip spa- rules — pages are already server-rendered.

If Laravel + Inertia + React: Apply all rules. Meta tags via @inertiaHead in Blade layout + <Head> component from @inertiajs/react in React pages. For SSR, create resources/js/ssr.jsx using createServer from @inertiajs/react/server, add ssr: 'resources/js/ssr.jsx' to Vite config, build with vite build && vite build --ssr, and run php artisan inertia:start-ssr. Use head-key attribute on meta tags to prevent duplicates between layout and page. Focus on schema-, social-, and perf- rules.

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Core Web VitalsCRITICALcwv-
2Technical SEOCRITICALtech-
3On-Page SEOHIGHonpage-
4Structured DataHIGHschema-
5Performance SEOHIGHperf-
6Social SharingHIGHsocial-
7React/SPA SEOHIGHspa-
8Mobile-FirstMEDIUMmobile-

Quick Reference

1. Core Web Vitals (CRITICAL)

  • cwv-lcp - Largest Contentful Paint optimization (<2.5s)
  • cwv-inp - Interaction to Next Paint optimization (<200ms)
  • cwv-cls - Cumulative Layout Shift prevention (<0.1)

2. Technical SEO (CRITICAL)

  • tech-meta-tags - Essential HTML meta tags (title, description, canonical)
  • tech-canonical-urls - Canonical URL implementation
  • tech-robots-txt - Robots.txt configuration
  • tech-sitemap-xml - XML sitemap generation
  • tech-url-structure - SEO-friendly URL patterns

3. On-Page SEO (HIGH)

  • onpage-headings - Heading hierarchy and structure
  • onpage-semantic-html - Semantic HTML for SEO and accessibility
  • onpage-internal-linking - Internal linking strategy
  • onpage-images - Image optimization and alt text

4. Structured Data (HIGH)

  • schema-json-ld - JSON-LD structured data basics
  • schema-article - Article and BlogPosting markup
  • schema-product - Product schema for e-commerce
  • schema-breadcrumb - BreadcrumbList navigation markup
  • schema-graph - Combining multiple schema types with @graph
  • schema-faq - FAQ page schema markup
  • schema-validation - Structured data validation and monitoring

5. Performance SEO (HIGH)

  • perf-image-formats - Modern image formats (WebP/AVIF)
  • perf-lazy-loading - Lazy loading implementation
  • perf-font-loading - Web font loading strategy
  • perf-resource-hints - Preconnect, preload, and prefetch

6. Social Sharing (HIGH)

  • social-open-graph - Open Graph meta tags
  • social-twitter-cards - Twitter/X Card meta tags

7. React/SPA SEO (HIGH)

  • spa-rendering-strategy - SSR vs CSR vs SSG for SEO
  • spa-meta-management - Dynamic meta tag management
  • spa-routing - SPA routing and crawlability

8. Mobile-First (MEDIUM)

  • mobile-viewport - Viewport and responsive configuration
  • mobile-content-parity - Content parity between mobile and desktop
  • mobile-ux - Mobile UX requirements for SEO

Essential Patterns

Meta Tags (HTML)

html
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Page Title — Site Name</title>
  <meta name="description" content="Concise 150-160 character description of page content." />
  <link rel="canonical" href="https://example.com/page" />

  <!-- Open Graph -->
  <meta property="og:title" content="Page Title" />
  <meta property="og:description" content="Description for social sharing." />
  <meta property="og:image" content="https://example.com/og-image.jpg" />
  <meta property="og:url" content="https://example.com/page" />
  <meta property="og:type" content="website" />

  <!-- Twitter Card -->
  <meta name="twitter:card" content="summary_large_image" />
</head>

JSON-LD Structured Data

html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Article Title",
  "author": {
    "@type": "Person",
    "name": "Author Name"
  },
  "datePublished": "2026-03-14",
  "dateModified": "2026-03-14",
  "image": "https://example.com/article-image.jpg",
  "publisher": {
    "@type": "Organization",
    "name": "Site Name",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.png"
    }
  }
}
</script>

React Meta Management (Inertia.js)

tsx
import { Head } from '@inertiajs/react'

interface Post {
  title: string;
  slug: string;
  excerpt: string;
  image: string;
}

function BlogPost({ post }: { post: Post }) {
  return (
    <>
      <Head>
        <title>{post.title} — Blog</title>
        <meta head-key="description" name="description" content={post.excerpt} />
        <link rel="canonical" href={`https://example.com/blog/${post.slug}`} />
        <meta property="og:title" content={post.title} />
        <meta property="og:description" content={post.excerpt} />
        <meta property="og:image" content={post.image} />
        <meta property="og:type" content="article" />
        <meta name="twitter:card" content="summary_large_image" />
      </Head>
      <article>{/* content */}</article>
    </>
  )
}

Core Web Vitals Quick Checks

LCP  < 2.5s   Preload hero image, use fetchpriority="high"
INP  < 200ms  Break long tasks, yield to main thread
CLS  < 0.1    Set width/height on images, reserve space for dynamic content

Image Optimization

html
<!-- Modern formats with fallback -->
<picture>
  <source srcset="hero.avif" type="image/avif" />
  <source srcset="hero.webp" type="image/webp" />
  <img
    src="hero.jpg"
    alt="Descriptive alt text for the image"
    width="1200"
    height="630"
    fetchpriority="high"
  />
</picture>

<!-- Responsive images -->
<img
  srcset="photo-400.webp 400w, photo-800.webp 800w, photo-1200.webp 1200w"
  sizes="(max-width: 600px) 400px, (max-width: 900px) 800px, 1200px"
  src="photo-800.webp"
  alt="Descriptive alt text"
  width="1200"
  height="800"
  loading="lazy"
/>

How to Use

Read individual rule files for detailed explanations and code examples:

rules/tech-meta-tags.md
rules/schema-json-ld.md
rules/cwv-lcp.md
rules/spa-rendering-strategy.md
rules/social-open-graph.md

Each rule file contains:

  • YAML frontmatter with metadata (title, impact, tags)
  • Brief explanation of why it matters
  • Incorrect example with explanation
  • Correct example with explanation
  • Framework-specific examples (React, Laravel)

References

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Seo Best Practices?

SEO patterns, conventions, and audit for web applications. Use when implementing meta tags, structured data, Core Web Vitals, sitemaps, Open Graph, auditing SEO, or optimizing pages for search engines. Triggers on "audit SEO", "check SEO", "review SEO", or tasks involving search optimization, schema markup, or social sharing meta tags.

¿Por qué usar Seo Best Practices en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Seo Best Practices está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Seo Best Practices en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/AsyrafHussin/agent-skills/tree/main/skills/seo-best-practices. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Seo Best Practices?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Seo Best Practices?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Seo Best Practices con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Seo Best Practices?

Sí. AsyrafHussin la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇