seo-fundamentals
SEO best practices for Laravel. Meta tags, OpenGraph, Sitemap generation, and Structured Data.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
SEO best practices for Laravel. Meta tags, OpenGraph, Sitemap generation, and Structured Data.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
PHP Artisan CLI patterns including make commands, flags, custom commands, and AI-friendly usage.
Advanced Eloquent ORM patterns including relationships, eager loading, factories, and query optimization.
Laravel development best practices covering service providers, dependency injection, facades, and the Laravel Way.
Laravel Tinker best practices for debugging, testing ideas, and data exploration. When and how to use safely.
Laravel-native error handling patterns. Renderable exceptions, Livewire traits strategies, and user-facing notifications.
Integrate Anthropic Claude API with Laravel. HTTP client, message format, error handling. Use when calling Claude models from Laravel applications.
| name | seo-fundamentals |
| description | SEO best practices for Laravel. Meta tags, OpenGraph, Sitemap generation, and Structured Data. |
| allowed-tools | Read, Glob, Grep |
Technical and content SEO practices optimized for the Laravel ecosystem.
Don't manually manage meta tags. Use battle-tested packages.
Automatically generates meta tags and structured data.
composer require spatie/laravel-tags spatie/laravel-seo
Generates sitemap.xml dynamically.
composer require spatie/laravel-sitemap
Using a shared layout (resources/views/layouts/app.blade.php):
<head>
{{-- Basic Meta --}}
<title>@yield('title', config('app.name'))</title>
<meta name="description" content="@yield('description', 'Default app description')">
{{-- Open Graph / Social --}}
<meta property="og:title" content="@yield('title')" />
<meta property="og:description" content="@yield('description')" />
<meta property="og:image" content="@yield('image', asset('images/og-default.jpg'))" />
{{-- Canonical --}}
<link rel="canonical" href="{{ url()->current() }}" />
</head>
Using spatie/laravel-seo on a Post model:
use Spatie\Seo\Seo;
public function show(Post $post)
{
seo()
->title($post->title)
->description($post->excerpt)
->image($post->cover_url)
->twitter();
return view('posts.show', compact('post'));
}
spatie/laravel-sitemap to run daily via Scheduler.public/robots.txt exists or use a route to generate it.php artisan optimize and cache config in production.spatie/laravel-medialibrary for responsive images/WebP conversion.Since we removed the legacy Python script, use these standard tools:
| Tool | Purpose |
|---|---|
| Lighthouse (Chrome DevTools) | Performance, Accessibility, SEO score |
| Google Search Console | Indexing status, Core Web Vitals |
| Ahrefs / Semrush | Backlink checking |
Note: We do not include a PHP script for SEO because Google's rendering (JS) is best audited by a browser-based tool like Lighthouse.