Cursor rule
.cursor/rules/go-standards.mdcGo style and conventions for Neptune
Cursor rules
Quality
35/100
Scores the file, not the repository.Length
100 words
1 headings · 0 code blocksRepository
3
— · pushed 1 days agoLast changed
3 days ago
First indexed 3 days ago.1234567# Go Standards89- **Format**: Use `gofmt -s`. Run `make check-fmt` before committing. Use `git commit -s` for DCO sign-off (see [CONTRIBUTING.md](CONTRIBUTING.md)).10- **Lint**: Follow `.golangci.yml`; do not introduce new linter violations. Run `make lint` when available.11- **Packages**: Code in `internal/` must not be imported from outside this module.12- **Errors**: Always handle errors; add context with `fmt.Errorf("...: %w", err)` where useful.13- **Tests**: Place `*_test.go` in the same package as the code. Use table-driven tests when testing multiple cases.14- **Exports**: Public functions and types must have doc comments starting with the name (e.g. `// NewClient creates ...`).15
Also in devopsfactory-io/neptune
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| devopsfactory-io/neptune.cursor/rules/ci-and-release.mdc · 3 | Cursor rules | deployment | 45/100 | 3 days ago | |
| devopsfactory-io/neptune.cursor/rules/commits-dco.mdc · 3 | Cursor rules | gitdo-not | 38/100 | 3 days ago | |
| devopsfactory-io/neptune.cursor/rules/config-and-yaml.mdc · 3 | Cursor rules | no sections | 16/100 | 3 days ago | |
| devopsfactory-io/neptune.cursor/rules/docs-and-ai-context.mdc · 3 | Cursor rules | docs | 16/100 | 3 days ago | |
| devopsfactory-io/neptune.cursor/rules/issue-creation.mdc · 3 | Cursor rules | no sections | 24/100 | 3 days ago | |
| devopsfactory-io/neptuneAGENTS.md · 3 | AGENTS.md | setupbuildtestlint-format+5 | 81/100 | 3 days ago | |
| devopsfactory-io/neptuneCLAUDE.md · 3 | CLAUDE.md | lint-formatstyletypestesting-strategy+5 | 89/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49 | Cursor rules | setupbuildteststyle+4 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago |
