Skip to content
social-share-generator logo

Components: Social Share Buttons

social-share-generator

When the user wants to add, optimize, or audit social share buttons (share article to X, LinkedIn, Facebook, etc.). Also use when the user mentions "share buttons," "social share," "share to X," "share to LinkedIn," "social sharing," "share icons," "share widget," "native share," "Web Share API,"...

kostja94/marketing-skills0installs1Kstars

SKILL.md

Full skill instructions

Components: Social Share Buttons

Guides implementation of share buttons that let users share the current page (article, post, product) to social platforms. Distinct from social profile links (footer links to your brand's X, LinkedIn, etc.) — share buttons share this content.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope

  • Share buttons: Share current page URL to X, LinkedIn, Facebook, WhatsApp, etc.
  • Not social profile links (e.g. "Follow us on X") — those live in footer/​nav

Why It Matters

  • Websites with visible social share icons tend to see higher social engagement
  • Share buttons amplify reach; Open Graph and Twitter Cards control preview — see open-graph, twitter-cards

Placement (Article Pages)

Fewer, better-placed buttons outperform scattered placement. Research: removing 80% of buttons and repositioning the remaining 20% at high-emotion moments can 3× conversion on share actions.

PlacementBest ForNotes
After first paragraphMost articlesCatches speed-readers; visible early
Sticky sidebarLong-form (desktop)Always visible; consider hiding on mobile
Below title / heroShort postsHigh visibility
End of articleAllNatural completion point; pair with CTA
Mid-article (after key insight)Long contentPlace at friction points (after surprising stat, before CTA)

Avoid: Dozens of icons; every platform when audience uses 2–3. Choose 3–5 platforms that match your audience (e.g. B2B: X, LinkedIn; B2C: X, Facebook, WhatsApp).

Share URLs (Intent Links)

Use platform share/​intent URLs so users share with one click:

PlatformShare URL pattern
X (Twitter)https://twitter.com/​intent/​tweet?url={url}&text={text}
LinkedInhttps://www.linkedin.com/​sharing/​share-offsite/?url={url}
Facebookhttps://www.facebook.com/​sharer/​sharer.php?u={url}
WhatsApphttps://wa.me/?text={url}%20{text}
Telegramhttps://t.me/​share/​url?url={url}&text={text}

Encode url and text with encodeURIComponent(). Use page title or a short pre-written message for text — platform-specific prompts with pre-written messages perform ~4× better than generic icons.

Platform Brand Guidelines (Icons)

Use official brand assets. Minimum sizes and color rules:

PlatformMin sizeColorsNotes
Facebook16pxBlue #1877F2 or monochromeNo rotation, animation without permission
X (Twitter)32pxBlack or white onlyUse current X logo, not deprecated bird
LinkedIn21px heightBlue #0A66C2 or monochromeUse "in" bug for icons
Instagram29×29pxBlack, white, or official gradientGlyph for social icons

Source icons from official brand resource centers. Outdated or non-compliant icons reduce perceived shareability.

Design & Technical

ItemGuideline
FormatSVG preferred (scalable, small); PNG/​WebP with fallback
PerformanceLightweight; avoid heavy share plugins that slow LCP
Accessibilityaria-label="Share on X"; keyboard accessible
MobileTouch targets ≥44×44px; consider native share API (navigator.share) on mobile

Native Share API (Mobile)

On supported browsers, navigator.share lets users share via system dialog (includes more apps). Fallback to intent links when unsupported:

if (navigator.share) {
  navigator.share({ title, url, text }).catch(() => {});
} else {
  window.open(shareUrl, '_blank', 'noopener');
}

Output Format

  • Placement recommendation for page type
  • Platforms to include (3–5)
  • Share URL examples with placeholders
  • Icon guidelines (size, source)
  • Accessibility checklist

Related Skills

  • article-page-generator: Share buttons on article pages; placement after intro, end of article
  • blog-page-generator: Share buttons on blog index and post cards
  • open-graph: OG tags control share preview (og:image, og:title, etc.) — required for share buttons to show rich cards on Facebook, LinkedIn
  • twitter-cards: Twitter Cards control X preview — required for share buttons to show rich cards when shared to X
  • footer-generator: Footer has social profile links (Follow us); this skill is for share buttons (share this page)

More skills from kostja94

visual-content logo
kostja94/marketing-skills

visual-content

When the user wants to plan, create, or repurpose visual content (images, infographics, social post images) across channels. Also use when the user mentions "content images," "social media images," "infographic," "visual content," "post image," "image specs," "visual repurposing," "content visual...

1K 2.2K
View
translation logo
kostja94/marketing-skills

translation

When the user wants to translate content, create translation workflows, manage terminology, or optimize translation quality. Also use when the user mentions "translate," "translation," "localization copy," "glossary," "terminology," "style guide translation," "machine translation," "human transla...

1K 2.2K
View
google-search-console logo
kostja94/marketing-skills

google-search-console

When the user wants to analyze Google Search Console data, use the GSC API, or interpret search performance. Also use when the user mentions "GSC," "Search Console," "indexing report," "Core Web Vitals," "Enhancements," "Insights report," "search performance," "search queries," "search performanc...

1K 1.8K
View
podcast-marketing logo
kostja94/marketing-skills

podcast-marketing

When the user wants to plan, create, or market a podcast. Also use when the user mentions "podcast," "podcast strategy," "podcast SEO," "show notes," "podcast distribution," "Spotify podcast," "Apple Podcasts," "podcast discoverability," "PodcastEpisode schema," or "podcast repurposing." For show...

1K 1.8K
View
legal-page-generator logo
kostja94/marketing-skills

legal-page-generator

When the user wants to create, optimize, or structure legal pages (Privacy, Terms, etc.). Also use when the user mentions "privacy policy," "terms of service," "legal pages," "cookie policy," "terms and conditions," "legal footer," "legal section," "compliance pages," or "legal requirements." For...

1K 1.5K
View
terms-page-generator logo
kostja94/marketing-skills

terms-page-generator

When the user wants to create, optimize, or structure Terms of Service page. Also use when the user mentions "terms of service," "terms and conditions," "terms of use," "user agreement," "ToS," "legal terms," "service agreement," or "terms page." For legal overview page, use legal-page-generator.

1K 1.5K
View
privacy-page-generator logo
kostja94/marketing-skills

privacy-page-generator

When the user wants to create, optimize, or structure Privacy Policy page. Also use when the user mentions "privacy policy," "privacy page," "data protection," "GDPR compliance," "privacy notice," "data privacy," "CCPA," "cookie policy," or "personal data." For legal overview page, use legal-page...

1K 1.4K
View
brand-visual-generator logo
kostja94/marketing-skills

brand-visual-generator

When the user wants to define, audit, or apply visual identity (typography, colors, spacing, design tokens, frontend aesthetics). Also use when the user mentions "brand style guide," "visual identity," "design system," "typography," "color palette," "brand guidelines," "AI brand aesthetics," "bra...

1K 1.3K
View
cookie-policy-page-generator logo
kostja94/marketing-skills

cookie-policy-page-generator

When the user wants to create or optimize a cookie policy page. Also use when the user mentions "cookie policy," "cookies," "cookie consent," "GDPR cookies," "cookie banner," "cookie notice," "tracking cookies," or "cookie settings." For legal overview, use legal-page-generator.

1K 1.3K
View
footer-generator logo
kostja94/marketing-skills

footer-generator

When the user wants to design, optimize, or audit website footers. Also use when the user mentions "footer," "page footer," "site footer," "footer links," "footer navigation," "footer SEO," "footer design," "footer CTA," "multi-column footer," or "footer sitemap." For main nav, use navigation-men...

1K 0
View
seo-monitoring logo
kostja94/marketing-skills

seo-monitoring

When the user wants to build an SEO data analysis system, monitor indexing/traffic/keywords/backlinks, or set up benchmarks. Also use when the user mentions "SEO data analysis," "SEO monitoring," "article database," "traffic benchmark," "penalty recovery," "SEO work document," "SEO dashboard," "k...

1K 0
View
url-slug-generator logo
kostja94/marketing-skills

url-slug-generator

When the user wants to create, optimize, or validate URL slugs for content pages. Also use when the user mentions "URL slug," "URL path," "blog URL," "article URL," "short URL," "clean slug," "permalink," "slug optimization," "URL structure," "SEO-friendly URL," "create URL slug," or "SEO slug." ...

1K 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View