a6-plugin-proxy-rewrite

Community

Rewrite APISIX requests on the fly.

Authormoonming
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the process of modifying incoming request attributes like URI, host, method, and headers before they are forwarded to your backend services, enabling flexible traffic management and backend integration.

Core Features & Use Cases

  • URI Rewriting: Dynamically change request paths, including prefix stripping and complex regex transformations.
  • Header Manipulation: Add, set, or remove request headers to control backend behavior or pass information.
  • Method & Scheme Changes: Alter the HTTP method or scheme for compatibility with backend services.
  • Use Case: You need to route traffic from /api/v1/* to a backend service that expects /v2/*, while also adding a custom X-API-Version: v2 header.

Quick Start

Configure the proxy-rewrite plugin on a new route to strip the '/api/v1' prefix and rewrite the URI to '/users'.

Dependency Matrix

Required Modules

None required

Components

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: a6-plugin-proxy-rewrite
Download link: https://github.com/moonming/a6/archive/main.zip#a6-plugin-proxy-rewrite

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.