Guide for adding new documentation sites to the gallery. Use when adding a docs site to the gallery showcase.
Use this skill when the user wants to add a documentation site to the gallery, typically with prompts like:
Ask the user for brief bullet points about:
Keep this conversational and quick. You'll synthesize these bullets into polished content.
If not already provided, ask for:
Add a new entry to website/data/gallery.json:
{
"id": "site-slug",
"name": "Site Name",
"url": "https://example.com/docs",
"description": "Synthesized description based on user's input about why it's included, strengths, and what makes it unique.",
"category": "api-documentation|developer-tools|design-systems|open-source|saas-products|technical-writing",
"date": "YYYY-MM-DD",
"images": [],
"links": [
{
"label": "Documentation",
"url": "https://example.com/docs"
}
],
"highlights": [
"Bullet point 1",
"Bullet point 2"
]
}
Field guidelines:
id: Lowercase slug (e.g., "stripe-docs", "next-js-docs")name: Official product/site nameurl: Primary documentation URLdescription: 2-3 sentences synthesized from user inputcategory: Choose the most appropriate categorydate: Current date in ISO format (YYYY-MM-DD)images: Leave empty initiallylinks: Include primary docs link and any additional relevant linkshighlights: Array of specific strengths (4-8 items typically)Run the screenshot script:
npx tsx website/scripts/take-gallery-screenshots.ts
This script will:
images arrayswebsite/public/site-slug.png)Update the gallery item's images array with the screenshot filename:
"images": [
{
"url": "/site-slug.png",
"caption": "Homepage screenshot"
}
]
Instruct the user to:
npm run dev --workspace=websitehttp://localhost:3000/gallery| File | Role |
|---|---|
website/data/gallery.json | Gallery data source |
website/scripts/take-gallery-screenshots.ts | Screenshot automation script |
website/public/ | Screenshot storage location |
images array empty initially - The screenshot script looks for empty arrays to know which sites to capturedate fieldimages (initially) are required