og-preview
Preview and debug OG image generation for a specific route or all routes
- 0
- Installs
- —
- Rating
- —
- Success rate
- 1
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 db9600bb7efad87a… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
og-preview.md
OG Preview Command
Preview and debug Open Graph image generation for Nuxt applications using nuxt-og-image.
What This Command Does
- Checks OG image configuration in nuxt.config.ts
- Identifies all routes with defineOgImage usage
- Lists available OG image templates
- Provides preview URLs for testing
- Validates Satori CSS compatibility
Quick Actions
Check OG Image Configuration
# Find OG image config
grep -A 20 "ogImage" nuxt.config.ts
# Find defineOgImage usage
grep -r "defineOgImage" --include="*.vue" -l
# List OG image templates
ls -la components/OgImage/
Preview URLs
When dev server is running:
| URL | Purpose |
|---|---|
/_nuxt-og-image/playground | Interactive OG image playground |
/__og-image__/image/[route]/og.png | Preview specific route's OG image |
/__og-image__/image/[route]/og.png?debug | Debug mode with overlay |
Common Issues to Check
-
Template Not Found
- Verify component exists in
components/OgImage/ - Check component name matches usage
- Verify component exists in
-
Rendering Issues (Satori)
- No CSS Grid (use flexbox)
- No
display: block/inline - Images need explicit dimensions
- Fonts must be configured
-
Chromium Fallback
- For complex layouts, use
renderer: 'chromium' - Requires Chromium binary in production
- For complex layouts, use
Output Format
# OG Image Preview Report
## Configuration
- Renderer: [satori/chromium]
- Default template: [template name]
- Custom fonts: [yes/no]
## Routes with OG Images
| Route | Template | Props |
|-------|----------|-------|
| `/` | NuxtSeo | title, description |
| `/blog/[slug]` | BlogPost | title, author, date |
## Available Templates
- NuxtSeo (default)
- BlogPost
- Product
## Preview URLs
- Playground: http://localhost:3000/_nuxt-og-image/playground
- Home: http://localhost:3000/__og-image__/image/og.png
## Issues Found
- [Issue description]
Run the Preview
Start by checking the project's OG image configuration and list all routes using defineOgImage.
Files
1- og-preview.md
0bd1c1d4e42.2 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from secondsky/claude-skills8
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
Run a focused blindspot pass for unfamiliar, ambiguous, or high-risk work
Debug Bun applications and diagnose common issues
Deploy Bun applications to various platforms
Initialize a new Bun project with optional framework selection
Migrate existing Node.js/npm projects to Bun
Optimize Bun application performance and bundle size
Related methodology skillsscan passed
Create comprehensive integration testing plan with inline tests and refactoring recommendations
Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.