Agent skill
web-auth-integrator
Integrate authentication and authorization flows with provider-specific setup and RBAC safeguards.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/web-auth-integrator
Metadata
Additional technical details for this skill
- stage
- 5-auth
- category
- web-builder
- pipeline
- web-builder
SKILL.md
Web Auth Integrator
Objective
Implement authentication and authorization end-to-end based on
project-config.json.
Required Workflow
- Read
project-config.jsonand determine auth provider. - For Clerk:
- install
@clerk/nextjsor@clerk/clerk-react - wrap app with
ClerkProvider - protect routes with auth middleware
- configure Clerk webhooks
- install
- For Auth.js / NextAuth:
- configure providers (Google, GitHub, credentials)
- choose JWT or DB sessions
- protect API routes and pages
- For Supabase Auth:
- use
supabase.auth - configure OAuth providers
- configure magic links
- use
- For custom JWT:
- scaffold
/auth/register,/auth/login,/auth/refresh - hash passwords with bcrypt
- sign/verify JWTs (
joseorjsonwebtoken) - implement refresh-token rotation
- scaffold
- Implement RBAC middleware.
- Add CSRF protection and secure cookie flags (
HttpOnly,SameSite=Strict,Secure). - Output auth integration artifacts and
auth-report.json.
Execution
python skills/web-auth-integrator/scripts/auth_integrator.py --input <workspace> --output <out.json> --format json
References
references/tools.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?