← スキル一覧に戻る

jwt-verify
by Jawad-Chaudhary
The Evolution of Todo: A spec-driven, AI-native journey from a Python CLI to a Cloud-Native, Event-Driven AI Chatbot deployed on Kubernetes. Built with Claude Code, Spec-Kit Plus, Next.js, FastAPI, and Dapr.
⭐ 0🍴 0📅 2026年1月22日
SKILL.md
name: jwt-verify description: Implement JWT verification middleware in FastAPI for user auth. Use when securing APIs or handling tokens.
JWTVerify Instructions
Input: Request with Authorization header, shared secret. Output: Verified user claims or 401 error. Steps:
- Install dependencies if needed (jose, fastapi-security).
- Generate middleware code. Example Code: from fastapi import Depends, HTTPException from jose import JWTError, jwt from fastapi.security import HTTPBearer security = HTTPBearer() async def verify_jwt(token: str = Depends(security)): try: payload = jwt.decode(token.credentials, SECRET_KEY, algorithms=["HS256"]) return payload except JWTError: raise HTTPException(401, "Invalid token")
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です