跳到正文
Skillpedia
界面(UI/UX)101k · #1198

login-flow

它能做什么

这个工具用于创建移动应用的登录界面。它可以生成多种登录方式,比如短信验证码登录、密码登录,或第三方账号登录(如 Google、Facebook 等)。

适用场景

  • ✓需要为新的移动应用设计入口界面时。
  • ✓应用需要通过短信验证用户手机号时。
  • ✓想利用现有账号(如 Google、Facebook)添加快捷登录选项时。

技能链接

https://github.com/nexu-io/open-design/blob/main/skills/login-flow/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/skills/login-flow/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为我的应用创建一个登录界面,支持手机号加短信验证码登录,并带有一个 Google 登录按钮。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会先检查基本需求,然后询问你偏好哪种登录方式(短信、密码或第三方账号)。最后,它会生成该界面的 HTML 代码,包括错误状态和加载状态。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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
常见问题

登录界面上的“状态”是什么?

指界面可能呈现的不同样式,比如正常状态、验证密码时的加载状态,或出错时的错误状态。

“mobile-first”是什么意思?

意思是界面主要以手机端的使用体验为优先进行设计,标准屏幕宽度为 375 像素,确保内容不会被截断,也无需横向滚动。

什么是“touch targets”?

指界面上可点击的区域,比如按钮和输入框。44px 的“touch targets”能确保你用手指在手机屏幕上轻松点击。

详情

作者的原始描述

Mobile login and authentication flow screens

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1198
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能