auth-implementation-patterns
Skill1 starsChanged 25 days agoMITView on GitHub
Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.
15 other projects use a version of this, 8 of them edited.
Adopted by
Most recently taken up by
- kitloomlk-stack/nextjs-supabase-kitedited, first seen Oct 15, 2026
- kitloomlk-stack/code-review-security-kitedited, first seen Oct 15, 2026
- xfstudio/skillsword for word, first seen Oct 13, 2026
- Samueladewole/claude-skillstheir own version, first seen Oct 13, 2026
- enes9103/my-claude-agents-skillsedited, first seen Sep 28, 2026
- roshankodi/agent-skillsedited, first seen Sep 22, 2026
Used with
Projects with it also use ai-agents-architect, sql-optimization-patterns and 10 more.
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.
xfstudioSkillai-agents-architect
Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration. Use when: build agent, AI agent, autonomous agent, tool use, function calling.
Also in 3 projects that use this
AJBcodingSkillsql-optimization-patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Also in 4 projects that use this
xfstudioSkillgit-advanced-workflows
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
Also in 3 projects that use this
xenitV1Skillnextjs-best-practices
Next.js App Router principles. Server Components, data fetching, routing patterns.
Also in 3 projects that use this
- +8 more from xfstudio
Other versions15 projects use a version of this.
Word for word · 2
- xfstudio/skills★ 9100% same
- ai4brands-design/claude-skills★ 2100% same
Edited · 8
- Fandry96/k3-agentic-skills★ 2789% same
- roshankodi/agent-skills★ 218% same
- lschGSL/claude_code_template★ 189% same
- enes9103/my-claude-agents-skills★ 018% same
- kitloomlk-stack/code-review-security-kit★ 018% same
- kitloomlk-stack/nextjs-supabase-kit★ 018% same
- lamxy/agent-skill-web★ 018% same
- TheHiddenDeveloper/jarvis-skills★ 070% same
Wrote their own version · 5
- nilecui/SkillsBase★ 27same name
- HK-hub/AgentSkills★ 6same name
- CodeWithBehnam/cc-docs★ 2same name
- ralphjohn29/my-claude-skills★ 1same name
- Samueladewole/claude-skills★ 0same name
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 repository31 other files it gives its agents.
- skills/react-best-practices/AGENTS.mdAGENTS.md
- antigravity-skills-managerSkill
- api-design-principlesSkill
- claude-apiSkill
- code-simplificationSkill
- context-optimizationSkill
- debugging-and-error-recoverySkill
- deployment-engineerSkill
- docxSkill
- doubt-driven-developmentSkill
- excalidraw-studioSkill
- frontend-designSkill
- gh-fix-ciSkill
- git-workflowSkill
- interview-meSkill
- mcp-builderSkill
- not-your-babysitterSkill
- pdfSkill
- pptxSkill
- react-best-practicesSkill
- security-auditSkill
- shadcnSkill
- antigravity-skills-managerSkill
- source-driven-developmentSkill
- tactical-dddSkill
- the-foolSkill
- token-optimizerSkill
- unit-testing-test-generateSkill
- webapp-testingSkill
- web-artifacts-builderSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
If detailed examples are required, open resources/implementation-playbook.md.
- Distinctive: line 34
Never log secrets, tokens, or credentials.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Authentication & Authorization Implementation Patterns
Build secure, scalable authentication and authorization systems using industry-standard patterns and modern best practices.
Use this skill when
- Implementing user authentication systems
- Securing REST or GraphQL APIs
- Adding OAuth2/social login or SSO
- Designing session management or RBAC
- Debugging authentication or authorization issues
Do not use this skill when
- You only need UI copy or login page styling
- The task is infrastructure-only without identity concerns
- You cannot change auth policies or credential storage
Instructions
- Define users, tenants, flows, and threat model constraints.
- Choose auth strategy (session, JWT, OIDC) and token lifecycle.
- Design authorization model and policy enforcement points.
- Plan secrets storage, rotation, logging, and audit requirements.
- If detailed examples are required, open
resources/implementation-playbook.md.
Safety
- Never log secrets, tokens, or credentials.
- Enforce least privilege and secure storage for keys.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
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.

