Agent Skills: zuplo

>

UncategorizedID: poletron/custom-rules/zuplo

Install this agent skill to your local

pnpm dlx add-skill https://github.com/odjaramillo/custom-rules/tree/HEAD/registry/skills/zuplo

Skill Files

Browse the full folder contents for zuplo.

Download Skill

Loading file tree…

registry/skills/zuplo/SKILL.md

Skill Metadata

Name
zuplo
Description
>

Critical Patterns

Route Configuration (REQUIRED)

{
  "routes": [
    {
      "path": "/api/users",
      "methods": ["GET", "POST"],
      "handler": {
        "module": "$import(@zuplo/runtime)",
        "export": "urlRewriteHandler",
        "options": {
          "rewritePattern": "https://api.example.com/users"
        }
      },
      "policies": {
        "inbound": ["rate-limit", "api-key-auth"]
      }
    }
  ]
}

API Key Auth (REQUIRED)

// ✅ ALWAYS: Use built-in API key authentication
export default {
  policies: {
    inbound: [
      {
        name: 'api-key-auth',
        policyType: 'api-key-inbound',
        handler: {
          export: 'ApiKeyInboundPolicy',
          module: '$import(@zuplo/runtime)',
        },
      },
    ],
  },
};

Decision Tree

Need auth?                 → Use api-key-inbound policy
Need rate limiting?        → Use rate-limit policy
Need caching?              → Use cache policy
Need transforms?           → Use custom policy handler
Need monitoring?           → Enable analytics

Resources