From 2c46d74066c671b18cce04db551d65276f59d0a1 Mon Sep 17 00:00:00 2001 From: ingyukoh Date: Wed, 25 Mar 2026 15:21:44 +0900 Subject: [PATCH] fix: clarify WhatsApp phone number prompt to prevent auth failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The example "1234567890" was ambiguous — users couldn't tell where the country code ended and the number began, and some included a leading "+" which caused pairing to fail. Use a realistic US example (14155551234) and explicit formatting rules in both the prompt and troubleshooting. Closes #447 --- .claude/skills/add-whatsapp/SKILL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.claude/skills/add-whatsapp/SKILL.md b/.claude/skills/add-whatsapp/SKILL.md index 0774799..cbdf00b 100644 --- a/.claude/skills/add-whatsapp/SKILL.md +++ b/.claude/skills/add-whatsapp/SKILL.md @@ -40,7 +40,7 @@ Otherwise (macOS, desktop Linux, or WSL) → AskUserQuestion: How do you want to If they chose pairing code: -AskUserQuestion: What is your phone number? (Include country code without +, e.g., 1234567890) +AskUserQuestion: What is your phone number? (Digits only — country code followed by your 10-digit number, no + prefix, spaces, or dashes. Example: 14155551234 where 1 is the US country code and 4155551234 is the phone number.) ## Phase 2: Apply Code Changes @@ -308,7 +308,7 @@ rm -rf store/auth/ && npx tsx src/whatsapp-auth.ts --pairing-code --phone