// HTMX with Go (Basic Setup) .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-htmx-go-basicProvides basic setup guidance for HTMX+Go projects but lacks actionable agent instructions
// 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 = `
Install via CLI
npx mdskills install PatrickJS/cursor-htmx-go-basicHTMX Go Basic is a free, open-source AI agent skill. // HTMX with Go (Basic Setup) .cursorrules
Install HTMX Go Basic with a single command:
npx mdskills install PatrickJS/cursor-htmx-go-basicThis downloads the skill files into your project and your AI agent picks them up automatically.
HTMX Go Basic works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.