login-flow — Claude Code skill for mobile login screens
Builds a standalone HTML prototype for a mobile app sign-in flow. Use it to shape phone, password, or social login screens with loading and error states.
npx skills add nexu-io/open-design --skill login-flow -a claude-codeWhat login-flow does
The skill asks which sign-in method the screen needs: phone with SMS verification, a password, or social SSO. It reads references/checklist.md, checks required items, then creates a standalone HTML file with loading and error states.
The form uses labels above inputs, a password visibility toggle, SVG icons on SSO buttons, and a loading spinner in the primary action. Phone fields use tel; password fields use password. The prototype targets a 375px-wide viewport, accounts for device safe areas, and avoids horizontal scrolling.
What it helps with
- Build a mobile phone sign-in screen with SMS verification
- Add password entry with a visibility toggle
- Show loading and error states in an authentication form
- Create social SSO buttons for a login prototype
Example prompts for the agent
- Build a mobile sign-in screen with phone number and SMS verification.
- Create a password login screen with a show and hide control.
- Make an authentication prototype with social SSO buttons.
How to install login-flow
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill login-flow -a claude-code2Manually: put the files in place
~/.claude/skills/login-flow/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/login-flow/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill login-flow -a codex2Manually: put the files in place
.agents/skills/login-flow/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill login-flow -a cursor2Manually: put the files in place
.cursor/skills/login-flow/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install nexu-io/open-design login-flow2Manually: put the files in place
.github/skills/login-flow/SKILL.md1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill login-flow -a gemini-cli2Platform CLI
gemini skills install https://github.com/nexu-io/open-design --path skills/login-flowManually: put the files in place
.devin/skills/login-flow/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill login-flow -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set106
The whole set →Similar
Questions about login-flow
How do I install login-flow in Claude Code?
Run npx skills add nexu-io/open-design --skill login-flow -a claude-code. The installed file path is ~/.claude/skills/login-flow/SKILL.md.
What does login-flow do?
It creates a standalone HTML prototype for a mobile sign-in screen. The flow can use SMS, a password, or social SSO, with loading and error states.
Which checklist does login-flow use?
Before building the prototype, the skill reads references/checklist.md and checks its required criteria.
Source text
SKILL.md · Apache-2.0
--- name: login-flow description: Mobile login and authentication flow screens od: mode: prototype platform: mobile triggers: - login - sign in - 注册登录 - 登录注册 - 手机号登录 - 验证码登录 - 密码登录 --- # Login Flow Skill A skill for generating mobile-first login and authentication screens. Use this when the user wants a sign-in experience for a mobile app, including phone + SMS verification, password-based login, and social SSO options. ## Workflow 1. **Read reference files first** (see below) 2. **Clarify auth method**: phone/SMS, password, or social SSO 3. **Checklist gate** — verify P0 items before emitting `<artifact>` 4. **Build the HTML prototype** with proper states (default, loading, error) 5. **Wrap in `<artifact>` tag** referencing the output file ## Side Files - `references/checklist.md` — P0/P1 acceptance criteria ## Output A single standalone HTML file implementing the login screen with: - Labels above inputs (never placeholder-only) - Password field with show/hide toggle - Social SSO buttons with SVG icons - Error states below fields - Loading spinner in primary CTA - Touch targets minimum 44px ## Mobile-First Constraints - Viewport: 375px wide (iPhone standard) - No horizontal scroll - Safe area insets for notched devices - Input keyboards: `tel` for phone, `password` for password fields
© nexu-io · Apache-2.0 · nexu-io/open-design