adonisjs-routing
CommunityOrganize AdonisJS routes with guards and RBAC.
Authoromakei
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AdonisJS routing, middleware, and permission patterns are essential for building scalable, secure web APIs. This skill provides a cohesive guide to organize routes, apply middleware stacks, and enforce authorization using Bouncer policies and route-level guards across large apps.
Core Features & Use Cases
- Route definition patterns: get, post, put, delete, and resource routes with grouped patterns for consistency.
- Route groups and versioning: nest routes under prefixes and API version groups with shared middleware.
- Middleware patterns: server, router, and named middleware to compose stable request handling and guards.
- Permission patterns: Bouncer abilities, policies, and route-level can middleware to enforce per-user access.
- Project organization: directory structure guidance and testing strategies for route security.
- Reference implementations: shows concrete TypeScript examples and testing patterns.
Quick Start
Define routes using router methods, apply middleware, and enforce permissions with Bouncer in your project.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adonisjs-routing Download link: https://github.com/omakei/adonisjs-architecture-skill/archive/main.zip#adonisjs-routing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.