Rule
0 installs · 0 said it worked
Cursor rules for building Go + Fiber apps with HTMX
Cursor rules guiding Go development with Fiber and HTMX: server-side rendering, routing HTMX requests, middleware, JSON responses, error handling, static assets, and project structure.
People use this for
- go fiber htmx cursor rules
- golang fiber server-side rendering
- htmx request routing in go
- fiber middleware setup for htmx apps
- how do i structure a go fiber htmx project
- Name
cursor-rules-for-building-go-fiber-apps-with-htmx- Works with
- Cursor
- License
- CC0(as observed at the source)
- Version
- v1 · updated Nov 29, 2026
Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Use this rule
$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-for-building-go-fiber-apps-with-htmx-8uk4/export/mdc" -o .cursor/rules/cursor-rules-for-building-go-fiber-apps-with-htmx.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save cursor-rules-for-building-go-fiber-apps-with-htmx.mdc as .cursor/rules/cursor-rules-for-building-go-fiber-apps-with-htmx.mdc for this project or ~/.cursor/rules/cursor-rules-for-building-go-fiber-apps-with-htmx.mdc for every project, then start a new session.
Rule
description: "Cursor rules for Go development with Fiber integration." globs: */ alwaysApply: false
// HTMX with Go and Fiber .cursorrules
// HTMX, Go, and Fiber best practices
const htmxGoFiberBestPractices = [ "Use Fiber's HTML rendering for server-side templates", "Implement Fiber's routing system for HTMX requests", "Utilize Fiber's middleware for request processing", "Use Fiber's JSON methods for API responses", "Implement proper error handling with Fiber's error handling", "Utilize Fiber's static file serving for assets", ];
// Folder structure
const folderStructure = cmd/ main.go internal/ handlers/ models/ templates/ static/ css/ js/ go.mod go.sum;
// Additional instructions
const additionalInstructions = `
- 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
- Implement proper logging with Fiber's Logger middleware
- Follow Fiber's best practices for project structure
- Use environment variables for configuration `;
No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.
Tried it
Reports from people who added this rule to their editor. They roll up into the badges above.
No one has filed a report yet. Try the prompt and be the first.
Related rules
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- Nginx config security review with fixes and checker script
Agent skill that reviews nginx configs for TLS, header, alias traversal, admin exposure and rate-limit problems, runs a stdlib checker, and returns a minimal route-preserving fixed config with reload and curl test steps.
Coding · @f
- Kubernetes container requests and limits rightsizing assistant
System-style skill that turns per-container CPU and memory usage percentiles into safer Kubernetes requests and limits, flags OOM, throttling and eviction risks first, estimates freed capacity, and plans a staged rollout via manifest patches.
Coding · @f
- Go backend coding spec for vertical domain modules using shanjunmei/dig
A system-prompt skill that makes the model act as a Go architect and generate or repair code with vertical domain modules, viper config loading, minimal naming, and a unified RegisterRoute handler method for shanjunmei/dig compile-time DI.
Coding · @shanjunmei
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.