Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

social-proof-widgets社会证明小部件

Agent Skill

social-proof-widgets 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

465

周安装

19

GitHub Stars

19

下载量

150
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:social-proof-widgets(社会证明小部件)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/social-proof-widgets
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill social-proof-widgets
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill social-proof-widgets

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于社会证明组件设计、用户反馈展示或转化优化研究等场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否涉及联网或文件操作。
  • social-proof-widgets 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Social Proof Widgets

Overview

Social proof widgets — recent purchase notifications, visitor counts, review badges, and low-stock indicators — reduce purchase anxiety and increase conversion rates by 10–30% on product pages. For Shopify and WooCommerce, dedicated apps (Fomo, TrustPulse, ProveSource) install these widgets without code. Building custom widgets is only necessary for headless stores with specific design requirements.

When to Use This Skill

  • When product pages have good traffic but low conversion rates
  • When launching a new product that lacks reviews and needs other trust signals
  • When testing whether social proof elements meaningfully impact CVR (A/B test required)
  • When wanting to add real-time purchase notifications
  • When building a low-stock urgency display based on actual inventory data

Core Instructions

Step 1: Choose the right social proof tool

PlatformBest ForShopifyWooCommerceBigCommercePrice
FomoReal-time purchase notificationsApp StorePluginVia JS$19+/mo
TrustPulseRecent purchases + live visitor countPluginVia JS$5+/mo
ProveSourceAll platforms, highly customizableApp StoreVia JSVia JSFree tier; $20+/mo
Judge.meReview count badge + verified buyer badgeApp StorePluginApp MarketplaceFree tier; $15/mo
CustomHeadless stores, specific design needsVia APIVia APIVia APIDev cost

Recommendation: Use Fomo for Shopify (best purchase notifications) and TrustPulse for WooCommerce. For review badges, use your existing review platform (Judge.me, Yotpo) — they include star rating badges automatically.

Step 2: Set up social proof widgets


Shopify with Fomo

  1. Install Fomo from the Shopify App Store
  2. Go to Fomo → Events → Shopify Orders — Fomo automatically imports recent orders from your store
  3. Configure the notification template:

- Display: first name and city (e.g., "Sarah from Chicago just purchased…") - Show the product name and image - Display within the last 48 hours

  1. Go to Fomo → Design to customize the position and style of the notification toast (bottom-left by default)
  2. Go to Fomo → Rules and set:

- Show only on product pages (URL contains /products/) - Hide on cart and checkout pages - Minimum 3 notifications to show before displaying the widget (prevents showing a widget with only 1 event)

  1. Go to Fomo → A/B Testing to split-test the widget against a control group — always measure lift before enabling sitewide

WooCommerce with TrustPulse

  1. Install TrustPulse from the WordPress plugin directory
  2. Go to TrustPulse → Create Campaign and select Recent Activity
  3. Configure:

- Data source: WooCommerce Recent Orders - Display: customer name, city, product purchased - Show: orders from the last 7 days

  1. Set targeting rules: show only on product and shop pages; exclude checkout
  2. For the visitor count widget, create a second On Fire campaign: "X people looking at this right now" — set a minimum visitor threshold of 5 before displaying

BigCommerce with ProveSource

  1. Sign up for ProveSource and add the JavaScript snippet to your store via Storefront → Script Manager
  2. Connect your BigCommerce store to ProveSource via the integration settings
  3. Configure recent purchase notifications and visitor count widgets from the ProveSource dashboard

Custom / Headless

For headless stores, build a social proof API and client widget:

// GET /api/products/:id/social-proof
// Returns real data only — never fabricate counts
export async function getProductSocialProof(req: Request, res: Response) {
  const productId = req.params.id;

  const [recentOrders, reviewSummary, stockLevel] = await Promise.all([
    db.orderLineItems.findAll({
      where: { productId, createdAt: { gte: subHours(new Date(), 48) } },
      include: ['order.shippingAddress'],
      limit: 10,
    }),
    db.productReviews.aggregate(productId),
    db.productVariants.findMinStock(productId),
  ]);

  // Anonymize PII — first name and city only
  const recentPurchases = recentOrders.map(item => ({
    firstName: item.order.shippingAddress.firstName,
    location: `${item.order.shippingAddress.city}, ${item.order.shippingAddress.stateCode}`,
    timeAgo: formatTimeAgo(item.createdAt),
    productName: item.productName,
  }));

  return res.json({
    recentPurchases,
    reviews: { average: reviewSummary.avgRating, total: reviewSummary.total },
    stockLevel: {
      isLow: stockLevel > 0 && stockLevel <= 5,
      quantity: stockLevel,
      isSoldOut: stockLevel === 0,
    },
  });
}

