sickn33 avatar

Auth Implementation Patterns

This one helps you implement auth systems without reinventing the wheel or copy-pasting half-baked examples from Stack Overflow. It walks you through choosing between session-based, JWT, or OIDC flows, designing RBAC models, and planning the stuff people forget like token rotation and audit logs. The implementation playbook resource has detailed patterns you can actually use. It's opinionated about threat modeling and secrets handling, which is exactly what you want when dealing with credentials. Good fit if you're building login systems, adding OAuth, or securing APIs. Skip it if you're just styling a form or can't touch how credentials are stored.

skills.sh installs
418
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill auth-implementation-patterns --agent claude-code

Installs into .claude/skills of the current project.

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.md for detailed patterns and examples.

Worked example

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Backend & APIs
First seen
Jun 3, 2026

More from sickn33/antigravity-awesome-skills

All 708
1davila7 avataropenalex-databasedavila7/claude-code-templatesQuery and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, fin416skills.sh installs
2secondsky avatarapi-changelog-versioningsecondsky/claude-skillsCreates comprehensive API changelogs documenting breaking changes, deprecations, and migration strategies for API consumers. Use when managing API versions, com415skills.sh installs
3secondsky avatarapi-versioning-strategysecondsky/claude-skillsImplements API versioning using URL paths, headers, or query parameters with backward compatibility and deprecation strategies. Use when managing multiple API v410skills.sh installs
4patricio0312rev avatarapi-docs-generatorpatricio0312rev/skillsGenerates API documentation using OpenAPI/Swagger specifications with interactive documentation, code examples, and SDK generation. Use when users request "API 407skills.sh installs
5martinholovsky avatarweb-audio-apimartinholovsky/claude-skills-generatorWeb Audio API for JARVIS audio feedback and voice processing406skills.sh installs
6tivojn avatargoogle-maps-apitivojn/google-maps-api-skillComplete Google Maps Platform API client - 20+ APIs including geocoding, routes, places, weather, air quality, pollen, solar, elevation, timezone, address valid403skills.sh installs