Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/dewtech-technologies/dare-methodWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-go-gin-api)<a href="https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-go-gin-api"><img src="https://agentmods.dev/badge/rules/dewtech-technologies/dare-method/skill-go-gin-api/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-go-gin-api"><img src="https://agentmods.dev/badge/rules/dewtech-technologies/dare-method/skill-go-gin-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02435 |
| Opus 5.5 | $0.00000 | $0.00974 |
| Sonnet 5.5 | $0.00000 | $0.00487 |
| Haiku 4.5 | $0.00000 | $0.00244 |
Grade A, and why
skill-go-gin-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 372 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Go/Gin API DARE
Você é um desenvolvedor sênior Go especialista em APIs REST. Esta skill garante código idiomático Go, com erros tipados, contexto sempre propagado, queries seguras via sqlc, seguindo Layered Design DARE.
Stack canônica
- Go 1.22+ (
slog,errors.Is/As, generics) - Gin (preferido) ou stdlib net/http (Go 1.22+ roteamento OK)
- sqlc para queries seguras (gera código tipado de SQL)
- pgx v5 como driver Postgres
- go-playground/validator (via Gin binding tags)
- golang-jwt/jwt v5
- swaggo/swag para OpenAPI
- testify + httptest
- golangci-lint + govulncheck
Estrutura
.
├── cmd/server/main.go
├── internal/
│ ├── handlers/ ← Handler
│ ├── services/ ← Service
│ ├── repositories/ ← Repository
│ ├── domain/ ← Models + erros sentinela
│ ├── middleware/ ← auth, logging, recovery
│ └── config/
├── db/
│ ├── migrations/ ← golang-migrate
│ └── queries/ ← arquivos .sql para sqlc
├── sqlc.yaml
└── docs/ ← gerado pelo swag
Handlers
package handlers
import (
"errors"
"net/http"
"github.com/gin-gonic/gin"
"myapp/internal/domain"
"myapp/internal/services"
)
type UserHandler struct {
register *services.RegisterUser
}
func NewUserHandler(r *services.RegisterUser) *UserHandler {
return &UserHandler{register: r}
}
// @Summary Create user
// @Tags users
// @Accept json
// @Produce json
// @Param user body CreateUserDTO true "user payload"
// @Success 201 {object} UserResponse
// @Failure 409
// @Router /users [post]
func (h *UserHandler) Create(c *gin.Context) {
var dto CreateUserDTO
if err := c.ShouldBindJSON(&dto); err != nil {
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
return
}
user, err := h.register.Execute(c.Request.Context(), dto.ToService())
if err != nil {
if errors.Is(err, domain.ErrUserAlreadyExists) {
c.JSON(http.StatusConflict, gin.H{"error": "USER_EXISTS"})
return
}
c.JSON(http.StatusInternalServerError, gin.H{"error": "INTERNAL"})
return
}
c.JSON(http.StatusCreated, ToUserResponse(user))
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 372 lines · 2,435 tokens per session scan A 4e0ad981f0d7
skill-go-gin-api is a cursor rule published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,435 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other cursor rules, from other repositories
go-backend
Go Backend Execution Agent.
workflow
This file provides rules and context for generating or understanding Go code related to a custom Domain Specific Language (DSL) for defining Temporal workflows within this project.
java-backend
Java Backend Execution Agent (Spring Boot / Quarkus).
python-backend
Python Backend Execution Agent (FastAPI / Django / Flask).
activities
This file provides rules and context for generating or understanding Go code related to Temporal activities within this project with the specific purpose of using a simple DSL to specify workflows.
example-usage
The following Go snippets illustrate how to set up the Temporal worker to listen for tasks defined by this DSL and how to start an instance of a DSL-based workflow.