Client-side purchase notification toast — using DOM methods to prevent XSS:

class SocialProofToast {
  private queue: Array<{ firstName: string; location: string; productName: string; timeAgo: string }> = [];
  private isShowing = false;

  async init(productId: string) {
    const response = await fetch(`/api/products/${productId}/social-proof`);
    const data = await response.json();
    this.queue = data.recentPurchases.slice(0, 5);
    this.showNext();
  }

  private showNext() {
    if (this.queue.length === 0 || this.isShowing) return;
    const purchase = this.queue.shift()!;
    this.isShowing = true;

    const toast = document.createElement('div');
    toast.className = 'sp-toast';

    const strong = document.createElement('strong');
    strong.textContent = `${purchase.firstName} from ${purchase.location}`; // textContent prevents XSS

    const span = document.createElement('span');
    span.textContent = ` purchased ${purchase.productName}`;

    const time = document.createElement('time');
    time.textContent = purchase.timeAgo;

    toast.appendChild(strong);
    toast.appendChild(span);
    toast.appendChild(time);
    document.body.appendChild(toast);

    setTimeout(() => {
      toast.remove();
      this.isShowing = false;
      setTimeout(() => this.showNext(), 8000); // 8-second gap between toasts
    }, 5000);
  }
}

Step 3: Add low-stock urgency indicators

Low-stock messaging ("Only 3 left!") drives urgency effectively — but only show real inventory counts. Fake urgency destroys trust when customers notice it.

In Shopify: Install Urgency Bear or Hurrify from the Shopify App Store — they read your actual Shopify inventory and display "Only X left" messages on product pages.

In WooCommerce: Enable WooCommerce's built-in low-stock display:

  1. Go to WooCommerce → Settings → Products → Inventory
  2. Enable Show stock management at product level
  3. Enable Enable low stock threshold and set to 5
  4. WooCommerce automatically shows "Only 3 in stock" on product pages when inventory falls below the threshold

Custom thresholds: Use CSS to style the low-stock message based on quantity levels.

Step 4: A/B test social proof impact

Always test before deploying sitewide. Both Fomo and TrustPulse have built-in A/B testing.

For manual A/B testing:

  1. Enable the widget for 50% of visitors using your platform's experimentation tool
  2. Measure for at least 2 weeks and 200+ conversions per group
  3. Compare conversion rate, AOV, and revenue per visitor between the groups
  4. Only keep the widget if it shows statistically significant lift (p < 0.05)

Best Practices

  • Only show real data — fabricated purchase counts or invented visitor numbers erode trust when discovered; use a minimum threshold (5+ events) before showing any widget
  • Anonymize purchase notifications — show first name and city only; never include order IDs, full names, or email addresses
  • Load social proof asynchronously — fetch after page load using requestIdleCallback; never block the critical render path
  • Hide the widget on cart and checkout pages — showing purchase notifications during checkout distracts from conversion; disable on these pages
  • Cap notification frequency — show a maximum of 3 toasts per page session with 8+ second gaps between them
  • Use textContent for all customer-derived data — prevents XSS vulnerabilities; never use innerHTML with customer names or locations

Common Pitfalls

ProblemSolution
Toast notifications feel spammyLimit to 3 per session; add 8-second gaps; hide on cart/checkout
Widget hurts conversion (A/B test shows negative lift)Disable immediately; test with different placement, copy, or timing before abandoning
Review badge not appearing in Google search resultsEnsure AggregateRating schema is server-rendered (not just client-side JS); verify with Google Rich Results Test
Low-stock indicator showing wrong quantitySubscribe to inventory change webhooks rather than polling; stale data creates false urgency
Social proof widget slowing page loadLoad all social proof widgets asynchronously after page interactive; use requestIdleCallback or setTimeout(fn, 0)

Related Skills

  • @review-generation-engine
  • @conversion-rate-optimization
  • @exit-intent-popups
  • @ugc-campaign-management
  • @ab-testing-ecommerce

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.69%
按下载量换算58

Claude

29.14%
按下载量换算44

Cursor

20.36%
按下载量换算31

Gemini CLI

9.02%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills