BMAD-METHOD/.claude/rules/htmx-go-fiber-cursorrules-p.../fiber-routing-and-csrf-prot...

8 lines
391 B
Plaintext

---
description: Focuses on routing, CSRF protection, context handling, and template usage within the internal handlers directory.
globs: internal/handlers/**/*.go
---
- Use Fiber's App.Get/Post/etc for routing HTMX requests
- Implement CSRF protection with Fiber middleware
- Utilize Fiber's Context for handling HTMX-specific headers
- Use Fiber's template engine for server-side rendering