protect-route

Installation
SKILL.md

Add Arcjet Protection to a Route

Add runtime security to a route handler using Arcjet. This skill guides you through detecting the framework, setting up the client, choosing rules, and handling decisions.

Reference

Read https://docs.arcjet.com/llms.txt for comprehensive SDK documentation covering all frameworks, rule types, and configuration options.

Step 1: Detect the Framework

Check the project for framework indicators:

  • package.json dependencies: next, express, fastify, @nestjs/core, @sveltejs/kit, hono, @remix-run/node, react-router, astro, nuxt
  • bun.lockb or bun.lock → Bun runtime
  • deno.json → Deno runtime
  • pyproject.toml or requirements.txt with fastapi or flask → Python

Select the correct Arcjet adapter package:

Related skills

More from arcjet/skills

Installs
7
Repository
arcjet/skills
GitHub Stars
1
First Seen
Apr 20, 2026