agentleFS
MindrallyMindrally/skills/seo-best-practices/SKILL.md

seo-best-practices

Skill266 starsChanged 10 months agoApache-2.0View on GitHub

Apply SEO best practices for web applications including metadata, performance optimization, and search engine optimization techniques.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

26 rules. About 0 are common, 24 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈24

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write semantic HTML to improve accessibility and SEO

    line 12
  2. Distinctive:

    Use server-side rendering (SSR) for better crawlability

    line 15
  3. Distinctive:

    Create meaningful, descriptive URLs

    line 16
  4. Very specific:

    Use the built-in metadata object or generateMetadata function for dynamic SEO

    line 21
  5. Distinctive:

    Create dynamic metadata based on page content

    line 23
  6. Very specific:

    Use useHead and useSeoMeta composables for SEO metadata

    line 27
  7. Distinctive:

    Use dynamic loading for non-critical components

    line 36
  8. Distinctive:

    Use proper heading hierarchy (h1-h6)

    line 41
  9. Distinctive:

    Create meaningful link text (avoid "click here")

    line 43
  10. Distinctive:

    Use semantic HTML elements (header, main, nav, article, section, aside, footer)

    line 45
  11. Distinctive:

    Use lowercase with dashes for URLs (kebab-case)

    line 48
  12. Distinctive:

    Create descriptive, keyword-rich URLs

    line 49
  13. Distinctive:

    Create XML sitemaps and robots.txt

    line 51
  14. Distinctive:

    Use canonical tags for duplicate content

    line 52
  15. Distinctive:

    Ensure sufficient color contrast for text

    line 56
  16. Distinctive:

    Ensure fast loading on mobile networks

    line 59
  17. Distinctive:

    Always include descriptive alt text for images

    line 63
  18. Distinctive:

    Use appropriate image formats (WebP preferred)

    line 64
  19. Distinctive:

    Use descriptive file names for images

    line 67
  20. Distinctive:

    Write unique, valuable content for each page

    line 72
  21. Distinctive:

    Create compelling meta titles (50-60 characters)

    line 74
  22. Distinctive:

    Write engaging meta descriptions (150-160 characters)

    line 75
  23. Distinctive:

    Use internal linking to establish content hierarchy

    line 76
  24. Distinctive:

    Keep content fresh and regularly updated

    line 77
  25. Distinctive:

    Use Lighthouse for performance and SEO audits

    line 81
  26. Distinctive:

    Test with Google's Mobile-Friendly Test

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SEO Best Practices

You are an expert in SEO (Search Engine Optimization) for modern web applications. Apply these guidelines when building web applications to ensure optimal search engine visibility and ranking.

Core SEO Principles

  • Write semantic HTML to improve accessibility and SEO
  • Implement proper metadata and structured data
  • Optimize for Core Web Vitals (LCP, CLS, FID)
  • Use server-side rendering (SSR) for better crawlability
  • Create meaningful, descriptive URLs

Metadata Implementation

Next.js Applications

  • Use the built-in metadata object or generateMetadata function for dynamic SEO
  • Implement Open Graph and Twitter Card meta tags
  • Create dynamic metadata based on page content
  • Include canonical URLs to prevent duplicate content issues

Nuxt.js Applications

  • Use useHead and useSeoMeta composables for SEO metadata
  • Implement SEO best practices using Nuxt's built-in composables
  • Leverage auto-generated meta tags where appropriate

Technical SEO Requirements

Performance Optimization

  • Minimize 'use client', 'useEffect', and 'setState'; favor React Server Components (RSC)
  • Wrap client components in Suspense with fallback
  • Use dynamic loading for non-critical components
  • Optimize images: use WebP format, include size data, implement lazy loading
  • Implement proper caching strategies

Content Structure

  • Use proper heading hierarchy (h1-h6)
  • Include descriptive alt text for all images
  • Create meaningful link text (avoid "click here")
  • Implement structured data (JSON-LD) for rich snippets
  • Use semantic HTML elements (header, main, nav, article, section, aside, footer)

URL and Routing

  • Use lowercase with dashes for URLs (kebab-case)
  • Create descriptive, keyword-rich URLs
  • Implement proper 301 redirects for moved content
  • Create XML sitemaps and robots.txt
  • Use canonical tags for duplicate content

Mobile and Accessibility

  • Design mobile-first responsive layouts
  • Ensure sufficient color contrast for text
  • Provide keyboard navigation for interactive elements
  • Implement ARIA labels where semantic HTML is insufficient
  • Ensure fast loading on mobile networks

Image SEO

  • Always include descriptive alt text for images
  • Use appropriate image formats (WebP preferred)
  • Implement lazy loading for below-the-fold images
  • Include width and height attributes to prevent layout shift
  • Use descriptive file names for images
  • Implement responsive images with srcset

Content Guidelines

  • Write unique, valuable content for each page
  • Include target keywords naturally in content
  • Create compelling meta titles (50-60 characters)
  • Write engaging meta descriptions (150-160 characters)
  • Use internal linking to establish content hierarchy
  • Keep content fresh and regularly updated

Monitoring and Testing

  • Use Lighthouse for performance and SEO audits
  • Monitor Core Web Vitals in Search Console
  • Test with Google's Mobile-Friendly Test
  • Validate structured data with Rich Results Test
  • Regularly check for crawl errors and broken links

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.