Web & Frontendlow risk

login-flow

Mobile login and authentication flow screens

nexu-io/open-design·skills/login-flow/SKILL.md
58/ 100推薦值

匯入這個 Skill

選擇你的 coding agent,複製專案級或個人級安裝指令。

固定至平台收錄的 commit
匯入目前專案.agents/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a codex -y
匯入個人環境~/.agents/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a codex -g -y
手動放置目錄.agents/skills/login-flowOfficial docs ↗
匯入目前專案.claude/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a claude-code -y
匯入個人環境~/.claude/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a claude-code -g -y
手動放置目錄.claude/skills/login-flowOfficial docs ↗
匯入目前專案.agents/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a github-copilot -y
匯入個人環境~/.copilot/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a github-copilot -g -y
手動放置目錄.agents/skills/login-flowOfficial docs ↗
匯入目前專案.agents/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a cursor -y
匯入個人環境~/.cursor/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a cursor -g -y
手動放置目錄.agents/skills/login-flowOfficial docs ↗
匯入目前專案.agents/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a gemini-cli -y
匯入個人環境~/.gemini/skills/login-flow
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/skills/login-flow -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/nexu-io/open-design.git --scope workspace --path skills/login-flow
手動放置目錄.agents/skills/login-flowOfficial docs ↗
⚠ 安裝指令使用開源 skills CLI。執行前請檢查來源、腳本與權限。
# 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