auth
Skill4 starsChanged 4 months agoMITView on GitHub
Use when the user is adding, choosing, or reworking how people sign in to their app — "add authentication", "add login", "add sign in with Google", "let users create accounts", "add SSO", "my team shouldn't need a separate login", "should I use email or Google", "use my own Google credentials", "add password reset", "which auth should I pick". Covers deciding whether the app needs its own login at all, choosing between email, Google, enterprise SSO and reusing the workspace identity, and setting up the chosen method. Not for enforcing access once someone is signed in — roles, permissions and server-side checks belong to the secure skill.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- crbnos/carbontheir own version, first seen Oct 4, 2026
- vercel-labs/hatcherytheir own version, first seen Sep 25, 2026
- microsoft/apmtheir own version, first seen Sep 16, 2026
- blyatiful1/ultrawebtheir own version, first seen Sep 2, 2026
- zyphr-labs/bounty-harnesstheir own version, first seen Aug 26, 2026
- SpiderIQ/skillstheir own version, first seen Aug 20, 2026
Used with
Projects with it also use deploy.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- openai/plugins★ 7.3ksame name
- microsoft/apm★ 3.9ksame name
- crbnos/carbon★ 2.7ksame name
- vercel/vercel-plugin★ 297same name
- maxwell2732/claudecode-research-harness-workflow★ 40same name
- lightpointventures/claude-code-starter★ 36same name
- YepAPI/skills★ 8same name
- vercel-labs/hatchery★ 7same name
- MartinOlivero/saas-builder★ 4same name
- amajorai/skills★ 3same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- analyzeSkill
- emailsSkill
- knowledgeSkill
- mcpSkill
- paymentsSkill
- planSkill
- testSkill
- lovable-codebase-audit-cleanupSkill
- deploy-externalSkill
- shipSkill
- art-directionSkill
- responsiveSkill
- secureSkill
- skill-name-in-kebab-caseSkill
- debugSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
If so, which method fits the people who will use it?
- Distinctive: line 21
If the audience is anyone outside the workspace, the app needs its own auth.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Auth
Two questions, in this order, and getting the first one wrong is the expensive mistake.
- Does this app need its own login at all?
- If so, which method fits the people who will use it?
Most auth work that gets built and thrown away is a login system for an audience that was already signed in somewhere.
First: does it need one?
If everyone who uses this app is already in your Lovable workspace, it may not need a login. Workspace identity reuse lets the app recognise the signed-in workspace member — name, email, and user id — with no login page and no second account. It works regardless of how they sign in to Lovable, and does not require workspace SSO.
Building a login for an internal tool means your teammates sign in twice and you maintain an account system for people you already have accounts for. Ask who will actually use this before designing anything.
If the audience is anyone outside the workspace, the app needs its own auth. Continue below.
Three features that sound the same
These get confused constantly, and picking the wrong one produces weeks of work solving the wrong problem.
| Feature | Controls | Affects |
| Workspace identity reuse | Whether the apps you build can recognise a workspace member who is already signed in to Lovable | Your team, using apps your team builds |
| Workspace SSO | How your team signs in to Lovable itself | Your team, signing in to Lovable |
| SAML SSO for Cloud apps | How outside end users of a published app sign in with their own company credentials | Your app's external users |
The distinction that keeps them apart: identity settings decide how people get into Lovable; identity reuse decides what your apps can know about people who are already in; SAML SSO for Cloud apps is about your app's own users, not yours.
None requires another. Identity reuse works whether the team signs in to Lovable with SSO, Google, or email.
Route the choice
| The situation | Playbook |
| Internal tool for workspace members only | reference/choosing.md |
| Public app, consumer users | reference/choosing.md |
| Business customers with their own identity provider | reference/choosing.md |
| Setting up Google sign-in | reference/google.md |
| Managed credentials versus your own | reference/google.md |
| Email and password, sessions, password reset | reference/email.md |
| Enterprise SSO for your app's customers | reference/saml.md |
The rules
Choose the method from the audience, not from the tech. Consumers expect social login. Business buyers ask for SSO. Your own team already has an identity. Building the wrong one is not a small correction — it changes the data model, the session handling, and the onboarding flow.
Signing in is not permission. Everything in this skill establishes who someone is. What they are then allowed to do is a separate question, enforced server-side on every request, and it belongs to the secure skill. An app with perfect Google sign-in and client-side role checks is wide open.
Add auth before payments. A purchase that cannot be attached to an account is a purchase you cannot honour. If both are planned, this one comes first.
Do not build a second identity system alongside an existing one. Two sources of truth about who a user is produces bugs that look like data problems and are actually identity problems. If the app already has auth, extend it rather than adding a parallel path.
Verify
Auth is verified by trying to get in wrongly, not by signing in successfully. At minimum: sign-up, sign-in, sign-out, password reset with a fresh account, session persistence across a reload, and expiry behaviour. Then the secure skill's checks, which cover what a signed-in user can reach.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

