Skip to content
Back to skills

Godev

ASecurity

FlexPrice Go fmt, vet, race tests, make test. Trigger: godev, run tests, go vet.

  • 6,875 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
toolsgobashapi

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add flexprice/flexprice --skill godev --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Godev?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Godev
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flexprice-godev/badge)](https://www.skillsdirectory.com/skills/flexprice-godev)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: godev
description: >-
  FlexPrice Go fmt, vet, race tests, make test. Trigger: godev, run tests, go vet.
---

# **`godev`** — Go dev loop

## Defaults

- Repo root: workspace with `go.mod` and `Makefile`.
- Prefer **`make`** targets when they exist; fall back to raw `go` commands.

## Quick commands (copy order)

```bash
gofmt -w .
go vet ./...
```

**Focused test (preferred during iteration):**

```bash
go test -v -race ./path/to/package -run TestSpecificName
```

**Full suite:**

```bash
make test
```

Other useful Makefile targets from project docs:

- `make test-verbose`
- `make test-coverage`
- Single-package stress: `go test -race ./internal/ee/service -run TestName`

## When changing code

1. Run **`gofmt -w`** on touched packages (or whole repo if unsure).
2. Run **`go vet ./...`** or at minimum `go vet` on affected packages.
3. Run **`go test -race`** for packages you edited plus immediate dependents.
4. If Ent schema changed: **`make generate-ent`** then tests + migrations workflow per **`AGENTS.md`**.
5. If only docs/spec: skip tests unless tooling requires otherwise.

## Anti-patterns

- Claiming tests pass without running them (`verification-before-completion` discipline).
- `go test` without `-race` on concurrency-sensitive packages (`internal/kafka`, `internal/pubsub`, services with goroutines).

## Related skills

- [`openapi`](../openapi/SKILL.md)
- [`arch`](../arch/SKILL.md)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.