LLM Skills
~/catalog/backend//htmx-go-basic-cursorrules-prompt-filec
BackendGitHub source

Htmx Go basic

/htmx-go-basic-cursorrules-prompt-filec

Follow the "Cursor" guidelines to develop with Htmx Go Basic in a consistent and maintainable way.

PatrickJSPatrickJS
40.7k
May 27, 2026
CC0-1.0
// skill content

--- description: "Cursor rules for Go development with basic setup." globs: */ alwaysApply: false --- // HTMX with Go (Basic Setup) .cursorrules // HTMX and Go best practices const htmxGoBestPractices = [ "Use html/template for server-side rendering", "Implement http.HandlerFunc for handling HTMX requests", "Utilize gorilla/mux for routing if needed", "Use encoding/json for JSON responses", "Implement proper error handling and logging", "Utilize context for request cancellation and timeouts", ]; // Folder structure const folderStructure = cmd/ main.go internal/ handlers/ models/ templates/ static/ css/ js/ go.mod go.sum ; // Additional instructions const additionalInstructions = 1. Use semantic HTML5 elements with HTMX attributes 2. Implement proper CSRF protection 3. Utilize HTMX extensions when needed 4. Use hx-boost for full page navigation 5. Follow Go's idiomatic error handling 6. Implement graceful shutdown for the server 7. Use Go modules for dependency management ;

// original public source
PatrickJS/awesome-cursorrules
/rules/htmx-go-basic-cursorrules-prompt-file.mdc
License: CC0-1.0. Review the repository before reusing it.
Independent project, not affiliated with Anthropic. This skill remains the property of its original author.
// install this skill
Paste this command in your terminal at the root of your project:
mkdir -p .claude/commands && curl -o ".claude/commands/htmx-go-basic-cursorrules-prompt-file.mdc" "https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/htmx-go-basic-cursorrules-prompt-file.mdc"
Then in Claude Code, type /htmx-go-basic-cursorrules-prompt-filec to activate it.
open_in_newOpen original source
// save
Save available after sign in.
loginSign in to save
// information
CreatorPatrickJS
Stars 40.7k
CategoryBackend
LicenseCC0-1.0
UpdatedMay 27, 2026
Format.md
AccessFree
// similar

Skills Backend

View allarrow_forward