Communitygithub.com

sickn33/api-security-best-practices

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

api-security-best-practices とは?

このスキルは、セキュアなAPI設計パターンを実装するための包括的なガイドを提供します。認証、認可、入力検証、レート制限、そして一般的なAPI脆弱性(インジェクション、クロスサイトスクリプティング、安全でない直接オブジェクト参照など)からの保護に焦点を当てています。主にClaude CodeなどのAIエージェント環境で利用することを想定しており、開発者がAPIエンドポイントを設計・実装する際に、セキュリティのベストプラクティスを自動的に適用できるように支援します。このスキルは、セキュリティの専門知識がなくても安全なAPIを構築できるように、具体的なコード例と設定ガイドラインを提供します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/api-security-best-practices

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

api-security-best-practices は何をしますか?

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

概要

このスキルは、セキュアなAPI設計パターンを実装するための包括的なガイドを提供します。認証、認可、入力検証、レート制限、そして一般的なAPI脆弱性(インジェクション、クロスサイトスクリプティング、安全でない直接オブジェクト参照など)からの保護に焦点を当てています。

目的

  • セキュアなAPI設計パターンを理解し、実装する
  • 共通のAPI脆弱性から保護する
  • 認証と認可のメカニズムを適切に設定する
  • 入力検証と出力エンコーディングを実装する
  • レート制限とスロットリングを適用する

サポートプラットフォーム

このスキルは以下のAIエージェント環境で使用できます:

  • Claude Code
  • Cursor
  • Codex
  • その他のAIエージェント

使用方法

  1. スキルをAIエージェントの設定に追加します。
  2. APIエンドポイントを設計または実装する際に、このスキルが自動的にセキュリティのベストプラクティスを提案します。
  3. 提供されるコード例と設定ガイドラインに従って、安全なAPIを構築します。

注意事項

  • このスキルは一般的なベストプラクティスを提供します。特定のプロジェクト要件に合わせて調整が必要な場合があります。
  • 常に最新のセキュリティアップデートとパッチを適用してください。
  • 本番環境にデプロイする前に、セキュリティテストを実施してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

sickn33/3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

sickn33/agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

sickn33/agent-memory-systems

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them.

sickn33/ai-agents-architect

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

sickn33/api-documentation-generator

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

sickn33/api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

sickn33/app-store-optimization

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

sickn33/architecture

Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.

sickn33/audio-transcriber

Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration

sickn33/aws-serverless

Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.

sickn33/backend-architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems.

sickn33/backend-dev-guidelines

You are a senior backend engineer operating production-grade services under strict architectural and reliability constraints. Use when routes, controllers, services, repositories, express middleware, or prisma database access.

sickn33/bash-linux

Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

sickn33/bash-scripting

Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.

sickn33/brainstorming

Use before creative or constructive work (features, architecture, behavior). Transforms vague ideas into validated designs through disciplined reasoning and collaboration.

sickn33/browser-automation

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns.

sickn33/browser-extension-builder

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing.

sickn33/bullmq-specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications.

sickn33/bun-development

Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun).

sickn33/cc-skill-security-review

This skill ensures all code follows security best practices and identifies potential vulnerabilities. Use when implementing authentication or authorization, handling user input or file uploads, or creating new API endpoints.

関連スキル