---
name: "fiber-express-inspired-go"
description: "Build Express.js-style web applications in Go built on top of zero-allocation Fasthttp."
metadata:
  author: "Fiber"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "write go fiber router"
  - "c.bodyparser fiber"
  - "fiber rate limiter middleware"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Fiber Express-Inspired High-Speed Go Web Framework

Builds APIs with Fiber v2/v3: router syntax matching Express, built-in middleware (limiter, cors, compress), body parsing with c.BodyParser, route parameters, and achieving over 200k req/sec on single core.

## When to Invoke
Invoke this skill whenever you need to:
- write go fiber router
- c.bodyparser fiber
- fiber rate limiter middleware

## Execution SOP & Rules
1. Instantiate app: app := fiber.New(fiber.Config{ Prefork: false, CaseSensitive: true }).
2. Attach middleware: app.Use(cors.New(), limiter.New(limiter.Config{ Max: 100 })).
3. Define route: app.Get('/users/:id', func(c *fiber.Ctx) error { return c.JSON(user) }).
4. Parse body: if err := c.BodyParser(&user); err != nil { return c.Status(400).SendString(err.Error()) }.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
