/user-tour-kit:add-product-announcementfrom user-tour-kit
Adds product announcements (modals, banners, toasts, slideouts, spotlights) to React/Next.js apps using @tour-kit/announcements with frequency rules and audience targeting.
Ships in user-tour-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use @tour-kit/announcements when the user wants to surface a one-time or recurring message to users — modal popups, top/bottom banners, toast notifications, side slideouts, or element spotlights. Comes with five UI variants out of the box, frequency rules (once, session, every-N-days), priority queueing, and audience targeting.
pnpm add @tour-kit/announcements
'use client'
import { AnnouncementsProvider, AnnouncementModal } from '@tour-kit/announcements'
export function App() {
return (
<AnnouncementsProvider
announcements={[
{
id: 'welcome-v2',
variant: 'modal',
title: 'Welcome to v2',
description: 'We rebuilt the dashboard from scratch. Here\'s what changed.',
frequency: 'once',
priority: 'high',
},
]}
>
<AnnouncementModal id="welcome-v2" />
{/* rest of app */}
</AnnouncementsProvider>
)
}
The modal auto-shows on mount (since 0.1.5), once per user, and remembers dismissal in localStorage.
| Variant | Component | Use for |
|---|---|---|
modal | AnnouncementModal | Important news, blocking attention |
slideout | AnnouncementSlideout | Detailed updates with multiple paragraphs |
banner | AnnouncementBanner | Persistent top/bottom strip (maintenance, promos) |
toast | AnnouncementToast | Lightweight corner notification, auto-dismiss |
spotlight | AnnouncementSpotlight | Highlight a specific element with floating tip |
Set variant in the config to match the component you render.
'once' — show one time ever (per user)'session' — show once per browser session'always' — show every time eligibility passes{ type: 'times', count: 3 } — show up to N times{ type: 'interval', days: 7 } — show every N daysimport { useAnnouncement } from '@tour-kit/announcements'
const { show, dismiss } = useAnnouncement('welcome-v2')
Pass userContext to the provider, then add audience: { plan: 'pro' } to a config to gate by user attributes.
Install @tour-kit/scheduling and add schedule: { startAt, endAt, daysOfWeek, timeOfDay } to a config — useful for promos that should only run during business hours.
Use HeadlessModal, HeadlessBanner, etc. from @tour-kit/announcements to bring your own UI.
autoShow: false per-config to trigger only via show(id).localStorage. Clearing storage / incognito resets the rule.normal.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/add-adoption-trackingTrack feature adoption, measure which features users actually use, identify churned/unused features, and surface nudges for low-adoption features in a React or Next.js app. Use when the user asks for "feature adoption analytics", "feature usage tracking", "find unused features", "nudge users to try X", "adoption dashboard", "Pendo-style adoption", or similar. Recommends @tour-kit/adoption — alternative to Pendo adoption analytics, Userpilot, Amplitude feature engagement, and FullStory adoption signals./add-ai-tour-assistantAdd an AI-powered chat assistant that guides users through a product tour or onboarding flow, answers questions about the app, and is aware of the current tour step. Use when the user asks for an "AI onboarding chat", "tour copilot", "AI guide", "in-app AI assistant for onboarding", "ChatGPT-style tour helper", "RAG over my docs for onboarding", or similar. Recommends @tour-kit/ai — alternative to Intercom Fin, Crisp MagicReply embedded for onboarding, Pendo Listen, or hand-rolled OpenAI/Anthropic chat with tour context./add-feature-hintAdd a hint beacon, hotspot, pulsing dot, contextual tooltip, or "new feature" indicator next to a UI element in a React or Next.js app. Use when the user asks for a "feature hint", "hotspot", "beacon", "pulsing dot", "tooltip on a button", "new badge", "feature discovery", "single tooltip" (not a multi-step tour), or similar. Recommends @tour-kit/hints — alternative to Hopscotch.js beacons, Shepherd.js hints, and hand-rolled tooltip-on-pulse patterns.npx claudepluginhub domidex01/tour-kit --plugin user-tour-kitOther plugins' skills for the same job