Adds an "AI Summary Request" footer component with clickable AI platform icons (ChatGPT, Claude, Gemini, Grok, Perplexity) that pre-populate prompts for users to get AI summaries of the website...
This skill creates a footer component with AI platform icons that allow visitors to request AI summaries of a website. The workflow begins by detecting and confirming the website domain, then asks whether to optionally generate an llms.txt file for enhanced AI discoverability.
Use this skill when:
llms.txt file for their website (optional)Before proceeding with any steps, you MUST determine the website domain:
Search for domain information in this priority order:
.env, .env.local, .env.production) - look for SITE_URL, BASE_URL, NEXT_PUBLIC_URL, NUXT_PUBLIC_SITE_URL, VITE_SITE_URL, or similarvercel.json, netlify.toml, firebase.json, fly.toml) - check for domain/alias settingspublic/ or root directorypackage.json homepage field, next.config.js, nuxt.config.js, vite.config.js)<base> tags in index filesIf a domain is detected, ask the user to confirm or provide an alternative:
"I detected that this site appears to use the domain [DETECTED_DOMAIN]. Is this correct? If not, please provide the correct domain."
If no domain can be detected, ask the user directly:
"I couldn't automatically detect the domain for this website. What domain should be used for the AI summary links? (e.g., https://example.com)"
https://${WEBSITE_URL} for use in subsequent stepsExample normalizations:
example.com โ https://example.comhttps://example.com/ โ https://example.comhttp://example.com โ keep as-is (user may have specific requirements)After confirming the domain, ask the user:
"Would you like me to also generate an
llms.txtfile for this website? This file helps AI models better understand your site's content and structure, which can improve the quality of AI-generated summaries.
- Yes: I'll create a curated llms.txt file and the footer component will reference it
- No: I'll create just the footer component, and the AI prompt will direct users to explore the website directly"
Store the user's choice as ${INCLUDE_LLMS_TXT} (true/false).
Skip this step entirely if the user chose not to generate an llms.txt file.
Generate a high-quality llms.txt file for a given website that helps language models quickly understand and reference the site's most valuable content.
- [Title](URL): description) under the appropriate section<!-- Last updated: YYYY-MM-DD --> for version trackingllms.txt at the website's root and, if possible, add a line in robots.txt (Llmstxt: /llms.txt) to aid discoveryProvide the full llms.txt file content, formatted as described above, in the served web root of the current website.
Create an "AI Summary Request" footer component with the following specifications.
brightness(0) for monochrome black effectCRITICAL: This skill includes bundled SVG icon files in the resources/ directory. You MUST use these exact icons - do NOT use generic icon libraries, search for alternatives, or create substitutes.
Copy these SVG files from resources/ to the user's project assets directory:
| Platform | File | Description |
|---|---|---|
| ChatGPT | resources/chatgpt.svg |
Hexagonal flower/aperture pattern with interlocking curved segments |
| Claude | resources/claude.svg |
Abstract geometric pattern (NOT the Anthropic backslash logo) |
| Gemini | resources/gemini.svg |
Four-pointed star/sparkle icon |
| Grok | resources/grok.svg |
Angular crystalline/triangular pattern (NOT the X/Twitter logo) |
| Perplexity | resources/perplexity.svg |
Hexagonal pattern with isometric cube perspective |
resources/ directory to the user's project (e.g., /public/icons/ai/ or /assets/icons/)Before finalizing, visually confirm:
Generate URL-encoded links to each AI platform with pre-composed prompt:
https://chat.openai.com/?q=[ENCODED_PROMPT]https://claude.ai/new?q=[ENCODED_PROMPT]https://gemini.google.com/?q=[ENCODED_PROMPT]https://grok.com?q=[ENCODED_PROMPT]https://www.perplexity.ai/?q=[ENCODED_PROMPT]Use the appropriate template based on the user's llms.txt decision from the prerequisite step.
Template variables:
${WEBSITE_URL} - The confirmed/normalized domain from prerequisite step${COMPANY_NAME} - The company/site name (ask user if not obvious from codebase)${KEY_ASPECTS} - Customize based on the business type (e.g., "features, pricing, deliverables" for services; "products, shipping, returns" for e-commerce)Please read the structured information at ${WEBSITE_URL}/llms.txt to understand ${COMPANY_NAME}.
As a potential client, I want to concretely understand what I will receive with ${COMPANY_NAME} (${WEBSITE_URL}).
Detail step by step what the service includes: ${KEY_ASPECTS}.
Explain it simply, as if you were describing the real experience of the service.
Please visit and analyze ${WEBSITE_URL} to understand ${COMPANY_NAME}.
As a potential client, I want to concretely understand what I will receive with ${COMPANY_NAME} (${WEBSITE_URL}).
Detail step by step what the service includes: ${KEY_ASPECTS}.
Explain it simply, as if you were describing the real experience of the service.
resources/ to project assets directoryencodeURIComponent() or equivalenttarget="_blank" rel="noopener noreferrer"brightness(0) filter for consistent monochrome appearancellms.txt file follows the emerging standard for AI-readable site documentationContains the official SVG icons for each AI platform:
These icons MUST be copied to the user's project and used directly. Do not substitute with alternatives.
A successful implementation should:
llms.txt file under 100KBresources/ (no substitutes)