·api-security-best-practices
!

api-security-best-practices

poletron/custom-rules

認証、認可、入力検証、レート制限、一般的な API 脆弱性に対する保護など、安全な API 設計パターンを実装します。

3インストール·0トレンド·@poletron

インストール

$npx skills add https://github.com/poletron/custom-rules --skill api-security-best-practices

SKILL.md

Guide developers in building secure APIs by implementing authentication, authorization, input validation, rate limiting, and protection against common vulnerabilities. This skill covers security patterns for REST, GraphQL, and WebSocket APIs.

Problem: JWT Secret Exposed in Code Symptoms: JWT secret hardcoded or committed to Git Solution: \\\`javascript // ❌ Bad const JWTSECRET = 'my-secret-key';

// ✅ Good const JWTSECRET = process.env.JWTSECRET; if (!JWTSECRET) { throw new Error('JWTSECRET environment variable is required'); }

認証、認可、入力検証、レート制限、一般的な API 脆弱性に対する保護など、安全な API 設計パターンを実装します。 ソース: poletron/custom-rules。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/poletron/custom-rules --skill api-security-best-practices
カテゴリ
!セキュリティ
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

api-security-best-practices とは?

認証、認可、入力検証、レート制限、一般的な API 脆弱性に対する保護など、安全な API 設計パターンを実装します。 ソース: poletron/custom-rules。

api-security-best-practices のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/poletron/custom-rules --skill api-security-best-practices インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/poletron/custom-rules