本文へ移動
cccskills
無料GitHub で公開

web-auth-integrator

Integrate authentication and authorization flows with provider-specific setup and RBAC safeguards.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md1.5 KB
  • agents/openai.yaml294 B
  • references/tools.md447 B
  • scripts/auth_integrator.py6.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Web Auth Integrator

Objective

Implement authentication and authorization end-to-end based on project-config.json.

Required Workflow

  1. Read project-config.json and determine auth provider.
  2. For Clerk:
    • install @clerk/nextjs or @clerk/clerk-react
    • wrap app with ClerkProvider
    • protect routes with auth middleware
    • configure Clerk webhooks
  3. For Auth.js / NextAuth:
    • configure providers (Google, GitHub, credentials)
    • choose JWT or DB sessions
    • protect API routes and pages
  4. For Supabase Auth:
    • use supabase.auth
    • configure OAuth providers
    • configure magic links
  5. For custom JWT:
    • scaffold /auth/register, /auth/login, /auth/refresh
    • hash passwords with bcrypt
    • sign/verify JWTs (jose or jsonwebtoken)
    • implement refresh-token rotation
  6. Implement RBAC middleware.
  7. Add CSRF protection and secure cookie flags (HttpOnly, SameSite=Strict, Secure).
  8. 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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Scaffold MCP server projects and baseline tool contract checks. Use for defining tool schemas, generating starter server layouts, and validating MCP-ready structure.

日本語の概要は準備中です。原文の説明を表示しています。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Generate reusable multi-step agent workflow blueprints. Use for trigger/action orchestration, deterministic workflow definitions, and automation handoff artifacts.

日本語の概要は準備中です。原文の説明を表示しています。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Build incident response timelines and report packs from event logs. Use for detection-to-recovery reporting, phase tracking, and stakeholder-ready incident summaries.

日本語の概要は準備中です。原文の説明を表示しています。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Prioritize vulnerability remediation using KEV-style exploitation context plus asset criticality. Use for CVE triage, patch order decisions, and remediation reporting.

日本語の概要は準備中です。原文の説明を表示しています。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Map application security findings to OWASP Top 10 categories and generate remediation checklists. Use for normalized AppSec review outputs and category-level prioritization.

日本語の概要は準備中です。原文の説明を表示しています。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

Build transformer fine-tuning run plans with task settings, hyperparameters, and model-card outputs. Use for repeatable Hugging Face or PyTorch finetuning workflows.

日本語の概要は準備中です。原文の説明を表示しています。

0x-Professor/Agent-Skills-Hub112026年2月27日 更新

0x-Professor のスキルをすべて見る

このスキルの問題を報告する