/goldr-app:goldr-appfrom goldr-app
Creates, bootstraps, edits, debugs, reviews, or extends applications using the Goldr Go web framework. Handles routes, layouts, pages, fragments, actions, templ templates, HTMX, forms, CSRF, assets, SSE, and local dev workflows.
Ships in goldr-app. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill inside downstream application repositories that use Goldr, or when adding Goldr to an application.
Goldr is server-first, HTML-first, HTMX-native, filesystem-routed, and Go-native. Keep application behavior explicit and inspectable. Do not introduce SPA routing, hydration, virtual DOM, framework-owned browser state, hidden client synchronization, or a second routing system.
This package is self-contained. Do not assume the target project has Goldr's repository, Goldr's repository docs, or network access available. Do not clone or edit the Goldr framework repository while working in a downstream app unless the user explicitly asks for framework development.
github.com/mobiletoly/goldr: route declarations, Kit-backed route
declarations, route responses, pages, fragments, layouts, generated handler
options, template inspection, and HTML writing helpers.github.com/mobiletoly/goldr/hx: HTMX request checks and response headers.github.com/mobiletoly/goldr/csrf: signed-cookie CSRF token helpers.github.com/mobiletoly/goldr/browser: optional browser helper scripts.github.com/mobiletoly/goldr/sse: server-sent event wire helpers.github.com/mobiletoly/goldr/content: optional trusted first-party HTML and
Markdown pages loaded from an fs.FS on router miss.references/project-setup.md before editing.app/routes under the app rootapp/mounts when routes use goldr.KitRouteMountgo tool goldr routes list when
refactoring routes.go files.templ filesgo tool goldr routes list again after generation
to check that paths and generated helper names match the intended ownership.Common commands, when the app does not provide wrapper scripts:
go tool goldr generate
go tool goldr check
go tool goldr routes list
go test ./...
Prefer project-specific commands when the application defines them.
Load only the references needed for the current request:
references/project-setup.md.references/routes.md.references/navigation.md.references/shared-kit-routes.md.hx headers, or
embedded fragment wrappers: read references/htmx-fragments-actions.md.references/forms-csrf-dependencies.md.goldr dev, browser helpers, or SSE streams: read
references/assets-dev-sse.md.references/content-pages.md.references/template-inspection.md.references/validation.md.hx-* attributes visible in .templ files.internal packages or Kit routes only for real shared
implementation reuse across sibling routes or route trees.route.go.route.go.app/mounts only for non-live Kit route subtrees mounted by real
app/routes owners. Do not put app policy middleware in app/mounts.KitRouteMount.Routes when a live owner exposes only part of a mounted
subtree. Excluded children must be absent routes, not middleware-only
rejections. A child-only selection still has an owner mount-base URL helper
for binding NewGoldrMountURLs; the mount root does not dispatch unless /
is selected.urls.WithBasePath(...) once when the app is
served below a URL prefix, and pass the mounted route set through app-owned
helpers instead of rebuilding prefixed strings.reports.NewGoldrMountURLs(urls.Admin.Reports). Do not pass a raw path
string. Mount helpers include mounted source routes; check app-owned owner
state before rendering links to children that only some owners select.kit.URLs.ResetPassword.Path(). Do not pass separate raw URL strings for
same-mount child routes; use owner callbacks only for destinations outside
the mounted subtree or routes with no generated helper.hx.PushURL(w, urls.Users.Path()), unless the target is intentionally
external or not represented by Goldr routes.goldr_gen.go, *_templ.go, asset manifests, or
generated URL helpers by hand.content.Check as an HTML safety check.Treat these as generated output:
app/routes/goldr_gen.go
app/routes/**/goldr_gen.go
app/urls/goldr_gen.go
app/mounts/<mount>/goldr_gen.go
app/internal/goldrinspect/goldr_gen.go
**/*_templ.go
assets/goldr_assets_gen.go
assets/dist/*
assets/.goldr/*
If generated files are stale, run the appropriate generator instead of editing them directly.
Stop and inspect before continuing when:
app/routes where expectedPrefer a narrow, source-grounded app fix over broad rewrites.
agents/openai.yaml (opens in a new tab)references/assets-dev-sse.md (opens in a new tab)references/content-pages.md (opens in a new tab)references/forms-csrf-dependencies.md (opens in a new tab)references/htmx-fragments-actions.md (opens in a new tab)references/navigation.md (opens in a new tab)references/project-setup.md (opens in a new tab)references/routes.md (opens in a new tab)references/shared-kit-routes.md (opens in a new tab)references/template-inspection.md (opens in a new tab)references/validation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
goldr, go-web-framework, htmx, server-first, filesystem-routing
npx claudepluginhub mobiletoly/goldr --plugin goldr-appOther plugins' skills for the same job