// HTMX with Go and Fiber .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-htmx-go-fiberProvides basic best practices and folder structure but lacks actionable instructions or trigger conditions
1// HTMX with Go and Fiber .cursorrules23// HTMX, Go, and Fiber best practices45const htmxGoFiberBestPractices = [6 "Use Fiber's HTML rendering for server-side templates",7 "Implement Fiber's routing system for HTMX requests",8 "Utilize Fiber's middleware for request processing",9 "Use Fiber's JSON methods for API responses",10 "Implement proper error handling with Fiber's error handling",11 "Utilize Fiber's static file serving for assets",12];1314// Folder structure1516const folderStructure = `17cmd/18 main.go19internal/20 handlers/21 models/22 templates/23static/24 css/25 js/26go.mod27go.sum28`;2930// Additional instructions3132const additionalInstructions = `331. Use Fiber's App.Get/Post/etc for routing HTMX requests342. Implement CSRF protection with Fiber middleware353. Utilize Fiber's Context for handling HTMX-specific headers364. Use Fiber's template engine for server-side rendering375. Implement proper logging with Fiber's Logger middleware386. Follow Fiber's best practices for project structure397. Use environment variables for configuration40`;4142
Full transparency — inspect the skill content before installing.