# Seo
> Optimiza la visibilidad y el posicionamiento en buscadores. Úsalo para 'improve SEO', 'fix meta tags', 'add structured data' o 'sitemap optimization'.
Fuente: https://skillsagentes.com/skills/addyosmani/web-quality-skills/seo
Markdown: https://skillsagentes.com/skills/addyosmani/web-quality-skills/seo.md
Repositorio: https://github.com/addyosmani/web-quality-skills
Autor: addyosmani
Licencia: MIT
Actualizado: hace 4 meses
Coste de contexto: 51 tok instalada, 3.2k tok al activarse, 3.2k tok con todos los archivos del bundle
Bundle: 1 archivo, 12 KB
Permisos que pide: ninguno declarado
## Instalación
Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina.
```bash
# Claude Code
npx -y skills add addyosmani/web-quality-skills --skill seo --agent claude-code
# Cursor
npx -y skills add addyosmani/web-quality-skills --skill seo --agent cursor
# Codex
npx -y skills add addyosmani/web-quality-skills --skill seo --agent codex
# Gemini CLI
npx -y skills add addyosmani/web-quality-skills --skill seo --agent gemini
# Windsurf
npx -y skills add addyosmani/web-quality-skills --skill seo --agent windsurf
# Cline
npx -y skills add addyosmani/web-quality-skills --skill seo --agent cline
```
## Qué hace
- Audita y corrige robots.txt, meta robots, canonical URLs y estructura de URLs
- Optimiza title tags, meta descriptions, encabezados, imágenes y enlaces internos
- Genera datos estructurados JSON-LD (Organization, Article, Product, FAQ, Breadcrumbs)
- Revisa SEO móvil (viewport, tap targets, tamaños de fuente) y hreflang para sitios multilingües
- Ofrece un checklist de auditoría SEO por prioridad y guía sobre visibilidad en buscadores IA
## Cuándo usarla
- Al pedir 'improve SEO' o 'optimizar para buscadores'
- Al pedir 'fix meta tags' o corregir etiquetas meta
- Al pedir 'add structured data' o añadir datos estructurados
- Al pedir 'sitemap optimization' u optimización de sitemap
## Qué la activa
- "Mejora el SEO de esta página"
- "Añade datos estructurados JSON-LD al artículo"
- "Optimiza el sitemap y el robots.txt del sitio"
- "Corrige los meta tags y el title de esta plantilla"
## Antes de instalar
- makes network requests
## Archivos
- SKILL.md — 12 KB
## SKILL.md
Reproducido tal cual desde addyosmani/web-quality-skills bajo MIT. Esta sección es el documento original y está en inglés.
# SEO optimization
Search engine optimization based on Lighthouse SEO audits and Google Search guidelines. Focus on technical SEO, on-page optimization, and structured data.
## Evidence-led audit workflow
When a rendered page is available:
1. Run live Lighthouse SEO and Agentic Browsing checks when that capability is available; with Chrome DevTools MCP, use `lighthouse_audit`. Use the results to localize rendered-page failures.
2. Inspect signals Lighthouse cannot establish on its own: response headers, redirects, `robots.txt`, sitemap coverage, canonical consistency across page templates, structured-data eligibility, and Search Console evidence when the user provides access.
3. Separate technical crawl/index findings from content quality and authority. Do not invent ranking-factor weights or promise ranking changes.
4. Fix the source and re-run the same checks. For indexation or ranking outcomes, report that search-engine validation remains pending.
If live tools are unavailable, use category-specific Lighthouse CLI output plus direct source and HTTP inspection. A Lighthouse SEO score covers a useful subset of technical checks; it is not a prediction of rankings.
| Area | What this skill can verify |
|------|----------------------------|
| Crawl and index controls | Technical configuration and consistency |
| Rendered metadata and semantics | Presence, validity, and page-template issues |
| Structured data | Syntax and eligibility signals, not guaranteed rich results |
| Core Web Vitals | Link to measured field/lab evidence from the Core Web Vitals skill |
| Content usefulness and authority | Review quality, but do not assign synthetic ranking percentages |
---
## Technical SEO
### Crawlability
**robots.txt:**
```text
# /robots.txt
User-agent: *
Allow: /
# Block admin/private areas
Disallow: /admin/
Disallow: /api/
Disallow: /private/
# Don't block resources needed for rendering
# ❌ Disallow: /static/
Sitemap: https://example.com/sitemap.xml
```
**Meta robots:**
```html
```
**Canonical URLs:**
```html
```
### XML sitemap
```xml
```
**Security headers for SEO trust signals:**
```
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
```
---
## On-page SEO
### Title tags
```html
```
**Image guidelines:**
- Descriptive filenames with keywords
- Alt text describes the image content
- Compressed and properly sized
- WebP/AVIF with fallbacks
- Lazy load below-fold images
### Internal linking
```html
Click here
Read more
Browse our blue widget collection
Learn how to maintain your widgets
```
**Linking guidelines:**
- Descriptive anchor text with keywords
- Link to relevant internal pages
- Reasonable number of links per page
- Fix broken links promptly
- Use breadcrumbs for hierarchy
---
## Structured data (JSON-LD)
Read [the structured data reference](references/STRUCTURED-DATA.md) when the user requests schema markup or an audit surfaces a structured-data issue. It contains Organization, Article, Product, FAQ, and Breadcrumb examples plus validation links.
* **Describe visible, accurate content.** Do not add a type or claim solely to obtain a rich result.
* **Use the most specific applicable type.** Keep identifiers and absolute URLs stable across renders.
* **Validate rendered output.** Passing syntax does not guarantee search-engine eligibility or display.
## Agentic browsing and AI discoverability
Keep these concepts separate:
* **Lighthouse Agentic Browsing** measures technical signals that help an assistant understand and interact with the rendered page. Current checks include the agent-facing accessibility tree, optional `llms.txt`, and WebMCP registrations, schemas, and form coverage when present.
* **Search indexing and ranking** depend on search-engine systems and cannot be inferred from the Agentic Browsing score.
* **AI ingestion or citation** is product-specific. A technically browsable page or valid `llms.txt` file does not prove that an AI product will ingest, rank, or cite it.
Prioritize semantic HTML, descriptive labels, crawlable content, accurate metadata, and clear page structure because they benefit people, search engines, and agents. Add WebMCP tools only when the application has useful actions to expose and the user wants that integration; validate tool names, descriptions, schemas, and form annotations with Lighthouse.
### Crawler controls are product-specific
Audit each documented user agent separately instead of applying a blanket "AI bot" rule:
| Control | Documented purpose | Effect of blocking |
|---------|--------------------|--------------------|
| `OAI-SearchBot` | ChatGPT search discovery | Prevents page content from being included in ChatGPT summaries and snippets; a link and title may still surface through third-party discovery |
| `PerplexityBot` | Perplexity search indexing | Prevents that crawler from indexing the blocked content for search results |
| `Claude-SearchBot` / `Claude-User` | Claude search indexing / user-directed retrieval | May reduce search visibility / prevents retrieval for user-directed requests |
| `Google-Extended` | Controls certain Gemini training and grounding uses of content Google crawls | Does not affect Google Search inclusion or ranking |
Training controls such as `GPTBot` and `ClaudeBot` are distinct from search and user-fetch controls. `GoogleOther` is a generic crawler, not an AI-search visibility switch. Verify current names and consequences in the vendors' maintained documentation: [OpenAI](https://help.openai.com/en/articles/12627856-publishers-and-developers-faq), [Perplexity](https://docs.perplexity.ai/docs/resources/perplexity-crawlers), [Anthropic](https://privacy.anthropic.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler), and [Google](https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers).
### `llms.txt` is optional
`llms.txt` is an experimental proposal, not a cross-vendor discovery standard. Lighthouse can validate the availability and shape of `/llms.txt`, but that does not show that a target product reads it. Add one only when the user requests it or a documented consumer supports it; do not recommend it ahead of crawlability, semantic HTML, accurate metadata, and useful content. Never treat it as a ranking or citation factor, duplicate the sitemap, or reorganize content solely to raise this audit.
---
## Mobile SEO
### Responsive design
```html
```
### Tap targets
```css
/* ❌ Too small for mobile */
.small-link {
padding: 4px;
font-size: 12px;
}
/* ✅ Adequate tap target */
.mobile-friendly-link {
padding: 12px;
font-size: 16px;
min-height: 48px;
min-width: 48px;
}
```
### Font sizes
```css
/* ❌ Too small on mobile */
body {
font-size: 10px;
}
/* ✅ Readable without zooming */
body {
font-size: 16px;
line-height: 1.5;
}
```
---
## International SEO
### Hreflang tags
```html
```
### Language declaration
```html
```
---
## SEO audit checklist
### Critical
- [ ] HTTPS enabled
- [ ] robots.txt allows crawling
- [ ] No `noindex` on important pages
- [ ] Title tags present and unique
- [ ] Primary page heading is descriptive and the hierarchy is logical
### High priority
- [ ] Meta descriptions present
- [ ] Sitemap submitted
- [ ] Canonical URLs set
- [ ] Mobile-responsive
- [ ] Core Web Vitals passing
### Medium priority
- [ ] Structured data implemented
- [ ] Internal linking strategy
- [ ] Image alt text
- [ ] Descriptive URLs
- [ ] Breadcrumb navigation
- [ ] Agentic Browsing failures reviewed when agent access matters
### Ongoing
- [ ] Fix crawl errors in Search Console
- [ ] Update sitemap when content changes
- [ ] Monitor ranking changes
- [ ] Check for broken links
- [ ] Review Search Console insights
---
## Tools
| Tool | Use |
|------|-----|
| Google Search Console | Monitor indexing, fix issues |
| Google PageSpeed Insights | Performance + Core Web Vitals |
| Rich Results Test | Validate structured data |
| Live Lighthouse audit (Chrome DevTools MCP: `lighthouse_audit`) | Rendered SEO and Agentic Browsing checks for agents |
| Lighthouse CLI | SEO audit fallback |
| Screaming Frog | Crawl analysis |
## References
- [Google Search Central](https://developers.google.com/search)
- [Schema.org](https://schema.org/)
- [Core Web Vitals](../core-web-vitals/SKILL.md)
- [Web Quality Audit](../web-quality-audit/SKILL.md)
## Dónde encaja
- Categoría: [SEO y GEO](https://skillsagentes.com/categorias/seo-geo.md) — Keywords, auditorías on-page, datos estructurados y visibilidad en respuestas de IA.
- Creador: [addyosmani](https://skillsagentes.com/creators/addyosmani.md) — 31 skills en el directorio
- [Todas las skills](https://skillsagentes.com/skills.md)
- [Ranking de instalaciones](https://skillsagentes.com/ranking.md)
## Otras skills del mismo repositorio
- [Web Quality Audit](https://skillsagentes.com/skills/addyosmani/web-quality-skills/web-quality-audit.md): Auditoría de calidad web completa que cubre rendimiento, accesibilidad, SEO y buenas prácticas, con más de 150 verificaciones basadas en Lighthouse.
- [Core Web Vitals](https://skillsagentes.com/skills/addyosmani/web-quality-skills/core-web-vitals.md): Optimiza los Core Web Vitals (LCP, INP, CLS) para mejorar la experiencia de página y el posicionamiento en búsquedas.
- [Best Practices](https://skillsagentes.com/skills/addyosmani/web-quality-skills/best-practices.md): Aplica prácticas modernas de desarrollo web para seguridad, compatibilidad y calidad de código, siguiendo las auditorías de Lighthouse best practices.
- [Accessibility](https://skillsagentes.com/skills/addyosmani/web-quality-skills/accessibility.md): Audita y mejora la accesibilidad web siguiendo las pautas WCAG 2.2. Úsalo ante 'improve accessibility', 'a11y audit', 'WCAG compliance', 'screen reader support', 'keyboard navigation' o 'make accessible'.
- [Performance](https://skillsagentes.com/skills/addyosmani/web-quality-skills/performance.md): Optimiza el rendimiento web para lograr cargas más rápidas y mejor experiencia de usuario, basado en auditorías de rendimiento de Lighthouse.
---
Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)