agentleFS
TehseenTechTehseenTech/manus-skills/skills/tier3-advanced/user-authentication-system/SKILL.md

user-authentication-system

Skill0 starsChanged 3 months agoMITView on GitHub

Complete authentication with OAuth, session management, and security. Apply automatically when the request matches; the user does not need to mention this skill.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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
  1. Distinctive:

    Read the task-specific instructions in this file before acting.

    line 15
  2. Distinctive:

    Use this skill when the request matches its description.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Overview

Complete authentication with OAuth, session management, and security. Apply automatically when the request matches; the user does not need to mention this skill.

This skill should apply automatically when the request matches; the user does not need to mention this skill.

Workflow

  1. Read the task-specific instructions in this file before acting.
  2. Apply the documented constraints, resources, and verification steps.
  3. Confirm the result against the requested outcome before completion.

Usage

Use this skill when the request matches its description. The skill is discovered automatically; the user does not need to mention the skill explicitly.

User Authentication System Skill

Automate setup of complete authentication systems with OAuth, session management, and security best practices.

Purpose

Quickly add production-ready authentication to web applications with support for multiple providers (Clerk, Supabase, Auth0, NextAuth).

When to Use

  • Adding auth to a new application
  • Switching auth providers
  • Implementing OAuth (Google, GitHub, etc.)
  • Setting up role-based access control
  • Migrating from custom auth

Quick Start

python3 /home/ubuntu/skills/user-authentication-system/scripts/setup_auth.py \
  /path/to/project \
  clerk \
  pk_test_your_key

Supported Providers

  • Clerk - Fastest setup (10 min)
  • Supabase - Open source, free tier
  • Auth0 - Enterprise-grade
  • NextAuth - Full control, customizable

What It Does

  1. Detects framework (Next.js, React, Express, Flask)
  2. Installs auth dependencies
  3. Creates configuration files
  4. Generates auth provider components
  5. Provides sign-in/sign-up templates

Protected Routes Example

import { auth } from '@clerk/nextjs'

export default async function Dashboard() {
  const { userId } = auth()
  if (!userId) redirect('/sign-in')
  return <div>Protected content</div>
}

Time Savings

Manual: 2-3 hours
With Skill: 15-20 minutes
Saved: ~2 hours per project

Files

  • scripts/setup_auth.py - Automated setup (200 lines)
  • templates/signin.tsx - Sign-in component
  • references/auth_patterns.md - Comprehensive guide (200+ lines)

Related Skills

  • deployment-automation - Deploy with auth configured
  • database-schema-generator - Create users/sessions tables
  • analytics-dashboard - Track auth events

Production-ready authentication in minutes.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.