engremran07/gsmvault/alp-mask-phone

Claude Code and agent skill by engremran07/gsmvault

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Phone number masking. Use when: formatting phone input fields, auto-formatting international phone numbers, masking mobile number entry.

Install

npx vskill@latest install engremran07/gsmvault/alp-mask-phone

SKILL.md

The same SKILL.md was published earlier as engremran07/gsmvault/alp-mask-phone.

Alpine Phone Number Masking

When to Use

  • Phone number input fields in registration, profile, contact forms
  • Auto-formatting as user types (parentheses, dashes, spaces)
  • Supporting international format variations

Patterns

US Phone Format
html
<input x-data x-mask="(999) 999-9999" type="tel"
placeholder="(555) 123-4567"
class="w-full px-3 py-2 rounded border border-[var(--color-border)] bg-[var(--color-input)]">
International with Country Code
html
<input x-data x-mask="+99 999 999 9999" type="tel"
placeholder="+1 555 123 4567"
class="w-full px-3 py-2 rounded border border-[var(--color-border)]">
Dynamic Mask Based on Country
html
<div x-data="{ country: 'US' }">
<select x-model="country" class="px-3 py-2 rounded border border-[var(--color-border)]">
<option value="US">US (+1)</option>
<option value="UK">UK (+44)</option>
<option value="DE">DE (+49)</option>
</select>
<input x-mask:dynamic="
country === 'US' ? '(999) 999-9999' :
country === 'UK' ? '+44 9999 999 999' :
'+49 999 9999999'
" type="tel" placeholder="Phone number"
class="w-full px-3 py-2 rounded border border-[var(--color-border)]">
</div>
Phone with Validation Feedback
html
<div x-data="{ phone: '', get isValid() { return this.phone.replace(/\D/g, '').length >= 10; } }">
<div class="relative">
<input x-model="phone" x-mask="(999) 999-9999" type="tel"
placeholder="(555) 123-4567"
:class="{ 'border-green-500': isValid, 'border-[var(--color-border)]': !isValid }"
class="w-full px-3 py-2 rounded border bg-[var(--color-input)]">
<span x-show="isValid" x-cloak class="absolute right-3 top-2.5 text-green-500">✓</span>
</div>
<p x-show="phone.length > 0 && !isValid" x-cloak class="text-sm text-red-500 mt-1">
Enter a complete phone number
</p>
</div>

Anti-Patterns

PatternProblemFix
Single mask for all countriesRejects valid international numbersUse dynamic mask per country
Storing formatted value server-sideInconsistent dataStrip formatting before saving
No type="tel"Mobile doesn't show numpad keyboardAlways use type="tel"

Red Flags

  • Phone mask without server-side validation
  • Formatted phone number stored in database instead of digits-only
  • Missing type="tel" attribute on phone inputs

Quality Gate

powershell
& .\.venv\Scripts\python.exe -m ruff check . --fix
& .\.venv\Scripts\python.exe -m ruff format .
& .\.venv\Scripts\python.exe manage.py check --settings=app.settings_dev

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/engremran07/gsmvault/alp-mask-phone/badge)](https://verified-skill.com/skills/engremran07/gsmvault/alp-mask-phone)

Something wrong with this skill or its page? Tell us.