← スキル一覧に戻る

auth-builder
by Rehan-Ul-Haq
⭐ 9🍴 2📅 2026年1月8日
SKILL.md
name: auth-builder description: Guide for adding authentication to web applications. This skill should be used when users want to implement login, signup, or access control.
Auth Builder
Add authentication to web applications.
When to Use
Use when a user asks to:
- Add login/signup
- Implement authentication
- Secure an application
How to Add Authentication
Step 1: Choose Method
- JWT tokens
- Session-based
- OAuth providers
Step 2: Create User Model
const userSchema = {
email: String,
password: String, // hashed
};
Step 3: Implement Signup
Hash password and store user.
Step 4: Implement Login
Verify credentials and issue token/session.
Step 5: Protect Routes
Add middleware to check authentication.
const authMiddleware = (req, res, next) => {
const token = req.headers.authorization;
if (!token) return res.status(401).send('Unauthorized');
// verify token
next();
};
Output
- User model
- Auth routes (signup, login, logout)
- Auth middleware
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です