Agent skill
ios-input-hints
Ensure iOS/iPadOS-friendly form inputs (keyboard type, inputmode, autocomplete, autocapitalize/autocorrect, enterkeyhint) when editing or reviewing UI forms in web apps. Use when adding or modifying form fields (Svelte/HTML/TSX/etc.), auditing form UX, or fixing mobile Safari keyboard issues.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/ios-input-hints
SKILL.md
iOS Input Hints
Overview
Use this skill when working on UI forms to make input fields trigger the correct iOS/iPadOS keyboard and behavior without changing layout.
Workflow
- Identify every input/textarea/select in the target form(s).
- For each field, choose the correct semantic
typeandinputmodebased on expected data. - Add or validate
autocomplete,autocapitalize,autocorrect, andenterkeyhintwhere helpful and safe. - Keep visual structure untouched; only adjust attributes.
Keyboard Mapping (quick rules)
- Numbers (integer):
type="number"+inputmode="numeric". - Numbers (decimal):
type="number"+inputmode="decimal". - Free text:
type="text"(noinputmodeunless a specialized keyboard is desired). - Email:
type="email"(email keyboard) +autocomplete="email". - URL:
type="url"+autocomplete="url". - Phone:
type="tel"+autocomplete="tel". - Search:
type="search"+enterkeyhint="search".
Meta Behaviors
- Autocomplete: Use the most specific token possible (e.g.,
given-name,family-name,current-password,new-password,username). - Autocapitalize/autocorrect: Disable for codes, IDs, URLs, emails, and handles; allow for freeform text.
- Enter key: Use
enterkeyhintto match intent (next,done,search,send). - Do not reshape UI: Only adjust attributes; no styling or layout changes.
References
- See
references/ios-input-hints.mdfor detailed attribute guidance and examples.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?