Captures email addresses for the premium features waitlist. Used during pre-launch to collect interested users. Do NOT use directly - invoked when user selects 'Get notified at launch' option.
/plugin marketplace add jrc1883/popkit-claude/plugin install popkit@popkit-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Collects email addresses from users interested in premium features during pre-launch phase. Simple, non-intrusive flow that captures email right in the console.
Core principle: Make it incredibly easy to stay updated. No external forms, no browser redirects - just type your email and done.
Trigger: Called when user selects "Get notified at launch" from premium feature prompt.
| Argument | Description |
|---|---|
feature_name | The premium feature they're interested in |
required_tier | Tier that will be required (pro, team) |
## š Coming Soon: {feature_name}
This premium feature is launching soon and will be available in the **{required_tier}** tier.
We'll send you one email when premium features launch - no spam, just a heads up when it's ready.
Use AskUserQuestion for email input:
Use AskUserQuestion tool with:
- question: "Enter your email to get notified at launch:"
- header: "Email"
- options:
- label: "Enter email address"
description: "We'll notify you when premium features launch"
- label: "Skip"
description: "Continue without signing up"
- multiSelect: false
If user enters email (didn't select "Skip"):
Validate email format:
import re
email = user_input.strip()
email_pattern = r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$'
if not re.match(email_pattern, email):
print("ā ļø Invalid email format. Please try again.")
# Show prompt again
Send to waitlist API:
# Use the premium_checker utility
python3 packages/plugin/hooks/utils/premium_checker.py waitlist "{email}" "{feature_name}"
If successful:
ā
**Thanks for signing up!**
We'll email you at **{email}** when premium features launch.
You can continue using PopKit's free tier in the meantime.
If failed (network error, etc.):
ā ļø **Couldn't save your email right now.**
Try again later, or email us directly at:
**premium@popkit.dev**
We'll make sure you're on the list!
After signup (success or failure), return control to user without further prompting.
The skill should mention:
User tries: /popkit:project generate (requires Pro)
Hook detects: Pre-launch mode, user is free tier
Upgrade prompt shows:
š Coming Soon: Custom MCP Server Generation
This premium feature is launching soon. What would you like to do?
[1] Continue with free tier - Basic project analysis available (no custom MCP)
[2] Get notified at launch - Enter your email to stay updated
[3] Cancel - Return without using this feature
User selects: [2] Get notified at launch
This skill runs:
Enter your email to get notified at launch:
> user@example.com
ā
Thanks for signing up!
We'll email you at user@example.com when premium features launch.
hooks/utils/premium_checker.py - Waitlist API integrationpop-upgrade-prompt - Full upgrade flow (when billing is live)/popkit:account - Account managementThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.